npm ecosystem (Shai-Hulud 2.0 worm)
First reported · last checked
A self-propagating worm trojanized roughly 700 to 800 npm packages starting around 24 November 2025, including packages maintained by Zapier, ENS Domains, PostHog and Postman. The malware ran at install time, harvested developer and cloud credentials, and published them to more than 25,000 attacker-created GitHub repositories across several hundred compromised accounts. PostHog called it the largest security incident in its history and said a CI workflow mistake let the attacker steal its npm publishing token.
- Affected
- roughly 700 to 800 npm packages; more than 25,000 GitHub repositories containing stolen secrets across several hundred accounts
- Data involved
- GitHub access tokens, npm publishing tokens, AWS, GCP and Azure credentials, GitHub Actions and cloud secret-manager secrets
- Confirmed by
- Wiz research; PostHog post-mortem; affected maintainers
- Attributed to
- Unknown
- Disclosed by the organization
- No public disclosure of its own
What has happened since
- GitHub had reduced the number of public repositories containing leaked secrets to about 300, per Wiz.
Sources
- Sha1-Hulud 2.0 Supply Chain Attack: 25K+ Repos Exposed (opens in a new tab)
Wiz · Nov 24, 2025
- PostHog admits Shai-Hulud 2.0 was its biggest security scare (opens in a new tab)
The Register · Nov 28, 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.