Skip to content

Fix shell injection in GitHub Actions workflows#2

Merged
persimmon16 merged 1 commit intofeat/apple-containerfrom
security/ci-hardening
Apr 1, 2026
Merged

Fix shell injection in GitHub Actions workflows#2
persimmon16 merged 1 commit intofeat/apple-containerfrom
security/ci-hardening

Conversation

@persimmon16
Copy link
Copy Markdown
Owner

Summary

  • F16: Move ${{ }} expressions from run: blocks to env: blocks across all CI workflows to prevent shell metacharacter injection via crafted PR titles, branch names, or workflow inputs

Affected workflows: docker-build.yml, e2e-test.yml, release-canary.yml

Test plan

  • CI workflows pass on this branch
  • No ${{ }} expressions remain in run: blocks (except steps.*.outputs.* which are safe)

@persimmon16 persimmon16 force-pushed the security/ci-hardening branch from d2641a2 to cb6a5a1 Compare April 1, 2026 03:14
@persimmon16 persimmon16 merged commit ba9eb8e into feat/apple-container Apr 1, 2026
4 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant