#9
The Hacker News
general
October 13, 2026 at 16:18 UTC
GitHub Tightens npm Publishing After Flaw Left 1,500+ Packages Vulnerable to Hijacking
By [email protected] (The Hacker News)
AI Summary
GitHub discovered that a flaw in npm's trusted publishing feature allowed attackers to push new versions of packages they didn't own without stealing credentials, leaving over 1,500 packages vulnerable to hijacking. GitHub's remediation was to auto-expire unvalidated trusted publishing configurations 48 hours after creation, with configurations becoming permanent only after a successful publish. This supply-chain risk is particularly significant given npm's role in JavaScript dependency ecosystems worldwide.
Relevance score: 81.0/100
Sponsored
Protect Your Business
Expert cybersecurity solutions to safeguard your organization from evolving threats.
Get Protected →