MAL-2026-14159Malicious code in @evial/runtime-health (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | @evial/runtime-health | 1.0.1 |
{"modified":"2026-08-18T23:58:03Z","published":"2026-08-18T23:58:03Z","schema_version":"1.7.4","id":"MAL-2026-14159","summary":"Malicious code in @evial/runtime-health (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (59022bd399abaafea3b730e96ba9cc0252dbf18266f6f14200e0b1b6f1feba6f)\nThe package's package.json declares postinstall: `node -e \"require('./scripts/lodash.js')\"` and sets the same file as main, so the payload runs both on `npm install` and on `require('@evial/runtime-health')`. scripts/lodash.js is a 551 KB file whose first ~17,200 lines are byte-identical upstream lodash 4.17.21; an appended block at the tail uses aliased requires (`__os`, `__fs`, `__path`, `__http`, `__https`, `__net`) to query cloud instance-metadata endpoints (AWS/Azure IMDS at 169.254.169.254, Aliyun at 100.100.100.200, Tencent Cloud at metadata.tencentyun.com), collect host identity (os.hostname, os.userInfo, os.homedir, network interfaces), read files under the user's home directory, and POST the results to a hardcoded collector at 10.100.0.46. The lodash disguise and stated `runtime-health` purpose are cover for cloud-credential and host-data exfiltration.\n","affected":[{"package":{"ecosystem":"npm","name":"@evial/runtime-health"},"versions":["1.0.1"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"scripts/lodash.js","sha256":"051b76d3aa4c5e1a8ac34a82f96ab91ab0260648db455113c44927731bfc13b7","tlsh":"52c4d65d3ce372a002276038835f4484d979691f5228ac84b49eeef85f99f3847fe69d"},{"path":"package.json","sha256":"42ffe47f5199266e23eb5c50a8b6ac59984f428f3e005114b98579c95046ab2c","tlsh":"ace0d8248e61db3310c567630d7241466aa2985e1244fc1857eb8258408c7f769ff62d"}],"package_integrity":[{"filename":"runtime-health-1.0.1.tgz","hashes":{"sha1":"d8dd4ce7ff0a479d48cd2779c4e2066ee6fa1c00","sha512_sri":"sha512-YZf9YJ2Zcq9i5ViWWxVVbzZwGeO4KQAe1P7IE6CsnuvDiRTJBBsWAoV30zAbm1nVmC4EHSqTXOJ38dlrxfxm9A=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@evial/runtime-health/v/1.0.1"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-018242","import_time":"2026-08-19T00:21:12.32739041Z","modified_time":"2026-08-18T23:58:03Z","sha256":"59022bd399abaafea3b730e96ba9cc0252dbf18266f6f14200e0b1b6f1feba6f","source":"amazon-inspector","versions":["1.0.1"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0