You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Harden GitHub Actions workflows against expression injection and secret leakage
- Replace direct ${{ inputs.* }} interpolation in run: blocks with env: vars
to prevent shell injection (goBuild, goTest, goLint, govulncheck, codeql, goreleaser)
- Replace secrets: inherit with explicit per-workflow secret forwarding in goCI.yml
- Remove unnecessary secrets: inherit from actionlint call in ci.yml
- Add least-privilege permissions: block to triage.yml reusable workflow
- Move permissions from workflow-level to job-level in dependabot-auto-merge.yml
Ref: https://www.stepsecurity.io/blog/hackerbot-claw-github-actions-exploitation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments