VDB
KO

MAL-2026-14139

Malicious code in prism-registry (npm)

Details

--- _-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (f6570c9056bf020fdada0366045c4e91a0f5cb21171fe27df9fcea82259e7809) The 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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / prism-registry

No fixed version published yet for prism-registry (npm). Pin to a known-safe version or switch to an alternative.

References