MAL-2026-13960Malicious code in process-live-log (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | process-live-log | 11.5.2 |
{"modified":"2026-08-13T17:17:45Z","published":"2026-08-13T17:17:45Z","schema_version":"1.7.4","id":"MAL-2026-13960","summary":"Malicious code in process-live-log (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (5a36d35f64443b9dc4a2395017b8738562a321c9765089f916eeebdf58281d57)\nThe default export getPlugin issues an HTTPS request to the hardcoded bare-IP endpoint https://31.97.137.157:45000/icons/107 and passes the returned data.credits field to new Function(...) with require, process, Buffer, and other Node globals injected, then invokes it. Any consumer that imports and calls the default export executes attacker-controlled JavaScript with full Node privileges. Package identity is inconsistent: README describes a live-log utility, package.json.description advertises a 'TypeScript SDK for the Polymarket CLOB API', and keywords are ['react','helper','svg']. A dead setDefaultModule function constructs plausible cdnjs URLs but is never called, while the reachable code path targets the bare IP. Declared dependencies (@primno/dpapi, better-sqlite3, node-machine-id) are consistent with browser-credential-stealer post-exploitation tooling the fetched payload could invoke.\n","affected":[{"package":{"ecosystem":"npm","name":"process-live-log"},"versions":["11.5.2"],"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":"index.js","sha256":"9496101c96f3882c29fbabca5da83d126bd495027535a2c497f88a9a22b5620c","tlsh":"30c1716546fa31a36a63e0eef30f10027265e313375de931f48e42902fca568e5f24e8"},{"path":"package.json","sha256":"8d7eadbef068332218c51088fec4e88e490f34f10d9e638536886c45ac917cab","tlsh":"30f02210ce24dea314d61586a839808ba160da4b8d10f80d379a876c4f4ea6f26fe66d"}],"package_integrity":[{"filename":"process-live-log-11.5.2.tgz","hashes":{"sha1":"fb785ebbfe5bb8c3a71d296cae60b03caaa3fca1","sha512_sri":"sha512-pmp2CJfI7xg7Y/++0rVds5OVPgPAVbh0/LuPR+OS6qS0LzVCo9v3EMGMhOr+ClWbCE34SK4AFtSIhaDrOHw1Cw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/process-live-log/v/11.5.2"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-017649","import_time":"2026-08-13T17:24:45.935590213Z","modified_time":"2026-08-13T17:17:45Z","sha256":"5a36d35f64443b9dc4a2395017b8738562a321c9765089f916eeebdf58281d57","source":"amazon-inspector","versions":["11.5.2"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0