transform-es2015-unicode-regex (npm) · Malicious Code
Affects transform-es2015-unicode-regexSource GCVE Database
Malicious package : remove transform-es2015-unicode-regex and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 16:15 UTC
Malicious package
Published to npm · OSV MAL-2026-13612
What to do
Remove transform-es2015-unicode-regex 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 |
|---|---|---|
| npmtransform-es2015-unicode-regex | 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 'transform-es2015-unicode-regex' version 6.24.1 is a malicious package that impersonates a legitimate Babel plugin by using a similar name. It declares a dependency on a third-party HTTP URL unrelated to the official registry, causing npm install to fetch and execute arbitrary code from an unauthenticated, unencrypted source. This enables arbitrary code execution at install time controlled by the attacker. The package's main code is not the expected Babel plugin but contains code labeled for security research testing purposes, increasing the risk of accidental installation.