# npm Trusted Publishing flaw exposed 1,500+ npm packages to takeover

DevFeed: [npm Trusted Publishing flaw exposed 1,500+ npm packages to takeover](<https://devfeed.tech/articles/npm-trusted-publishing-flaw-exposed-1-500-npm-packages-to-takeover-85967.md>)

Original publisher: [Read original article](<https://www.helpnetsecurity.com/2026/10/13/slugfest-npm-trusted-publishing-flaw/>)

Author: Mirko Zorz

Published: 2026-10-13T09:00:08Z

Content type: news

Language: en

Sources: [Help Net Security](<https://devfeed.tech/sources/help-net-security.md>)

Topics: [npm security](<https://devfeed.tech/topics/npm-security.md>), [npm](<https://devfeed.tech/topics/npm.md>), [axios npm attack](<https://devfeed.tech/topics/axios-npm-attack.md>), [branch protection rules](<https://devfeed.tech/topics/branch-protection-rules.md>)

Tags: [bloom](<https://devfeed.tech/tags/bloom.md>), [don-t-miss](<https://devfeed.tech/tags/don-t-miss.md>), [github](<https://devfeed.tech/tags/github.md>), [hot-stuff](<https://devfeed.tech/tags/hot-stuff.md>), [news](<https://devfeed.tech/tags/news.md>), [npm](<https://devfeed.tech/tags/npm.md>), [npm-packages](<https://devfeed.tech/tags/npm-packages.md>), [research](<https://devfeed.tech/tags/research.md>), [security](<https://devfeed.tech/tags/security.md>), [supply-chain-compromise](<https://devfeed.tech/tags/supply-chain-compromise.md>), [vulnerability-disclosure](<https://devfeed.tech/tags/vulnerability-disclosure.md>)

## AI overview

A flaw in npm Trusted Publishing allowed attackers to publish updates to more than 1,500 packages by claiming GitHub repository names their maintainers had left behind. GitHub says it shipped fixes, including expiring unvalidated configurations after 48 hours, but it is unclear whether existing configurations were retroactively bound to immutable repository identities. Researchers say they do not know whether the flaw was exploited in the wild.

## Source excerpt

Bloom Security researchers found that npm's Trusted Publishing feature let an attacker push new versions of someone else's package without stealing a credential. The attacker only needed to register a GitHub repository name the maintainer had left behind. Bloom counted more than 1,500 npm packages exposed this way, and GitHub, which owns npm, says it has shipped fixes. The exposed packages have more than 10 million downloads in total and more than a million a ... More -> The post npm Trusted Publishing flaw exposed 1,500+ npm packages to takeover appeared first on Help Net Security.