A sophisticated supply chain attack dubbed "Mini Shai-Hulud" has compromised at least 84 npm packages within the TanStack ecosystem, including the widely used @tanstack/react-router with over 12 million weekly downloads. The attackers injected credential-stealing malware into popular packages by exploiting GitHub Actions' pull_request_target pattern, cache poisoning, and OIDC token extraction from runner memory. Although no npm tokens were stolen and the main publish workflow remained secure, malicious versions were published across 42 @tanstack/ packages within six minutes on May 11, 2026.
The attack is part of a broader campaign that has also impacted UiPath, Mistral AI, OpenSearch, Guardrails AI, and the PyPI ecosystem. Threat actor TeamPCP is believed to be behind the operation, which uses obfuscated JavaScript to profile execution environments and steal credentials from cloud providers, cryptocurrency wallets, AI tools, messaging apps, and CI systems. Stolen data is exfiltrated to "filev2.getsession.org" via Session Protocol and encrypted fallback to attacker-controlled GitHub repositories. The malware also establishes persistence in Claude Code and VS Code IDEs and monitors GitHub tokens for re-exfiltration.
In related developments, a TeamPCP-linked forum account is claiming to sell approximately 5GB of alleged internal Mistral AI repositories—including about 450 projects related to training, inference, and AI development. The listing appeared shortly after the Mini Shai-Hulud attacks on Mistral AI-associated packages. While the authenticity of the repositories has not been publicly verified, the names match internal engineering environments. TeamPCP has a history of targeting AI infrastructure through package poisoning.
Mistral AI has also announced the acquisition of Emmi AI to bolster its industrial engineering capabilities, signaling ongoing growth despite the security incident.