fix: prevent GitHub Actions injection in CI issue reporter #197

Merged
jmiller merged 2 commits from fix/ci-workflow-injection into dev 2026-06-28 16:29:11 +00:00
Owner

Summary\n\n- Pass ${{ inputs.* }} values via env: block instead of interpolating directly in run: blocks\n- Prevents potential command injection through crafted workflow input strings\n- Also moved MOKOGITEA_URL to env block in Clone step for consistency\n\n## Test plan\n\n- [ ] CI issue reporter workflow still creates issues on gate failure\n- [ ] Input values with special characters are handled safely

## Summary\n\n- Pass `${{ inputs.* }}` values via `env:` block instead of interpolating directly in `run:` blocks\n- Prevents potential command injection through crafted workflow input strings\n- Also moved MOKOGITEA_URL to env block in Clone step for consistency\n\n## Test plan\n\n- [ ] CI issue reporter workflow still creates issues on gate failure\n- [ ] Input values with special characters are handled safely
jmiller added 1 commit 2026-06-28 16:29:01 +00:00
fix: pass workflow inputs via env block to prevent injection
Universal: PR Check / Branch Policy (pull_request) Successful in 1s
Universal: PR Check / Validate PR (pull_request) Failing after 4s
Universal: PR Check / Secret Scan (pull_request) Successful in 7s
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Failing after 10s
Joomla: Metadata Validation / Validate Joomla Metadata (pull_request) Successful in 27s
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
Universal: PR Check / Report Issues (pull_request) Has been cancelled
b907b778c0
Authored-by: Moko Consulting
jmiller force-pushed fix/ci-workflow-injection from 496dbc1c37 to b907b778c0 2026-06-28 16:29:01 +00:00 Compare
jmiller merged commit 1c15497c32 into dev 2026-06-28 16:29:11 +00:00
jmiller deleted branch fix/ci-workflow-injection 2026-06-28 16:29:11 +00:00
Sign in to join this conversation.
No Reviewers
No labels
Priority -
Type -
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoSuiteCross#197