-= Per source details. Do not edit below this line.=-
On 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, requires 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.
{
"malicious-packages-origins": [
{
"import_time": "2026-07-10T17:10:16.43384206Z",
"sha256": "69da81410d062733108728b42feb333d2f561f811a9c671664150cd026b12221",
"modified_time": "2026-07-10T16:57:07Z",
"source": "amazon-inspector",
"id": "IN-MAL-2026-009674",
"versions": [
"0.13.8"
]
},
{
"import_time": "2026-07-10T17:10:16.305545446Z",
"sha256": "96f2a7710da85018d31f24bd4bfc5d10b25b439bc37b81eca966f761fab0c2e1",
"modified_time": "2026-07-10T16:56:40Z",
"source": "amazon-inspector",
"id": "IN-MAL-2026-009671",
"versions": [
"0.13.7"
]
},
{
"import_time": "2026-07-28T14:19:57.30513996Z",
"sha256": "f89a5205cfb702df5a1481b6a3eadb64da36c695b13b42686a87b0f17035a46d",
"modified_time": "2026-07-28T13:31:16Z",
"source": "amazon-inspector",
"id": "IN-MAL-2026-010882",
"versions": [
"0.14.1"
]
},
{
"import_time": "2026-08-05T14:19:43.154421351Z",
"sha256": "2dfdfbd2fc737f9d78ec40aac8b7020866cb0ef0e7e14b2d95aa174ea0ec5818",
"modified_time": "2026-08-05T13:11:56Z",
"source": "amazon-inspector",
"id": "IN-MAL-2026-014921",
"versions": [
"0.13.9"
]
},
{
"import_time": "2026-08-05T14:19:42.885503404Z",
"sha256": "32e7813eae65ec25803d2163fbfcf3c05901e7197025d5ebc54a688d19e726cd",
"modified_time": "2026-08-05T13:11:33Z",
"source": "amazon-inspector",
"id": "IN-MAL-2026-014918",
"versions": [
"0.14.0"
]
}
]
}"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/rollup-packages-polyfill-core/MAL-2026-10160.json"
{
"evidence_files": [
{
"sha256": "d436a1392d9a78b6792b39df873ff6dac785557eb8d306adc2089ed3501aab0a",
"path": "dist/index.js",
"tlsh": "f981552614f679551373b2ec5587ec71397b9393338ccb507e2c83709fa20289a72ae5"
}
],
"package_integrity": [
{
"filename": "rollup-packages-polyfill-core-0.13.8.tgz",
"hashes": {
"sha1": "7ce89074c953a6d60b4068615c72fbfc857b623d",
"sha512_sri": "sha512-gU3kBACcGmOHHWWqNUuLzGwItIUW92jOXzyMgyaJDxmK3gIuGYvn7wspEkvybXcJavFpGwgs1ctF3lQ2uwds0w=="
}
}
]
}
[
{
"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."
}
]