Over 1,500 npm packages exposed by Trusted Publishing validation flaw
- Published
- Record updated
Summary
Bloom Security researchers found a flaw in npm's Trusted Publishing, dubbed SlugFest, that let attackers publish under legitimate packages by reclaiming abandoned GitHub repository names. npm trusted the repository's owner/repository name rather than its immutable numeric ID, and the researchers identified more than 1,500 potentially vulnerable packages with over 10 million combined downloads. The attack did not require stealing the maintainer's credentials.
Mitigation
The npm team shipped a fix on October 2 introducing a 48-hour expiry for unvalidated Trusted Publishing configurations. npm also rejects trusted-publishing tokens issued through GitHub Actions' issue_comment events, alongside the existing restriction on pull_request_target events. Bloom recommends that maintainers audit their Trusted Publishing configurations.
Related items
- InfoTech stocks sink but close well off the lows, Anthropic struggles to rebound above IPO priceSame vendor · CNBC Technology
- InfoInterpreting a recent acceleration in pretraining lossSame vendor · METR
- LowSignal joins United Airlines, banks in limiting AI agents over customer risksSame vendor · CNBC Technology
- MediumHackers Exploit N-able MailAssure Flaw While AI Agents Exploit MONAI Label Zero-DaySame vendor · The Hacker News
- HighCVE-2026-81962: Azure Machine Learning information disclosure through incorrect authorizationSame vendor · NVD/CVE Database