Description
PR #64 bumps zizmorcore/zizmor-action from v0.5.3 to v0.5.6, which changes the bundled Zizmor engine from 1.24.1 to 1.25.2. The Workflow Security Analysis check now fails.
There are two problems to address:
- Zizmor's online
impostor-commit audit aborts while scanning .github/workflows/publish-pypi.yml:
'impostor-commit' audit failed
couldn't list tags for astral-sh/setup-uv
HTTP status client error (401 Unauthorized)
- Running
zizmor 1.25.2 locally exposes a new high-severity github-app finding in .github/workflows/tag-release.yml. The actions/create-github-app-token step currently mints an installation token without explicit permission narrowing, so Zizmor reports that the token inherits broad installation permissions.
Why this matters: the repo uses Zizmor as the workflow security gate. Until these findings are handled, Dependabot's Zizmor action update cannot merge cleanly, and the release workflow has a real least-privilege issue around the GitHub App token used for Git Data API writes.
Acceptance Criteria
Description
PR #64 bumps
zizmorcore/zizmor-actionfromv0.5.3tov0.5.6, which changes the bundled Zizmor engine from1.24.1to1.25.2. TheWorkflow Security Analysischeck now fails.There are two problems to address:
impostor-commitaudit aborts while scanning.github/workflows/publish-pypi.yml:zizmor 1.25.2locally exposes a new high-severitygithub-appfinding in.github/workflows/tag-release.yml. Theactions/create-github-app-tokenstep currently mints an installation token without explicit permission narrowing, so Zizmor reports that the token inherits broad installation permissions.Why this matters: the repo uses Zizmor as the workflow security gate. Until these findings are handled, Dependabot's Zizmor action update cannot merge cleanly, and the release workflow has a real least-privilege issue around the GitHub App token used for Git Data API writes.
Acceptance Criteria
tag-release.ymlconstrains the GitHub App token permissions to the minimum required for checkout and Git Data API commit/tag writes, expected to includepermission-contents: write.zizmor . --min-severity medium --min-confidence medium --no-progress --color never --no-online-auditsno longer reports thegithub-appfinding.Workflow Security Analysischeck no longer fails on theimpostor-commit401 Unauthorizederror.security.yml, either by pinning the Zizmor engine version temporarily or disabling online audits with a comment explaining the tradeoff.bats,inline-sync,lint-workflow-call, andWorkflow Security Analysis.