MAL-2026-10136Malicious code in transform-es2015-sticky-regex (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
6.24.3 | unavailable | — | — | — |
| Ecosystem | Package | Version |
|---|---|---|
| npm | transform-es2015-sticky-regex | * |
| npm | transform-es2015-sticky-regex | 6.24.3 |
{"schema_version":"1.7.4","id":"MAL-2026-10136","published":"2026-07-10T15:39:56Z","modified":"2026-08-25T16:28:08.588388830Z","aliases":["GHSA-2j63-q9jc-966c"],"summary":"Malicious code in transform-es2015-sticky-regex (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (eadf76ef8e123f9ce50c2910c71912996a3d079a91076ffed8d29830a1687ae1)\npackage.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.\n\n## Source: ghsa-malware (fbccc4d6dca0a1f548d1ed96dbd966332bb06ed8ba0f727a28b7b3ba74520cc0)\nAny 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.\n","affected":[{"package":{"name":"transform-es2015-sticky-regex","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["6.24.3"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"package.json","sha256":"39b0ee92ac659176907527f02d21850b7fc2a9e53dd08fc77a35fe1196f62a27","tlsh":"7101d604ce25ad6348c56195a9e60e17d659da8b08e9bd8c33db179d0b4c0bf30f423a"},{"path":"index.js","sha256":"f2fcebdb4f0e41365a39ca87a52fcc4e6abd5633fe6272e60d1386d26b90ef41","tlsh":"71a1935ab5e0159745aa22e5b3ce48b577bd80b3330df5a0b54cbf563f40c348a1aed1"}],"package_integrity":[{"filename":"transform-es2015-sticky-regex-6.24.3.tgz","hashes":{"sha1":"7ed38f2193f8510ea360731916240600b991357d","sha512_sri":"sha512-iXD+7MQC15SwqF+5ipjzGi3p4NE+JuAv3Lc+I8Yez6tjkXisxN73Fo0w5KVyZ09Gli1ePRY0TQIBoqlMyAKLrQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/transform-es2015-sticky-regex/v/6.24.3"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-2j63-q9jc-966c"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-009622","import_time":"2026-07-10T16:19:42.174843647Z","modified_time":"2026-07-10T15:39:56Z","sha256":"eadf76ef8e123f9ce50c2910c71912996a3d079a91076ffed8d29830a1687ae1","source":"amazon-inspector","versions":["6.24.3"]},{"id":"GHSA-2j63-q9jc-966c","import_time":"2026-08-25T16:26:04.991389115Z","modified_time":"2026-08-25T16:12:23Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"fbccc4d6dca0a1f548d1ed96dbd966332bb06ed8ba0f727a28b7b3ba74520cc0","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0