Skip to content

fix(ci): finish shell-injection removal + re-enable semgrep --error#11

Merged
ralyodio merged 1 commit into
masterfrom
fix/workflow-shell-injection-2
May 30, 2026
Merged

fix(ci): finish shell-injection removal + re-enable semgrep --error#11
ralyodio merged 1 commit into
masterfrom
fix/workflow-shell-injection-2

Conversation

@ralyodio
Copy link
Copy Markdown
Contributor

Completes #10. The Chocolatey job steps and both Summary steps in submit-packages.yml still interpolated github.event.inputs.* directly in run: blocks; moved all into step-level env: vars referenced as quoted shell variables. Restored --error on semgrep so real findings block CI again.

🤖 Generated with Claude Code

…e semgrep --error

Completes #10: the Chocolatey job's Determine version / Submit / Summary
steps and both Linux/Chocolatey Summary steps still interpolated
github.event.inputs.* directly in run: blocks. Move them all into
step-level env: vars referenced as quoted shell variables, and restore
--error on semgrep so findings block CI.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ralyodio ralyodio merged commit 5b6ea5f into master May 30, 2026
@ralyodio ralyodio deleted the fix/workflow-shell-injection-2 branch May 30, 2026 12:47
ralyodio added a commit that referenced this pull request May 30, 2026
- Replace the final 'USER root' + RUN chmod with 'COPY --chmod=755', so the
  container no longer ends as root (semgrep dockerfile.security.last-user-is-root,
  the last ERROR finding blocking the Security workflow after #11 restored --error).
- Add .claude/ to .gitignore so local Claude config (which has held tokens) is
  never committed again.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
ralyodio added a commit that referenced this pull request May 30, 2026
…e semgrep --error (#11)

Completes #10: the Chocolatey job's Determine version / Submit / Summary
steps and both Linux/Chocolatey Summary steps still interpolated
github.event.inputs.* directly in run: blocks. Move them all into
step-level env: vars referenced as quoted shell variables, and restore
--error on semgrep so findings block CI.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
ralyodio added a commit that referenced this pull request May 30, 2026
- Replace the final 'USER root' + RUN chmod with 'COPY --chmod=755', so the
  container no longer ends as root (semgrep dockerfile.security.last-user-is-root,
  the last ERROR finding blocking the Security workflow after #11 restored --error).
- Add .claude/ to .gitignore so local Claude config (which has held tokens) is
  never committed again.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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