MAL-2026-10205: Malicious code in library-explorer (npm)
The library-explorer npm package version 25.2.1 contains malicious code that executes during installation. Its preinstall script collects detailed host system information and user identity data, then exfiltrates this information to a hardcoded external server. The package itself provides no legitimate functionality and appears designed as a reconnaissance beacon, potentially for dependency confusion or internal name probing attacks.
AI Analysis
Technical Summary
The malicious library-explorer package (npm ecosystem) version 25.2.1 includes a preinstall script that runs automatically on npm install. This script gathers extensive system and user identity information (hostname, platform, architecture, home directory, user info including username, uid, gid, shell, CPU, memory) and executes system commands ('whoami' and 'id' on non-Windows systems). It then sends this aggregated data as JSON to a hardcoded Burp Collaborator domain (https://bgvge0daqrvkonl6x9qrx553ruxllb90.oastify.com/detox56). The package lacks legitimate functionality and is consistent with a staged beacon for dependency confusion or internal reconnaissance.
Potential Impact
Installation of the affected package version results in unauthorized collection and exfiltration of sensitive system and user identity information to an external attacker-controlled server. This compromises host privacy and may facilitate further targeted attacks or reconnaissance. No direct code execution beyond the preinstall script is indicated, and no known exploits in the wild have been reported.
Mitigation Recommendations
No official patch or remediation is currently available. Users should avoid installing library-explorer version 25.2.1. Verify package authenticity before installation and consider using package integrity verification or trusted registries. Monitor for updates or vendor advisories for remediation guidance. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
MAL-2026-10205: Malicious code in library-explorer (npm)
Description
The library-explorer npm package version 25.2.1 contains malicious code that executes during installation. Its preinstall script collects detailed host system information and user identity data, then exfiltrates this information to a hardcoded external server. The package itself provides no legitimate functionality and appears designed as a reconnaissance beacon, potentially for dependency confusion or internal name probing attacks.
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 malicious library-explorer package (npm ecosystem) version 25.2.1 includes a preinstall script that runs automatically on npm install. This script gathers extensive system and user identity information (hostname, platform, architecture, home directory, user info including username, uid, gid, shell, CPU, memory) and executes system commands ('whoami' and 'id' on non-Windows systems). It then sends this aggregated data as JSON to a hardcoded Burp Collaborator domain (https://bgvge0daqrvkonl6x9qrx553ruxllb90.oastify.com/detox56). The package lacks legitimate functionality and is consistent with a staged beacon for dependency confusion or internal reconnaissance.
Potential Impact
Installation of the affected package version results in unauthorized collection and exfiltration of sensitive system and user identity information to an external attacker-controlled server. This compromises host privacy and may facilitate further targeted attacks or reconnaissance. No direct code execution beyond the preinstall script is indicated, and no known exploits in the wild have been reported.
Mitigation Recommendations
No official patch or remediation is currently available. Users should avoid installing library-explorer version 25.2.1. Verify package authenticity before installation and consider using package integrity verification or trusted registries. Monitor for updates or vendor advisories for remediation guidance. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10205
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a54ae1068715ace438f8cf5
Added to database: 07/13/2026, 09:21:20 UTC
Last enriched: 07/13/2026, 09:58:47 UTC
Last updated: 07/13/2026, 09:58:47 UTC
Views: 2
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.