{"id":"MAL-2026-6346","summary":"Malicious code in triage-bot (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (2ef2bb10931626a345e1277463f9c2ec6ca36108c2d6131c9210707ea5692a64)\npackage.json declares `preinstall: node index.js`, so the payload runs automatically on `npm install` with no user action. index.js requires `os`, `fs`, and `https`, then collects hostname, username, home directory, DNS servers, current working directory, and package metadata, and reads the contents of /etc/passwd and /etc/hosts (index.js:18-19). The aggregated JSON is HTTPS POSTed to `t3x60c96rz2gi7qxftonjplmmdsbg14q.oastify.com`, a Burp Collaborator out-of-band-interaction subdomain controlled by the publisher. Package metadata is empty (author '', description '', ISC license) and the package ships no functional code — it exists solely as an install-time beacon, consistent with a dependency-confusion / pen-test harvest payload.\n","modified":"2026-07-01T21:16:41.920224643Z","published":"2026-06-23T20:18:45Z","database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"2ef2bb10931626a345e1277463f9c2ec6ca36108c2d6131c9210707ea5692a64","import_time":"2026-06-23T20:48:30.883953523Z","id":"IN-MAL-2026-007358","modified_time":"2026-06-23T20:18:45Z","versions":["1.0.1"]},{"id":"IN-MAL-2026-007889","modified_time":"2026-07-01T20:37:55Z","versions":["1.0.2"],"source":"amazon-inspector","sha256":"2c3f290ab3688b96b33d4e3f8d5695670d7737ba42a7c628aa246394e398ff9d","import_time":"2026-07-01T21:04:20.255027868Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/triage-bot/v/1.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/triage-bot/v/1.0.2"}],"affected":[{"package":{"name":"triage-bot","ecosystem":"npm","purl":"pkg:npm/triage-bot"},"versions":["1.0.1","1.0.2"],"database_specific":{"cwes":[{"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"}],"indicators":{"evidence_files":[{"sha256":"4eb5d9d3aa99d113bf92830dec579b22bd7dedbb3138a2c3c1116a6eb3bfb9a5","tlsh":"9441259992c917330de110c06a0c70843359f9777159a9d076cf42d69f869f8b7726f3","path":"index.js"},{"path":"package.json","sha256":"c94f4422ed886ac88f02604bd293efb6405b5e7079848b3c7ab8e48040cce473","tlsh":"2ed0a9304e22a63325c106a24c2ba48773a18f2f08043c08a3cb182c81ce6b798ff31d"}],"package_integrity":[{"filename":"triage-bot-1.0.1.tgz","hashes":{"sha512_sri":"sha512-hBSQh0nK9lIv4BFGLnmIjox3vnBB2edV7YwWwYffF6UstHWkzc9qtpj/IHrae0BeLPL2AtSz4WxzTZ9GYdtEOQ==","sha1":"7848cd16fa6eca8924ee63c5af2cf119a696e999"}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/triage-bot/MAL-2026-6346.json"}}],"schema_version":"1.7.5","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}