Article
TanStack worm: CI questions every team should ask
The TanStack npm worm chained a risky workflow, cache poisoning and a short-lived token. See the CI and monitoring questions a security lead should…
Quick links
Press Enter to search, Esc to close
Malware profile
Shai-Hulud is a self-replicating worm that spreads through npm packages and code repositories.
In short
Shai-Hulud is a self-replicating worm that spreads through npm packages and code repositories. It steals credentials and access tokens from developer and build accounts, then uses them to publish infected package versions. CISA reported over 500 npm packages compromised in September 2025.
The worm runs when an infected package is installed. It looks for tokens and keys on the machine, then uses them to push the same code into more packages that the victim account can publish.
GitHub describes a multi-wave campaign. The second wave, called Shai-Hulud 2.0, added destructive functionality and a stronger focus on build environments. CERT-EU describes the ChainDrop malware in the Keyv npm maintainer account takeover as based on Shai-Hulud.
Public sources use several names for this malware.
| Name | Where it appears |
|---|---|
| Shai-Hulud | MITRE ATT&CK software S9008 and the CISA alert of 23 September 2025[1, 2] |
| Shai-Hulud 2.0 | Name GitHub uses for the second wave of the campaign[4] |
What MITRE ATT&CK lists this malware as doing, by tactic. Each id opens our technique page where one exists, otherwise MITRE.
Steal Application Access Token T1528
It steals access and API tokens from CI/CD tools and code repositories.[1, 2]
Unsecured Credentials: Credentials In Files T1552.001
It reads environment variables, cloud credential files and npm and GitHub configuration files to collect secrets.[1]
Credentials from Password Stores: Cloud Secrets Management Stores T1555.006
It collects secrets from AWS Secrets Manager, GCP Secret Manager and Azure Key Vault.[1]
Shai-Hulud spreads by installing malicious code in npm packages. When a package is installed, the code runs, collects tokens, and uses them to log in to the npm registry as the compromised developer and publish infected versions of other packages. GitHub also says the attacker can hold stolen tokens and start a new campaign weeks or months later.
MITRE describes Shai-Hulud as a supply chain worm first reported in September 2025.[1]
GitHub says it was notified of the Shai-Hulud attack, a worm spreading through compromised npm maintainer accounts.[3]
GitHub says it removed over 500 compromised packages and blocked uploads of packages containing the malware indicators. It also announced changes to npm publishing.[3]
CISA released an alert on the supply chain compromise, reporting over 500 compromised packages and giving recommendations.[2]
GitHub describes a multi-wave campaign and says the second wave, Shai-Hulud 2.0, added destructive functionality and a focus on build environments.[4]
MITRE describes it as a supply chain worm, first reported in September 2025, that spreads through code repositories including GitHub and npm packages.
CISA reported that the worm compromised over 500 packages on the npm registry.
CISA says it targeted GitHub personal access tokens and API keys for AWS, GCP and Azure.
No source used here names a group. MITRE lists no group for Shai-Hulud.
CISA advises a dependency review, pinning to versions from before 16 September 2025, rotating all developer credentials and requiring phishing-resistant MFA.
Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.