Skip to main content

Malicious code in crosswalker (npm)

0
High
Published: 06/25/2024 (06/25/2024, 12:34:37 UTC)
Source: GCVE Database
Product: crosswalker

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

crosswalker
pkg:npm/crosswalker
Affected versions
=1.0.1=1.0.0=18.2.1

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

AILast updated: 09/08/2026, 09:37:47 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses