Skip to content
NewA calmer, faster ZeroHour

Over 1,500 npm packages exposed by Trusted Publishing validation flaw

CSO Online ()3 min read5
AI summary · grok-4.7-buildSummaries by Vani AI

A now-fixed npm Trusted Publishing flaw exposed over 1,500 packages to repository-name hijacks.

Bloom Security disclosed SlugFest, a flaw in npm Trusted Publishing that verified publishers by human-readable GitHub repository names instead of permanent repository IDs. An attacker who reclaimed an abandoned name could obtain an OIDC publishing credential and release a package version without compromising the maintainer. Researchers found more than 1,500 potentially exposed packages with over 10 million combined downloads. npm shipped a fix on October 2 that expires unvalidated configurations after 48 hours; Bloom reported no in-the-wild exploitation.

Key facts
  • SlugFest trusted GitHub repository names rather than immutable repository IDs.
  • Over 1,500 packages had more than 10 million combined downloads.
  • A fix shipped October 2 expires unvalidated Trusted Publishing configs after 48 hours.
  • Bloom found no wild exploitation but published a test package version.
  • npm also rejects trusted-publishing tokens from issue_comment workflows.
Analyze this story with Vani AIImpact, who is affected and what defenders should do, in a new chat

From the original article

3 min read at csoonline.com

A flaw in npm’s Trusted Publishing mechanism could allow attackers to hijack legitimate software packages by reclaiming abandoned GitHub repository names, potentially exposing millions of package downloads to supply-chain attacks. Researchers at Bloom Security identified more than 1500 potentially vulnerable npm packages, including security scanners, authentication tools, and cryptographic packages.

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.