HOME
[kal_foundry] services work about team get a quote ↗

tanstack npm compromise: ci cache poisoning shipped 84 bad versions

Attackers chained a GitHub Actions workflow flaw, cache poisoning and an OIDC token pulled from runner memory to publish 84 malicious versions of TanStack Router and Start packages straight to npm; StepSecurity tied it to a wider self-spreading wave.

supply chain 2 sources · 1 primary 1 min read
// at a glance
affected
42 @tanstack/* packages, 84 versions (Router/Start repo only; Query, Table, Form and others not affected)
look for
router_init.js (~2.3 MB) in the package root; @tanstack/setup optionalDependency pointing at a github:tanstack/router commit
exploited
yes — malicious versions published to npm on 11 May 2026
status
TanStack declared all clear on 15 May 2026; all currently published versions are safe

what happened

sources2

  1. 01
    Postmortem: TanStack npm supply-chain compromise ↗ primaryTanStackaccessed 2026-10-21
  2. 02
    TeamPCP's Mini Shai-Hulud Is Back: A Self-Spreading Supply Chain Attack Compromises TanStack npm Packages ↗ secondaryStepSecurityaccessed 2026-10-21