TanStack Npm Packages Compromised Inside The Mini Shai Hulud Supply Chain Attack

2026-05-12T20:52:02Z3b43d3a15fb19eaa47040175e3eabad18e9ed193b8cc9fa0709bffeb5e214014
advisorybuncache-poisoningcredential-stealergithub-actionsincident-responsenpmoidc-token-theftpypisapslsasupply-chaintanstacktemplate-injectionthymeleaf

What happened

Snyk reports a multi-part supply-chain campaign dubbed “Mini Shai-Hulud” (April–May 2026) that compromised 84 npm artifacts across 42 @tanstack/* packages (and several other namespaces) by chaining a GitHub Actions “Pwn Request,” cache poisoning, and OIDC token extraction from runner memory. The attacker produced malicious releases that carried valid SLSA Build Level 3 attestations — the first known npm supply-chain compromise with valid attestations — and delivered a Bun-based credential stealer (also observed in a malicious PyPI lightning release) that exfiltrates credentials on import. Snyk

Why it matters

A reviewed impact interpretation has not been published for this record.

Evidence and limitations

Source ID
snyk_blog
Record identifier
3b43d3a15fb19eaa47040175e3eabad18e9ed193b8cc9fa0709bffeb5e214014
Enrichment time
2026-05-12T20:52:02Z
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.