The images in this article were generated with artificial intelligence. How we publish
In recent months, evidence has again emerged that the most widespread practice to protect continuous integration flows - blocking GitHub's actions to a specific SHA, known as SHA pinning - is no longer sufficient on its own to prevent attacks on the software supply chain. Recent cases show that the attackers can introduce malicious commitments that seem legitimate and that, although referred to by a fixed SHA, pass all automatic checks unless it is verified who signed and where that commit actually comes from.
Facts confirmed: In March 2026 a manipulation of the code associated with the Trivy security scanner was detected where malicious code was placed that imitated GitHub's official checkout action and was presented as a "security correction." In May 2026, a similar incident occurred against the actions-cool / issues-helper action, which exfiltered the credentials of pipelines that executed the action. These attacks exploit GitHub's ability to share commitments between forks and repositories, and the current pinning verification logic that values the immutability of the SHA but not its provenance.

History has precedents: when the tj- actions / changed- files project was committed in March 2025, tags (tags) were rebound to malicious commitments and more than 23,000 repositories were at risk; however, those who had set their references to exact SHAs were not affected. This difference helped to consolidate the pinning as good practice, and GitHub even now offers organizational policies to force it. But the current case reveals a critical limitation: an SHA guarantees that the content does not change, does not guarantee who wrote it or from which fork came.
From a technical point of view, the vector used by the attackers is based on three fundamental limitations of the current approach. First, an SHA does not contain reliable authorship metadata for the owner of the upstream repository; any fork can produce a commitment with its own SHA and that SHA can be referred to by a workflow. Secondly, the organizational policies that only verify the pointer format (which is a 40-character SHA) do not check whether that commitment exists in the original project or who maintains it. Third, many Docker-based actions still build images in running time, allowing the introduction of unfrozen units or binary even when the action itself is pinned.
In response to these risks, GitHub has been adding mechanisms to reduce the attack surface. In its road map of Actions published in March 2026 and in successive entries of the changelog, the determinist block of dependencies was prioritized. In October 2026 GitHub launched the workflow lockfiles: a mechanism that records the effective commitments used by an execution and, when active, ties each execution to those registered commitments for the actions and their transitional units. This measure prevents a later-moved label from changing the code that is being executed and requires that the blocked commitments exist in a branch of the source repository, which complicates the use of "unique" commitments in forks as impostors.
It is important to stress what is confirmed and what remains open: it is established that the lockfiles reduce the ability for a tag or a rebound label to alter the code executed after the lockfile is generated. It is also documented that the LockfilesNo.determine whether a unit is safe (according to GitHub's own note) and that they do not resolve for themselves the true authorship of the commit or the risk of building in time of execution. In addition, at the close of 2026 the Lockfiles were not supported in GitHub Enterprise Server in all versions, leaving un- premises still exposed unless they update or adopt compensation.
What does this mean for teams that manage CI / CD? In practical terms, the lesson is that pinning is necessary but insufficient. Depending only on SHAs can create false tranquility: a flow that requires an SHA can continue to run malicious code if that SHA comes from a malicious fork or a commit raised by an actor with access to the repository history. In addition, if an action builds images or downloads dependencies during the execution, these external chains must also be presented in a determinable and verifiable manner.
Specific recommendations that teams should implement (combining measures that already confirm benefit and other pragmatic mitigation): active and require the use of workflow lockfiles where possible; require that the blocked commitments reside in branches of the upstream repository and audit the origin of the actions they accept as dependencies. Reduce GITHUB _ TOKEN's permissions to the minimum necessary and avoid exposing secrets to jobs that consume third party shares; prefer OIDC and short-term tokens for cloud credentials. For container actions, click digest images and place them in a self-confidence register or a record supporting image signatures (for example with Sigstore / Cogun) rather than allowing ad-hoc building in operation.

Other useful operational practices: maintain an internal catalogue of approved and cured actions, require explicit approvals and reviews for workflow changes that alter references to actions or pin to new SHAs, and prioritize actions held by "verified creators" in the Marketplace where appropriate. Also consider selling critical actions: including the action code in a repository controlled by your organization or packaging it as an internal component avoids relying on external forks. Finally, combine these defenses with monitoring: alerts on changes in unit references, revision of new commitments in forks that their flows consume and continuous scanning of the software that runs in pipelines.
The confirmed and the uncertain: It is shown that the attackers have drawn the traditional pinning model (Trivy and actions-cool cases mentioned above). GitHub has introduced important risk mitigation tools (workflow lockfiles), but there is no single solution that covers all vectors: authorship, building in running time and confidence in the dependency chain remain weak points that require operational controls. The actual degree of protection now depends on the platform's combination (if the team can use lockfiles), organizational policies and good practices of DevSecOps.
If your team has treated the SHA pinning as the "last word" in security of Actions, it is important to review this decision urgently: the right strategy is multilayer. For official documentation on new capabilities and on hardening of actions in GitHub, see the Lockfiles guide and GitHub's safety recommendations: Workflow lockfiles and Security harassment for GitHub Actions. In addition, if you want a practical analysis of the gaps that persist after the pinning and the operational measures that close the gap between immutability and provenance, there are public technical sessions on the subject with industry experts that disaggregate these recent attacks and the applicable mitigation.
Related
More news on the same subject.

Campaign at Hugging Face Spaces and GitHub uses game traps to steal passwords and sessions
A massive campaign has used Hugging Face Spaces pages and GitHub repositories to attract players with supposed traps and bots and push them to install malware that steals browse...

Canada detects NEXCOL intrusion and suspension of export permits
The Canadian government confirmed that its online system to manage permits for the export of military material and strategic goods, known as NEXCOL, suffered an intrusion detect...

CertiK shows Weight2Shell: identical weights, different outputs by inference environment
CertiK security researchers have demonstrated a technique - called Weight2Shell in their report - that allows two instances of the same artificial intelligence model, carrying i...

RabbitMQ: critical failure in the management interface exposes tokens OAuth2; patches 4.4.1 / 4.3.8
A critical vulnerability in RabbitMQ allows an attacker who has access to the management interface to get tokens OAuth2 signed by the identity provider without credentials and t...

Critical Vulnerability in Erlang / OTP client TLS allows MITM without certificate (CVE-2026-124286)
A critical vulnerability to the client implementation of TLS within Erlang / Open Telecom Platform (OTP) allows a malicious server to complete a TLS 1.2 handshake without presen...

pCloud Pass: cyber attack exposes emails from few users; undecipher encrypted vaults
This week pCloud Pass, the password manager integrated into the Swiss pCloud service, confirmed that it was the target of a "cyber attack" after several users reported early log...

SOCRadar identifies WeaveLotus / RedOps campaign in intrusions to Thailand and the Philippines
SOCRadar has published an analysis that attributes a series of intrusions to military, government and legislative institutions in South-East Asia to a set of tools and activitie...