Second Sha1-Hulud Wave Affects 25,000+ Repositories via npm Preinstall Credential Theft
Summary: A second npm supply chain campaign, dubbed Sha1-Hulud, trojanized packages uploaded between November 21 and 23, 2025, including popular packages from Zapier, ENS Domains, PostHog, and Postman, with nine security vendors reporting on it. The malware adds a preinstall script that installs or locates the Bun runtime and runs a bundled script to scan machines with TruffleHog for npm tokens, AWS/GCP/Azure credentials, and environment variables, affecting over 27,000 repositories across about 350 unique users.
Key Takeaway: The payload includes a fail-safe that attempts to destroy the victim's entire home directory if it cannot steal credentials or establish exfiltration, turning a theft campaign into punitive sabotage. With 1,000 new repositories added every 30 minutes at its peak, the blast radius is measured in build servers that execute the infected package automatically, with no human interaction required.
Read the original at The Hacker News ↗
- Topics
- Supply Chain & AppSec
- Related
- Kitesurf is now open source Cyber Risks · Nov 13, 2026Trained to betray: How post-training supply chain attacks hijack coding agents Cyber Risks · Nov 12, 2026ZDI-26-913: (0Day) Meta fairseq load_audio_path Code Injection Remote Code Execution Vulnerability Cyber Risks · Nov 11, 2026