npm-extension (npm) · Malicious Code
Affects npm-extensionSource GCVE Database
Malicious package : remove npm-extension and rotate any secrets on hosts that installed it.
Data as of 9 Sep 2026, 20:24 UTC
Malicious package
Published to npm · OSV MAL-2026-15515
What to do
Remove npm-extension from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmnpm-extension | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm-extension package version 45.0.0 contains malicious code delivered via a dependency declared as a bare HTTPS URL rather than a standard registry version. This causes npm to fetch and execute unverified third-party code during installation, leading to potential full system compromise. The package's own code is inert, but the fetched code runs with installer privileges. Systems with this package installed should be considered compromised, and all secrets and keys must be rotated. Removal of the package alone may not fully remediate the infection.