Shai-Hulud: Self-Replicating Worm Compromises 180+ npm Packages to Steal Developer Secrets
A large-scale supply chain attack has hit the npm ecosystem, with over 40 packages confirmed compromised and more than 180 potentially impacted. The campaign, dubbed “Shai-Hulud,” uses a self-replicating worm that injects malicious JavaScript into package.json files, republishes them, and spreads to downstream dependencies. The malware scans developer machines for secrets like GitHub, npm, and AWS tokens using TruffleHog, then exfiltrates them to an attacker server. It can also create GitHub Actions workflows to continue stealing data through CI/CD pipelines. The attack began with a malicious version of rxnt-authentication
published on September 14, 2025, and multiple security firms are working to contain it. Developers using affected packages are urged to rotate credentials, audit environments, and update to clean versions immediately.
https://thehackernews.com/2025/09/40-npm-packages-compromised-in-supply.html
Comments
Post a Comment