Malicious code in @evial/runtime-health (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-14159
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (59022bd399abaafea3b730e96ba9cc0252dbf18266f6f14200e0b1b6f1feba6f) The 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.
- Source published
- 18 Aug 2026 23:58:03 UTC
- Source modified
- 19 Aug 2026 00:30:11 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.