Skip to content
npm Trusted Publishing Flaw Exposes 1,500+ Packages to Hijacking

npm Trusted Publishing Flaw Exposes 1,500+ Packages to Hijacking

First seen 13 Oct 2026, 10:56 UTC • •

Article Content

Browse articles
ThreatCluster AI
ThreatCluster •October 14, 2026 at 08:29 UTC
  • •Over 1,500 npm packages were vulnerable to hijacking due to a flaw in Trusted Publishing.
  • •Attackers could exploit abandoned GitHub repository names to publish malicious package versions.
  • •GitHub implemented a fix requiring unvalidated configurations to expire after 48 hours.

A vulnerability in npm's Trusted Publishing feature allowed attackers to hijack over 1,500 packages by claiming abandoned GitHub repository names.

Researchers at Bloom Security discovered that attackers could push new versions of packages without needing to steal credentials, simply by registering a previously used repository name.

The flaw, dubbed 'SlugFest', was reported to GitHub on June 6, 2026, and a fix was implemented on October 2, 2026, which now requires unvalidated configurations to expire after 48 hours.

The affected packages had over 10 million downloads in total, with some packages being downloaded over a million times monthly. GitHub has since updated its documentation to reflect these changes and emphasized the importance of maintaining trust relationships for package publishing.

No active exploitation has been observed in the wild, but researchers successfully demonstrated the attack in controlled conditions.

Start a free Starter trial for enhanced analysis

Ask AI about this cluster

Or ask in your own assistant: ClaudeChatGPTPerplexityGemini
Updated 47d ago How this analysis works

Timeline

2026-06-06
Vulnerability reported to GitHub
Bloom Security reported the Trusted Publishing flaw to GitHub, highlighting the risk of hijacking packages.
Helpnetsecurity
2026-06-09
GitHub validates the report
GitHub confirmed the vulnerability reported by Bloom Security and began working on a fix.
Helpnetsecurity
2026-10-02
Fix implemented for Trusted Publishing
GitHub announced that unvalidated npm Trusted Publishing configurations would now expire after 48 hours.
github.blog

More articles in this cluster (6)

Following this threat?

Track Bloom Security in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.

Free account · no card needed

Common questions

How many packages were affected?
Over 1,500 npm packages were identified as vulnerable due to the flaw.
What is the nature of the vulnerability?
The vulnerability allowed attackers to hijack npm packages by claiming abandoned GitHub repository names.
What measures has GitHub taken to address this issue?
GitHub has implemented a fix that requires unvalidated Trusted Publishing configurations to expire after 48 hours.