ghtier
← Workflow analysis

zizmor

Static analysis for GitHub Actions workflows and action.yml files, written in Rust.

github.com/zizmorcore/zizmor ↗
Stars
★ 6,838
License
MIT
Language
Rust
Last push
30 Oct 2026
OpenSSF Scorecard
Not in the weekly scan
ghtier ratingRated 5 of 5, Top pick5/5 · Top pick

The most thorough open-source scanner for Actions workflows, fast, offline by default and actively released.

Note: this page is AI generated. Read the tool's own repository and documentation, linked at the bottom, before you rely on it.

How it works

zizmor parses every workflow under .github/workflows, composite action definitions (action.yml) and Dependabot config, and runs a set of named audits over the parsed YAML. Each audit knows the semantics of Actions: which triggers run with secrets, which expression contexts an outsider controls, and what a uses: reference resolves to.

Most audits are offline: template-injection, dangerous-triggers, excessive-permissions, unpinned-uses, artipacked (credentials left by actions/checkout), cache-poisoning, secrets-inherit and self-hosted-runner. Online audits such as impostor-commit, ref-confusion and known-vulnerable-actions call the GitHub API with a token to check that a pinned SHA really belongs to the action's repository and that the version has no advisory.

Findings carry a severity and a confidence. Personas (regular, pedantic, auditor) control how noisy it is, a zizmor.yml file or an inline '# zizmor: ignore[audit]' comment suppresses findings, and output is plain text, JSON, SARIF or GitHub annotations.

What it catches

  • Attacker-controlled expressions such as PR titles inside run: steps
  • pull_request_target and workflow_run used with a checkout of PR code
  • Actions referenced by tag or branch instead of a full SHA
  • Commit SHAs that only exist in a fork (impostor commits, online)
  • Write-all or missing permissions blocks
  • persist-credentials left on before an artifact upload

Run it

pipx install zizmor
zizmor .
# CI-friendly: no network, SARIF out
zizmor --no-online-audits --format sarif . > zizmor.sarif

What leaves your machine

Offline audits send nothing. Online audits call the GitHub API with GH_TOKEN; --no-online-audits turns them off.

Limits

  • Static only. It cannot see what an action does at runtime or what a setup script downloads.
  • Online audits need a token and count against API rate limits, so they suit a scheduled job better than every PR.
  • The pedantic and auditor personas produce findings that need triage before you can gate on them.

Related tools

Related incidents

GitHub stats as of 30 Oct 2026. How ratings work.