babel-plugin-standalone (npm) · Malicious Code
Affects babel-plugin-standaloneSource GCVE Database
Malicious package : remove babel-plugin-standalone and rotate any secrets on hosts that installed it.
Data as of 21 Nov 2026, 03:54 UTC
Malicious package
Published to npm · OSV MAL-2025-191491
What to do
Remove babel-plugin-standalone 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 |
|---|---|---|
| npmbabel-plugin-standalone | 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 package babel-plugin-standalone versions 4.1.0, 4.2.0, and 5.2.0 contain malicious code that communicates with domains linked to malicious activity and executes commands associated with harmful behavior. Any system with this package installed should be considered fully compromised, and all secrets and keys on that system should be rotated immediately from a different, secure machine. Removing the package alone may not eliminate all malicious software resulting from its installation.