Skip to main content
MalwarePublished Updated

transform-es2015-unicode-regex (npm) · Malicious Code

Affects transform-es2015-unicode-regexSource GCVE Database

0

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

Classification

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

ProductAffectedFixed in
npmtransform-es2015-unicode-regexAffected
  • =6.24.1
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.

References

Community reviews

Loading reviews…