Hackers Found a Way Around GitHub SHA Pinning. This Webinar Explains How to Close the Gap
About 4 min read
securitysoftwarepayments
Hackers have demonstrated that the widely‑recommended practice of SHA pinning for GitHub Actions can be bypassed, exposing a new supply‑chain vulnerability that security teams must address. The weakness was first exposed in March 2026 when attackers who had compromised the open‑source security scanner Trivy inserted malicious code into a repository that mimicked GitHub’s official checkout action. By labeling the change as a security fix, the attackers convinced teams that had pinned the action to a specific commit hash to accept the code without triggering any alerts. Because the compromised code originated from a fork that shared the same SHA, the pinning mechanism could not detect the intrusion, and any workflow that relied on the forged action would have executed the malicious payload.
A second incident in May 2026 showed that the same technique can be applied to other popular actions. The attackers targeted the actions‑cool/issues‑helper action, again using a forked repository to supply a malicious commit that appeared to be a legitimate update. When pipelines pulled the helper action using a pinned SHA, they inadvertently exposed stored credentials, allowing the threat actors to harvest secrets from the affected CI/CD runs. These two cases illustrate that while SHA pinning guarantees the exact code of a commit will not change, it does not verify the identity of the commit’s author or whether the commit originated from a trusted source.
The problem is not merely theoretical. In March 2025, a separate supply‑chain attack on the tj‑actions/changed‑files action involved repointing tags to a malicious commit across more than 23,000 repositories. Teams that had pinned to specific SHAs were immune to that breach, which cemented SHA pinning’s reputation as a robust defense. However, the newer attacks on Trivy and issues‑helper demonstrate that the protection only works when the source of the pinned commit is trustworthy. Forks that share the same commit hash can now be used to inject malicious code, a gap that many organizations have not yet accounted for in their security policies.
GitHub has responded by expanding its security tooling. In March 2026 the company published an Actions security roadmap that places deterministic dependency locking at the forefront of its strategy. The roadmap introduced workflow lockfiles, which entered public preview on 14 October 2026 and reached general availability on 28 October 2026. A lockfile records the exact commits for each action and all of its transitive dependencies, binding each workflow run to a known state even if a tag is later moved. Because locked commits must reside on a branch of the original repository, the mechanism reduces the risk of fork‑only impostors slipping through. Nevertheless, GitHub’s own changelog cautions that lockfiles do not guarantee the safety of the dependencies themselves; they merely capture the commit provenance. Authorship verification and runtime build integrity remain unaddressed, and immutable releases are only effective when maintainers opt in. Moreover, the lockfile feature is not yet supported on GitHub Enterprise Server, leaving many large organizations without the full benefit of the new controls.
To help developers and security professionals understand the limits of SHA pinning and the capabilities of the new lockfile system, GitHub is hosting a webinar titled “GitHub Actions Security Beyond SHA Pinning.” The session, led by Erika Heidi, a Staff Developer Relations Engineer at Chainguard, will target platform engineers, DevOps staff, Application Security (AppSec) and DevSecOps teams, as well as security leaders who have previously signed off on SHA pinning as a completed mitigation. Attendees will receive a detailed breakdown of what the roadmap’s deterministic locking resolves—namely, the ability to tie runs to immutable commits—and what responsibilities remain with the user, such as verifying the trustworthiness of the commit author and ensuring that lockfiles are used consistently across all environments.
The webinar also emphasizes the broader context of “agentic development,” a trend where automated tools generate increasing volumes of code that flow through continuous integration pipelines with minimal human review. As the number of automated commits rises, the likelihood that a malicious fork will be introduced unnoticed grows, making the shortcomings of SHA pinning more acute. Participants will learn practical steps to close the gap, including adopting organization‑wide policies that enforce pinning, integrating lockfiles into their CI/CD workflows, and supplementing these controls with provenance checks and runtime security monitoring.
For teams that currently rely on SHA pinning as the final safeguard against supply‑chain attacks, the message is clear: the practice alone no longer suffices. While pinning still protects against tag‑repointing attacks like the 2025 tj‑actions/changed‑files incident, it does not prevent malicious commits introduced via forks that share the same hash. The upcoming webinar offers a venue to understand the new GitHub features, evaluate their applicability to both cloud‑hosted and self‑hosted GitHub Enterprise environments, and develop a more comprehensive defense strategy that combines immutable references, provenance verification, and continuous secret scanning. Registering for the session will allow organizations to assess where their pipelines stand relative to the identified gaps and to adopt the next generation of safeguards before the next disguised commit appears in their workflows.
A new technique called Weight2Shell has been disclosed by cybersecurity researchers, which allows artificial intelligence (AI) models to produce different behavior on different machines, eve…
Season 2: Legacy for Gears of War: E‑Day launches tomorrow, marking the franchise’s twentieth anniversary and offering a wave of new content for both veteran players and newcomers. The updat…
Hela: of Mice & Magic is set to launch on December 1, 2026 for Xbox Series X|S, and the title will be available on day one through Xbox Game Pass. The game presents an open‑world adventure i…