Skip to main content

BRIDGEHEAD: An npm typosquatting campaign that crosses from WSL into Windows to plant a crypto-wallet stealer

0
Medium
Published: 08/20/2026 (08/20/2026, 17:08:20 UTC)
Source: AlienVault OTX General

Description

BRIDGEHEAD is a supply-chain typosquatting campaign discovered in August 2026 that distributed 40 malicious npm packages impersonating popular libraries such as chalk, axios, and lodash. These packages contained install scripts that detect Windows or Windows Subsystem for Linux (WSL) environments and download a 22MB Rust-based executable from GitHub. The payload executes entirely in memory without writing files to disk and targets cryptocurrency wallets, browser credentials, cookies, and Telegram sessions. The campaign leverages legitimate services for reconnaissance and data exfiltration, complicating detection and takedown efforts. Although the malicious npm packages were removed within 84 minutes, the GitHub-hosted payload remained active for 39 hours, and the command-and-control server continued operating. This campaign specifically targets developers using WSL by crossing from Linux environments into Windows systems.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/11/2026, 03:33:17 UTC

Technical Analysis

In August 2026, an attacker published 40 typosquatted npm packages mimicking popular JavaScript libraries. Each package included an install script that profiles the host environment and, upon detecting Windows or WSL, downloads a 22MB Rust-based executable from GitHub. This payload runs entirely in memory, avoiding disk writes, and targets sensitive data including cryptocurrency wallets, browser credentials, cookies, and Telegram sessions. The malware uses legitimate services for reconnaissance and exfiltration, making detection and takedown difficult. While the npm packages were removed within 84 minutes, the GitHub payload persisted for 39 hours, and the command-and-control infrastructure remained active beyond that. The campaign exploits the boundary between WSL and Windows to compromise developer machines.

Potential Impact

The campaign enables attackers to steal high-value credentials and cryptocurrency wallets from compromised developer machines. In-memory execution and use of legitimate services reduce detection likelihood. Persistence of the GitHub-hosted payload and command-and-control infrastructure after removal of the npm packages extends the exposure window. This can result in credential theft, session hijacking, and financial loss for affected users.

Defensive Guidance

The malicious npm packages were removed within 84 minutes, but the GitHub-hosted payload and command-and-control servers remained active for longer periods. Users should avoid installing packages from untrusted or suspicious sources, particularly typosquatted packages mimicking popular libraries. Monitoring for unusual network activity related to GitHub-hosted executables and blocking known command-and-control domains can help reduce risk. Verifying package integrity and using package signing or lockfiles is recommended to mitigate supply-chain risks. Patch status is not applicable as this is a campaign leveraging social engineering and supply-chain abuse rather than a software vulnerability.

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

Technical Details

Author
AlienVault
Tlp
white
References
["https://www.cloudsek.com/blog/bridgehead-npm-typosquatting-wsl-windows-crypto-wallet-stealer"]
Pulse Id
6a8734846b4cc1afd4bde567

Indicators of Compromise

Hash

ValueDescriptionCopy
hash6f088ade49456db2422c3edfbb9998f4a3e9cce7c4c00a7279fb45d672a82b7d
—
hash52c11f246309cce5556a00408bafb9868622114903dbd8128dc4ce3eca2df27a
—
hash6888d4c54ef2b5bf23889f9637c2efe77e1d2af4724d315b73d646cf5547dc73
—

Threat ID: 6a878fb4acd9273b49493df2

Added to database: 08/20/2026, 23:37:24 UTC

Last enriched: 09/11/2026, 03:33:17 UTC

Last updated: 10/04/2026, 07:20:22 UTC

Views: 180

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.

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

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