🚨🚨Review of Shai-Hulud-style malware🚨🚨
It steals local/env/cloud/CI secrets, exfiltrates to `git-tanstack[.]com/router`, then falls back to GitHub by creating public repos and committing encrypted `results/results-*.json`.
Containment order matters:
1. Disconnect host from network.
2. Remove `gh-token-monitor` persistence before revoking GitHub tokens.
3. Kill suspicious Node/Bun processes.
4. Remove repo backdoors:
- `.vscode/tasks.json`
- `.vscode/setup.mjs`
- `.claude/settings.json`
- `.claude/setup.mjs`
- `.claude/opensearch_init.js`
5. Then rotate GitHub, npm, AWS, K8s, Vault, SSH, Docker, cloud, and `.env` secrets.
GitHub IOCs:
- branch `dependabot/github_actions/format/setup-formatter`
- workflow `.github/workflows/codeql_analysis.yml`
- workflow name `Run Copilot`
- artifact `format-results`
- public Dune-themed repos with `results/results-*.json`
npm IOCs:
- `preinstall: node setup.mjs`
- suspicious package republish/version bump
- injected optional dependency `@opensearch/setup`
Key warning: it includes a token monitor that may trigger destructive behavior when a GitHub token is revoked, so isolate and remove persistence first.
‼️🚨 BREAKING: A new npm supply-chain attack uses a dead-man's switch. The payload plants a watcher on your machine that nukes your home directory the second you revoke the GitHub token it stole from you.
The compromise happened today, across 42 official tanstack npm packages, 84 malicious versions in total. tanstack/react-router alone pulls more than 12 million weekly downloads.
The attacker forked TanStack's repository and pushed a single hidden commit. From there, they tricked TanStack's own release system into signing the malicious packages as if they were the real thing. To npm, and to anyone checking the cryptographic proof of origin (SLSA provenance), the poisoned versions looked 100% legitimate.
Maintainer Tanner Linsley confirmed the whole team had 2FA enabled. It didn't matter. This is the first documented npm worm in history that ships with a valid, signed certificate of authenticity, the same one defenders rely on to know a package wasn't tampered with.