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

Open Beginner friendly
#1,973 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 in .github/workflows/ and run the provided pin-github-action command against the workflow files. Check the resulting references and rerun zizmor's unpinned-uses audit; done means all 25 findings are resolved with full commit SHAs.

Written by the indexing model from the issue text.

Description

Pin GitHub Actions to SHA digests

Zizmor detected 25 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
TypeScript
Stars
45
Forks
17
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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 NASA-IMPACT/veda-ui

All issues in NASA-IMPACT/veda-ui

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.