Pin GitHub Actions to SHA digests (zizmor unpinned-uses)

Open Beginner friendly
#7 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
github-actions
Domain
ci-cd, security

Research direction

Start with .github/workflows/*.yml and run the provided npx pin-github-action command to inspect the three zizmor unpinned-uses findings. Confirm every referenced GitHub Action uses a full commit SHA with a version comment, then rerun the zizmor audit to verify the findings are resolved.

Written by the indexing model from the issue text.

Description

Pin GitHub Actions to SHA digests

Zizmor detected 3 unpinned-uses findings in .github/workflows/.

GitHub Actions referenced by tag (e.g. actions/checkout@v4) are vulnerable to tag mutation — a compromised or hijacked tag can introduce malicious code into CI runs. Pinning to a full commit SHA (e.g. actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4) eliminates this supply-chain risk.

Fix

Run pin-github-action to update all workflow files automatically:

npx pin-github-action .github/workflows/*.yml
Recommendations
  • Dependabot: Add a .github/dependabot.yml with a github-actions entry so pinned SHAs are updated automatically when new Action versions are released.
  • zizmor-action: Add zizmor-action for continuous workflow security scanning in CI.
References

Opened by ds-security-scanning zizmor-cli-unpinned-uses

Dominant language
Python
Stars
29
Forks
0
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from developmentseed/tipmtiles

All issues in developmentseed/tipmtiles

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.