Audit GitHub Actions workflows
Enter a public repository or paste a workflow. zizmor, poutine and actionlint read it, the report explains each finding in plain terms, and one patch pins every action to its commit. See an example report.
Every action pinned in one patch
A tag like v4 points wherever the action's owner moves it. The fix replaces each one with the commit it points to today, looked up in the action's own repository, and keeps the version as a comment so Dependabot and Renovate can update it.
- - uses: actions/checkout@v4+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0- - uses: actions/setup-node@v4+ - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
What the audit looks for
- Untrusted input in scriptsA pull request title, branch name or comment expanded into a
run:script. - Pull request code with secrets
pull_request_targetorworkflow_runworkflows that check out and run a pull request's code. - Risky triggersWorkflows that outsiders can set off and that run with the repository's token and secrets.
- Token permissionsNo
permissions:block, orwrite-all, where a job needs much less. - Unpinned actionsActions used by tag or branch, which their owner can move to new code.
- Known-vulnerable actionsVersions of actions with a published security advisory.
- Stored credentialsCheckouts that leave the token on disk for later steps.
- Cache poisoningRelease workflows that restore caches other runs can write.
- Secrets handed over
secrets: inheritandtoJSON(secrets). - Conditions that don't hold
github.actorchecks,contains()on strings and always-trueif:blocks.
Plus workflow errors from actionlint. Each finding links to the engine's own documentation; the guides explain the main ones in depth.