A massive supply-chain attack has compromised dozens of official npm packages, including 42 TanStack packages (tanstack/react-router alone has >12 million weekly downloads) and expanded to Mistral AI, OpenSearch, Guardrails AI, UiPath, and Squawk packages across npm and PyPI.
The attacker forked repositories, pushed hidden commits, and tricked release pipelines into publishing cryptographically signed malicious versions. The payload steals GitHub tokens, SSH keys, cloud credentials, and more — then installs a dead-man’s switch: if the stolen token is revoked, it nukes the entire home directory.
Even worse: it hooks directly into Claude Code (.claude/settings.json) and VS Code (.vscode/tasks.json) so the malware re-executes on every tool event. npm uninstall does NOT remove it.