Wednesday 4 November
Global

Your region, kept on this device.

Guide urges pinning GitHub Actions to commit SHAs to block supply chain attacks

Severity
High
Exploited
Yes
Sources
1

The article is part one of a series on hardening against outside attackers. It explains that version tags such as @v4 are movable pointers, and cites the March 2025 tj-actions/changed-files compromise, where repointed tags exposed credentials in public build logs. It recommends pinning actions to full 40-character commit SHAs, enforcing this with zizmor and an organisation policy, and warns that a SHA proves immutability but not provenance.

For IT people · Written by AI from 1 source · Wrong?

What to do

  1. Pin every GitHub Action to its full 40-character commit SHA rather than a version tag or branch.
  2. Enforce SHA pinning through an organisation Actions policy and run zizmor in CI.
  3. Check whether any workflows referenced tj-actions/changed-files or trivy-action by tag, and review their build logs.
  4. Verify that pinned commits belong to the action's own repository before approving pull requests that change them.

Written by AI from the sources, checked against them

Vulnerabilities

Full story timeline · 2 updates

  1. 18 March 2025CVE-2025-30066 added to CISA’s exploited listCISA KEV
  2. Tue 3 NovemberHardening GitHub Actions Against Outside ThreatsSocket Blog

Who reported · 1 outlet

Socket Blog

Who and what is in it

Threat actors

Report a problem