TanStack Npm Packages Compromised Inside The Mini Shai Hulud Supply Chain Attack
2026-05-12T08:51:59Z•cd77ccfbbdcd2b67838e6dbeeafdfa8ddbb729acb09dc6bb156abd17c0cca72d
CVE-2026-40478attestationbuncache-poisoningcredential-stealergithub-actionsmini-shai-huludnpmoidc-token-extractionpypisapslsasupply-chaintanstackthymeleaf
What happened
Snyk reported a coordinated supply-chain campaign (self-branded “Mini Shai‑Hulud”) that compromised multiple package ecosystems in late Apr–May 2026. The campaign used a chained attack against GitHub Actions — a “Pwn Request”, cache poisoning, and OIDC token extraction from runner memory — to inject malicious payloads into 84 npm artifacts across 42 @tanstack/* packages (and other scopes), producing the first npm supply‑chain compromise with valid SLSA Build Level 3 attestations. Related activity includes a malicious PyPI release (lightning) shipping a Bun‑based credential stealer and earlier,
Why it matters
A reviewed impact interpretation has not been published for this record.
Evidence and limitations
- Source ID
- snyk_blog
- Record identifier
- cd77ccfbbdcd2b67838e6dbeeafdfa8ddbb729acb09dc6bb156abd17c0cca72d
- Enrichment time
- 2026-05-12T08:51:59Z
- AI-assisted enrichment
- Yes
This record may overlap with other records. Its enrichment can be incomplete or wrong, and machine assistance was used. Validate consequential decisions against the linked source and your own environment.