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

Attackers have been hiding malicious code inside trusted software packages, often during the automated release process that runs on . This article explains how to make that automation harder to abuse, starting with not trusting version labels that can be quietly changed.

Like I’m new · 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