Malicious code in crosswalker (npm)
The crosswalker npm package versions 1.0.0, 1.0.1, and 18.2.1 contain malicious code that executes automatically during installation. The preinstall script runs index.js, which collects detailed system and user information and sends it to a hardcoded external URL. This behavior results in unauthorized data exfiltration from the host machine on every install.
AI Analysis
Technical Summary
The crosswalker npm package declares a preinstall script in its package.json that automatically executes index.js during npm install. This script gathers sensitive host and user environment data including hostname, platform, architecture, home directory, username, user and group IDs, shell, OS details, current working directory, and the output of 'whoami' and 'id' commands. It then sends this collected information as a JSON payload to a hardcoded URL hosted on a Burp Collaborator subdomain, which is typically used for out-of-band testing and reconnaissance. This results in unauthorized exfiltration of identifying information from the installation environment without user consent.
Potential Impact
Unauthorized collection and exfiltration of sensitive system and user environment information occurs during package installation. This compromises user privacy and may aid attackers in reconnaissance or further exploitation. The malicious behavior activates automatically on install, potentially affecting all users who install the affected versions.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing the affected versions (=1.0.0, =1.0.1, =18.2.1) of the crosswalker package. Monitor for updates or advisories from the package maintainers or npm security teams. Consider using package integrity verification tools and audit dependencies before installation.
Malicious code in crosswalker (npm)
Description
The crosswalker npm package versions 1.0.0, 1.0.1, and 18.2.1 contain malicious code that executes automatically during installation. The preinstall script runs index.js, which collects detailed system and user information and sends it to a hardcoded external URL. This behavior results in unauthorized data exfiltration from the host machine on every install.
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 crosswalker npm package declares a preinstall script in its package.json that automatically executes index.js during npm install. This script gathers sensitive host and user environment data including hostname, platform, architecture, home directory, username, user and group IDs, shell, OS details, current working directory, and the output of 'whoami' and 'id' commands. It then sends this collected information as a JSON payload to a hardcoded URL hosted on a Burp Collaborator subdomain, which is typically used for out-of-band testing and reconnaissance. This results in unauthorized exfiltration of identifying information from the installation environment without user consent.
Potential Impact
Unauthorized collection and exfiltration of sensitive system and user environment information occurs during package installation. This compromises user privacy and may aid attackers in reconnaissance or further exploitation. The malicious behavior activates automatically on install, potentially affecting all users who install the affected versions.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing the affected versions (=1.0.0, =1.0.1, =18.2.1) of the crosswalker package. Monitor for updates or advisories from the package maintainers or npm security teams. Consider using package integrity verification tools and audit dependencies before installation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2024-2031
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-9wxp-r2hc-p64q"]
- Ecosystems
- ["npm"]
Threat ID: 6a96f319acd9273b49e496e7
Added to database: 09/01/2026, 15:45:29 UTC
Last enriched: 09/08/2026, 09:37:47 UTC
Last updated: 09/08/2026, 09:37:47 UTC
Views: 3
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.