NASA-IMPACT / NASA-IMPACT/veda-docs

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

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

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
10
Forks
16
Avg merge
2d 31m
Merged PRs (30d)
4

Description

Pin GitHub Actions to SHA digests

Zizmor detected 9 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

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.

Research direction

Start by reviewing the workflow files under .github/workflows/ and the 9 zizmor unpinned-uses findings. Run pin-github-action against .github/workflows/*.yml, then verify that all GitHub Actions use full commit SHAs and the zizmor audit reports no remaining unpinned uses.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.