npm ecosystem (Shai-Hulud worm)
First reported · last checked
A self-replicating worm named Shai-Hulud began spreading through the npm package registry on 14 September 2025. When a developer installed an infected package, it harvested GitHub, npm and cloud credentials, published them to public GitHub repositories and used stolen npm tokens to push infected versions of that developer's other packages. Researchers confirmed 187 infected packages within two days and the total passed 500, prompting GitHub to search repositories for exposed secrets and tighten npm publishing security. A second wave in November 2025 exposed stolen secrets in more than 25,000 GitHub repositories.
- Affected
- more than 500 npm packages in the September 2025 wave; number of affected developers and organizations unknown
- Data involved
- GitHub personal access tokens, npm publishing tokens, AWS, Google Cloud and Azure credentials, contents of private repositories made public
- Confirmed by
- Independent analyses by ReversingLabs, Wiz, Aikido Security, StepSecurity and Socket; GitHub remediation as reported by The Register; a CISA alert of 23 September 2025 is cited in secondary reporting
- Attributed to
- Unknown
- Disclosed by the organization
- No public disclosure of its own
What has happened since
- A second wave was reported: more than 25,000 GitHub repositories had published stolen secrets, with packages from Zapier, AsyncAPI, ENS Domains, PostHog and Postman among those affected.
Sources
- Self-replicating worm hits 180+ npm packages in (largely) automated supply chain attack (opens in a new tab)
Help Net Security · Sep 16, 2025
- Wormable npm attack returns as 25,000 repos spill secrets (opens in a new tab)
The Register · Nov 24, 2025
This summary is Skillthropic's own, written from the sources above. Figures and attribution can change as an investigation continues, so check the organization's own notice before relying on a number. Being listed means the incident was confirmed; it is not a judgment about the organization. If something here is wrong or out of date, tell us and we will correct it.
Which control would have stopped this one?
That question is most of the Security+ exam. Ten free questions, scored by domain, show where you stand.