Malicious code in prism-registry (npm)
Description
The prism-registry npm package version 1.0.1 contains malicious code that executes automatically during installation. It collects sensitive host information and local files, then exfiltrates this data to a hardcoded external server. There is no legitimate functionality in the package beyond this malicious behavior. Any system with this package installed should be considered fully compromised, and all secrets on the system should be rotated from a different machine.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The prism-registry npm package version 1.0.1 declares a preinstall script that runs 'node index.js' automatically on npm install. This script collects various host identifiers including hostname, user info, home directory, DNS servers, directory paths, and package.json contents. It also reads sensitive local files such as /etc/passwd and /etc/hosts. The collected data is sent via HTTPS POST to a hardcoded Burp Collaborator subdomain (zjmjb1b5mnwtdcmzrsq6uj4bj2ptdj18.oastify.com). The package has no legitimate functionality and acts solely as a beacon to exfiltrate sensitive information. Due to this behavior, any system with this package installed is considered fully compromised.
Potential Impact
Systems with prism-registry version 1.0.1 installed are fully compromised as the package exfiltrates sensitive host information and local files to an attacker-controlled server. This exposure can lead to unauthorized access, credential theft, and further compromise. Secrets and keys stored on the affected system should be rotated immediately from a secure, unaffected environment. Removing the package alone may not fully remediate the compromise due to potential persistence mechanisms.
Defensive Guidance
Remove the prism-registry package version 1.0.1 immediately from affected systems. Rotate all secrets, credentials, and keys that were stored on the compromised system from a different, secure computer. Because the package grants full control to an external entity, assume the system is compromised beyond just the package and perform a thorough incident response and system rebuild if necessary. No official patch or fix is available; the package itself is malicious and should not be used.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14139
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-gvgw-fqw6-f4rw"]
- Ecosystems
- ["npm"]
Threat ID: 6a9f9110acd9273b49ff2ac1
Added to database: 09/08/2026, 04:37:36 UTC
Last enriched: 09/08/2026, 05:38:02 UTC
Last updated: 10/01/2026, 23:21:06 UTC
Views: 20
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
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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.