Shai-Hulud Worm and Related Malicious NPM Package Attacks Targeting Software Supply Chains
Supply Chain Risk · 3 sources · Updated 5mo ago · First seen Oct 6, 2025

A large-scale supply chain attack has targeted the Node Package Manager (NPM) ecosystem, compromising hundreds of widely used JavaScript packages and threatening the security of software development pipelines globally. In mid-September, cybersecurity researchers identified a self-propagating malware dubbed "Shai-Hulud," which was distributed through trojanized NPM packages, including some with millions of weekly downloads and high-profile packages such as those from CrowdStrike. The attack leveraged a malicious "bundle.js" script that downloaded and executed TruffleHog, a legitimate credential scanner, to harvest developer and CI/CD tokens, cloud service credentials, and environment variables from compromised systems. The stolen credentials were exfiltrated via hard-coded webhooks and GitHub Actions workflows, enabling the attacker to further propagate the malware and gain unauthorized access to sensitive resources. The campaign affected both Windows and Linux systems, increasing its reach and impact across diverse development environments.
Sysdig reported that the attack on September 15 involved approximately 200 compromised packages, including @ctrl/tinycolor, and was linked to an attacker who had previously targeted Nx packages in late August. The worm not only stole secrets but also published them publicly on GitHub and attempted to make victim repositories public, amplifying the risk of further compromise. Earlier in the month, other popular packages such as chalk, debug, and duck were also compromised following a successful spear phishing attack against a maintainer, with the attacker seeking to redirect cryptocurrency payments. NPM responded by removing the malicious package versions, but users were required to update or revert to secure versions to mitigate the risk. Sysdig provided same-day threat intelligence and detection capabilities to its customers, including open source Falco rules to identify and respond to the threat.
The attack demonstrated the vulnerability of even the most trusted and widely used open source packages, highlighting the importance of continuous monitoring and rapid response in the software supply chain. Security researchers and vendors emphasized the need for organizations to scan their environments for known malicious packages, such as dist.fezbox.cjs, and to review logs for signs of credential exfiltration. The incident underscored the evolving tactics of threat actors targeting developer ecosystems, using advanced techniques to automate propagation and maximize impact. Organizations relying on NPM packages and CI/CD pipelines were urged to remain vigilant, update dependencies promptly, and leverage threat intelligence resources to defend against similar attacks. The Shai-Hulud campaign remains an evolving threat, with ongoing analysis and mitigation efforts by the security community. This incident serves as a stark reminder that popularity and trust in open source packages do not guarantee safety, and proactive security measures are essential to protect software supply chains from compromise.
Why it matters
Impact assessment
A large-scale software supply chain compromise affected the NPM ecosystem and downstream development pipelines that consume JavaScript packages, with exposure spanning developer workstations, CI/CD runners, and package maintainer accounts on both Windows and Linux. Impact is high because the malware targeted secrets theft and automated propagation, creating risk of source-code exposure, unauthorized package publication, cloud account compromise, and reputational damage for maintainers and software vendors.
The scope appears widespread rather than narrowly targeted: reporting cited more than 187 compromised packages, with some packages having millions of weekly downloads and including developer-facing packages published by CrowdStrike. There are reported incidents of exploitation in the wild, including credential theft, public posting of stolen secrets on GitHub, and attempts to make victim repositories public.
Supporting facts
- Affected ecosystem: NPM / JavaScript software supply chain.
- Affected populations: package maintainers, developers, CI/CD environments, and organizations consuming compromised packages.
- Affected platforms: Windows and Linux.
- Reported scale: approximately 187-200 compromised packages.
- High-profile entities named: CrowdStrike package publishers; article states this was not a breach of CrowdStrike Falcon platform or CrowdStrike corporate network.
- Business impact vectors:
- Theft of developer and CI/CD tokens
- Theft of cloud credentials and environment variables
- Unauthorized republishing of packages
- Potential downstream compromise of customer build pipelines
- Public disclosure of stolen secrets on GitHub
- Attempts to change repository visibility to public
- Threat activity was active in the wild and self-propagating after token compromise.


