MAL-2026-10136
Dashboard / Malicious Package / MAL-2026-10136
MAL-2026-10136
Summary: Malicious code in transform-es2015-sticky-regex (npm)
Details: Source: amazon-inspector (eadf76ef8e123f9ce50c2910c71912996a3d079a91076ffed8d29830a1687ae1) package.json declares both a dependency and a devDependency on 'transform-es2015-sticky-regex' pointing at http://pack.nppacks.com/npm/transform-es2015-sticky-regex. On `npm install`, npm fetches whatever tarball that plain-HTTP, non-registry host currently serves and installs it into node_modules with no version pin and no integrity hash — the maintainer of pack.nppacks.com can substitute arbitrary code at any time and it will land in the installer's dependency tree on the next install. The package name is also a namespace-confusion of the well-known 'babel-plugin-transform-es2015-sticky-regex' (Babel plugin naming convention prefixes 'babel-plugin-'); the shipped index.js does not implement the sticky-regex transform but a DefinePlugin-style identifier replacer, and a source comment states the package is 'for Security Research Testing Purpose'. Additional network-capable dependencies (axios, node-fetch, ws) are declared but unused by the shipped code, pre-staging network primitives for whatever the swapped tarball chooses to import. Source: ghsa-malware (fbccc4d6dca0a1f548d1ed96dbd966332bb06ed8ba0f727a28b7b3ba74520cc0) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
References: https://www.npmjs.com/package/transform-es2015-sticky-regex/v/6.24.3, https://github.com/advisories/GHSA-2j63-q9jc-966c
Affected packages
Package
Name: transform-es2015-sticky-regex
Purl: pkg:npm/transform-es2015-sticky-regex
Affected ranges
Type: SEMVER
Events:
