Shai-Hulud 2.0 npm Supply Chain Attack Compromises Trust Wallet and Cloud Credentials
A sophisticated supply chain attack, dubbed Shai-Hulud 2.0, targeted the npm JavaScript ecosystem by compromising maintainer accounts of widely used packages. Attackers injected malicious scripts into the preinstall phase of these packages, enabling the theft of credentials from developer environments, CI/CD pipelines, and cloud-connected workloads. The campaign led to the compromise of over 25,000 GitHub repositories and the exposure of hundreds of cloud credentials, affecting major organizations such as Zapier, PostHog, Postman, and Trust Wallet. Blockchain forensics confirmed that secrets stolen in this campaign were used to drain digital wallets, resulting in a confirmed $8.5 million theft from Trust Wallet. The attack's automation and worm-like propagation highlighted the urgent need for improved supply chain security and credential hygiene in cloud-native environments.
Security researchers have identified new variants of the Shai-Hulud malware, indicating ongoing development and testing by threat actors. The campaign's technical sophistication included phishing tactics to capture npm maintainer credentials and modifications to payloads for improved evasion and error handling. While the most significant financial impact was observed in the Trust Wallet breach, the broader campaign demonstrated the potential for widespread compromise across the open-source software supply chain. Multiple security vendors have independently verified the attack chain, emphasizing the critical risks posed by supply chain attacks in modern software development.

Get ahead of threats like this
Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
How this story unfolded
7 events from the most recent confirmed update back to the earliest known activity.
Trust Wallet discloses $8.5 million theft and starts reimbursements
Trust Wallet publicly disclosed that the Shai-Hulud-linked Chrome extension compromise affected about one million users and resulted in roughly $8.5 million in losses. The company said it had added security controls and begun reviewing reimbursement claims for affected users.
Researchers identify a new Shai-Hulud variant in testing
Aikido researchers discovered a new Shai-Hulud malware variant targeting npm, with changes to the initial file, main payload, and improved error handling for TruffleHog. They found no evidence of widespread infection or propagation and noted no new linked packages or repositories since December 10, 2025.
Wallet-draining activity begins after malicious Trust Wallet update
The first wallet-draining activity was reported the day after the malicious extension update, with attackers ultimately draining about 2,520 wallet addresses to 17 attacker-controlled addresses. The theft totaled approximately $8.5 million in cryptocurrency assets.
Attackers push trojanized Trust Wallet Chrome extension update
Using stolen access, attackers uploaded a malicious Trust Wallet Chrome extension update to the Chrome Web Store on Christmas Eve. The update was designed to harvest users' wallet mnemonic phrases and facilitate cryptocurrency theft.
Shai-Hulud 2.0 scales to over 700 npm packages and 25,000 repositories
Researchers and vendors reported that Shai-Hulud 2.0 automated worm-like propagation across the npm ecosystem, compromising more than 700 npm packages and over 25,000 GitHub repositories. Microsoft and Wiz characterized it as one of the most severe supply-chain attacks affecting the JavaScript and cloud-native ecosystem.
Trust Wallet says Shai-Hulud attack compromised its Chrome extension
Trust Wallet disclosed that the broader Shai-Hulud supply-chain attack in November 2025 led to the compromise of its Google Chrome extension source code and Chrome Web Store API key through leaked GitHub secrets. The intrusion enabled attackers to prepare and distribute a trojanized browser extension.
Shai-Hulud campaign compromises maintainer accounts in npm ecosystem
Attackers began a supply-chain campaign by compromising npm package maintainer accounts, often via phishing, and injecting malicious preinstall scripts to harvest credentials and enable persistence. The activity ultimately affected hundreds of packages and thousands of repositories across the JavaScript and cloud-native ecosystem.
Related entities
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
Sources
4 references tracked. Mallory keeps watching after this page renders.
Shai-Hulud 2.0 npm Supply Chain Attack Exposes Trust Wallet: $8.5 Million Stolen in Major Cloud-Native Breach
rescana.com
Open sourceThe Christmas Heist: How Shai-Hulud Hijacked Trust Wallet for an $8.5M Score
securityonline.info
Open sourceTrust Wallet Chrome Extension Hack Drains $8.5M via Shai-Hulud Supply Chain Attack
thehackernews.com
Open sourceResearchers Spot New Shai Hulud Variant
bankinfosecurity.com
Open sourceSee the full picture, correlated to your attack surface.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.


