Malicious code in @evial/runtime-health (npm)
--- _-= 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.
Malicious code in @evial/runtime-health (npm)
Description
--- _-= 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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14159
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a85b4caacd9273b49252e66
Added to database: 08/19/2026, 13:51:06 UTC
Last updated: 08/19/2026, 13:51:38 UTC
Views: 1
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.