Malicious code in js-shared-modules (npm)
The npm package 'js-shared-modules' version 1.11.7 is identified as malicious. It contains a postinstall script that executes automatically on npm install, which collects the installer's hostname, encodes it, and sends it to a third-party domain associated with malicious activity. The package has no legitimate functionality and is designed to exfiltrate host identity information. Installation of this package may lead to full compromise of the affected system.
AI Analysis
Technical Summary
The 'js-shared-modules' npm package at version 1.11.7 includes a postinstall script that runs 'node poc.js' on installation. This script reads the system's hostname, hex-encodes it, and sends it via HTTPS GET request to a malicious domain (zcpesvvighyuzqlzkqgdydwp9jn54hfeg.oast.fun), effectively exfiltrating the installer's host identity. The package itself exports an empty module and is a dependency-confusion proof-of-concept squatting a generic internal package name. The OpenSSF Package Analysis project and other sources classify this package as malicious due to its communication with a domain linked to malicious activity. Any system with this package installed should be considered compromised.
Potential Impact
Installation of this package results in exfiltration of the host's identity information to a malicious third party. According to the source, any computer with this package installed or running should be considered fully compromised, with potential exposure of secrets and keys stored on the system. Removal of the package does not guarantee elimination of all malicious software that may have been installed as a result.
Mitigation Recommendations
No official patch or fix is available. The package should be immediately removed from any affected systems. All secrets and keys stored on compromised systems should be rotated from a different, trusted computer. Due to the potential full compromise, further forensic analysis and remediation may be necessary. Users should avoid installing this package and verify package authenticity before installation.
Malicious code in js-shared-modules (npm)
Description
The npm package 'js-shared-modules' version 1.11.7 is identified as malicious. It contains a postinstall script that executes automatically on npm install, which collects the installer's hostname, encodes it, and sends it to a third-party domain associated with malicious activity. The package has no legitimate functionality and is designed to exfiltrate host identity information. Installation of this package may lead to full compromise of the affected system.
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 'js-shared-modules' npm package at version 1.11.7 includes a postinstall script that runs 'node poc.js' on installation. This script reads the system's hostname, hex-encodes it, and sends it via HTTPS GET request to a malicious domain (zcpesvvighyuzqlzkqgdydwp9jn54hfeg.oast.fun), effectively exfiltrating the installer's host identity. The package itself exports an empty module and is a dependency-confusion proof-of-concept squatting a generic internal package name. The OpenSSF Package Analysis project and other sources classify this package as malicious due to its communication with a domain linked to malicious activity. Any system with this package installed should be considered compromised.
Potential Impact
Installation of this package results in exfiltration of the host's identity information to a malicious third party. According to the source, any computer with this package installed or running should be considered fully compromised, with potential exposure of secrets and keys stored on the system. Removal of the package does not guarantee elimination of all malicious software that may have been installed as a result.
Mitigation Recommendations
No official patch or fix is available. The package should be immediately removed from any affected systems. All secrets and keys stored on compromised systems should be rotated from a different, trusted computer. Due to the potential full compromise, further forensic analysis and remediation may be necessary. Users should avoid installing this package and verify package authenticity before installation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-5098
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-57xw-xm2f-j2wc"]
- Ecosystems
- ["npm"]
Threat ID: 6a577eee68715ace43b41497
Added to database: 07/15/2026, 12:37:02 UTC
Last enriched: 09/12/2026, 15:02:26 UTC
Last updated: 09/14/2026, 01:38:16 UTC
Views: 41
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.