Skip to content

fix(ci): resolve new zizmor findings#217

Merged
jpr5 merged 1 commit into
mainfrom
fix/zizmor-new-findings
May 15, 2026
Merged

fix(ci): resolve new zizmor findings#217
jpr5 merged 1 commit into
mainfrom
fix/zizmor-new-findings

Conversation

@jpr5
Copy link
Copy Markdown
Contributor

@jpr5 jpr5 commented May 15, 2026

zizmor v1.25.0 (bumped by Dependabot) now flags ${{ inputs.* }} expressions used directly in run: blocks of composite actions as template-injection risks (attacker-controllable code expansion).

Fix: Move all ${{ inputs.* }} references in action.yml to env: blocks and reference them as shell variables (${VAR}) in the run: scripts. This is the standard mitigation — environment variables are not subject to expression-context injection.

Affected lines: 46, 52, 55-59, 61-64, 73-74, 80 (17 findings total, all resolved).

zizmor v1.25.0 flags direct use of ${{ inputs.* }} in run: blocks
as template-injection risks. Move all input references to env: blocks
and reference them as shell variables instead.
@jpr5 jpr5 merged commit 8836370 into main May 15, 2026
11 of 12 checks passed
@jpr5 jpr5 deleted the fix/zizmor-new-findings branch May 15, 2026 18:46
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