When a Supply-Chain Attack on npm Becomes a War of Attrition: TanStack, GitHub, and Grafana
The TanStack npm supply-chain attack, delivered via the Shai-Hulud malware campaign by the threat group TeamPCP , is the kind of cascading failure that exposes how brittle the entire developer toolchain has become. What started as compromised npm packages in early May 2026 snowballed into the compromise of 3,800 GitHub internal repositories and a breach of Grafana's own codebase — two of the most consequential security incidents to hit major infrastructure providers in months. The attack chain is methodical and well-documented. On May 19 , Nx developers revealed they were investigating a malicious version of Nx Console 18.95.0 — the official VS Code extension for managing monorepos and multi-project codebases — that had been live on the Visual Studio Marketplace for approximately 18 hours. The extension carried an embedded credential-stealing module designed to harvest secrets from developer environments. But this wasn't an isolated incident; the Nx Console compromise was i...