Skip to content

chore: fix zizmor findings in workflows - #431

Merged
ergousha merged 5 commits into
mainfrom
ea/security/fix-zizmor-workflows
Jun 22, 2026
Merged

chore: fix zizmor findings in workflows#431
ergousha merged 5 commits into
mainfrom
ea/security/fix-zizmor-workflows

Conversation

@ergousha

@ergousha ergousha commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Why zizmor?

zizmor is a static analysis tool for GitHub Actions workflows. It catches security misconfigurations that are easy to miss in code review but are commonly exploited in supply-chain attacks.

Findings addressed

unpinned-uses — Actions pinned to a tag (e.g. @v1) can silently change if the tag is force-pushed or hijacked. Pinning to an immutable commit SHA guarantees the exact code that ran in CI today is the same code that runs tomorrow, even if the upstream repo is compromised.

artipacked — By default actions/checkout persists a GitHub token in the local git config so that subsequent git commands can authenticate. If any later step in the job (or a transitive action) exfiltrates the workspace, it gets the token for free. Setting persist-credentials: false removes the token after checkout unless it is explicitly needed.

dependabot-cooldown — Without a cooldown, Dependabot can open PRs for a newly published package version within minutes of release. A short window is a known vector for dependency-confusion and typosquatting attacks where a malicious version is published and auto-merged before the community notices. Requiring a minimum 7-day cooldown gives the ecosystem time to vet new releases.

Validation

zizmor --min-severity low .github/
No findings to report. Good job! (32 suppressed)

@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@ergousha
ergousha merged commit cf56427 into main Jun 22, 2026
12 checks passed
@ergousha
ergousha deleted the ea/security/fix-zizmor-workflows branch June 22, 2026 11:36
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.

3 participants