MAL-2026-14139Malicious code in prism-registry (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | prism-registry | 1.0.1 |
{"modified":"2026-08-18T23:03:53Z","published":"2026-08-18T23:03:53Z","schema_version":"1.7.4","id":"MAL-2026-14139","summary":"Malicious code in prism-registry (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f6570c9056bf020fdada0366045c4e91a0f5cb21171fe27df9fcea82259e7809)\nThe package declares `preinstall: \"node index.js\"`, which fires automatically on `npm install`. index.js collects host identifiers (os.hostname, os.userInfo, home directory, DNS servers, __dirname, package.json contents) and reads the local files /etc/passwd and /etc/hosts, then POSTs the aggregated JSON over HTTPS to the hardcoded Burp Collaborator subdomain zjmjb1b5mnwtdcmzrsq6uj4bj2ptdj18.oastify.com. There is no legitimate functionality in the package beyond this beacon.\n","affected":[{"package":{"ecosystem":"npm","name":"prism-registry"},"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":"index.js","sha256":"6fe630ace062e7438fa3f8031a6db3816eacee90092059dedf60666251910bc6","tlsh":"fb411199a2d917330de210c06a0c70852359fa777169add077cf42969f86af8b7326f3"}],"package_integrity":[{"filename":"prism-registry-1.0.1.tgz","hashes":{"sha1":"9c406d52550d189fd3a0a32be349bed37648d973","sha512_sri":"sha512-rhjsFpOX9HJrDcG2ody3wJM0mpBJmXreIvIESzufLviS1VwGswGnXIMXE9bk0tMkADob8UdJbbqS9L2nvDdiww=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/prism-registry/v/1.0.1"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-018173","import_time":"2026-08-18T23:09:41.582156511Z","modified_time":"2026-08-18T23:03:53Z","sha256":"f6570c9056bf020fdada0366045c4e91a0f5cb21171fe27df9fcea82259e7809","source":"amazon-inspector","versions":["1.0.1"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0