Skip to content
MediumNews

Shai Hulud attack ships signed malicious TanStack, Mistral npm packages

Published
Record updated
View JSON

Summary

A new Shai-Hulud supply-chain campaign, attributed to the TeamPCP threat group, has compromised hundreds of npm and PyPI packages, including dozens of TanStack and Mistral AI packages, then spread to projects such as Guardrails AI, UiPath, and OpenSearch. The attackers chained a risky pull_request-target workflow, GitHub Actions cache poisoning, and OIDC token theft from runner memory to publish 84 malicious versions across 42 TanStack packages that carried valid provenance attestations. The payload steals developer and cloud credentials and writes itself into Claude Code hooks and VS Code auto-run tasks, so uninstalling the packages does not remove it.