babel-polyfill-plugin-corejs2 (npm) · Malicious Code
Affects babel-polyfill-plugin-corejs2Source GCVE Database
Malicious package : remove babel-polyfill-plugin-corejs2 and rotate any secrets on hosts that installed it.
Data as of 14 Oct 2026, 22:57 UTC
Malicious package
Published to npm · OSV MAL-2026-14426
What to do
Remove babel-polyfill-plugin-corejs2 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-polyfill-plugin-corejs2 | 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-polyfill-plugin-corejs2 version 1.0.1 contains malicious code disguised as a Babel core-js 2 polyfill plugin. Instead of the advertised functionality, it executes a large obfuscated JavaScript payload at import time, which may compromise the host system. The package should be considered fully malicious, and any system with it installed is likely compromised.