Ashishkurmi

#13878of 55,126
19.8Total CVSS
Vulnerabilities · 2
Critical
2
PT-2026-39905
10
2026-05-12
Npm · @Tanstack/* · CVE-2026-45321
**Name of the Vulnerable Software and Affected Versions** @tanstack/* packages (affected versions not specified) **Description** An attacker published 84 malicious versions across 42 `@tanstack/*` packages to the npm registry. The attack was executed by chaining three vulnerability classes: a `pull request target` misconfiguration (known as a Pwn Request), GitHub Actions cache poisoning across the fork-base trust boundary, and runtime memory extraction of the OIDC token from the Actions runner process. This allowed the attacker to publish credential-stealing malware under a trusted identity with valid SLSA Build Level 3 provenance attestations. Upon installation, the affected packages execute an obfuscated JavaScript file named `router init.js` that harvests sensitive data, including AWS, GCP, and Kubernetes credentials, GitHub and npm tokens, SSH private keys, and cryptocurrency wallets. The stolen data is exfiltrated via the Session/Oxen messenger network to endpoints such as `filev2.getsession.org`. The malware is self-propagating; it identifies other packages maintained by the victim and attempts to republish them with the same malicious injection. It can also establish persistence in Claude Code and Microsoft Visual Studio Code (VS Code) and install a service named `gh-token-monitor` to continuously steal GitHub tokens. **Recommendations** At the moment, there is no information about a newer version that contains a fix for this vulnerability. Pin every `@tanstack/*` dependency to a known-good version published before 2026-05-11 19:00 UTC. Delete `node modules` and the lockfile, then reinstall to ensure no transitive dependency resolves to a malicious version. Configure npm to skip lifecycle scripts on install by setting `npm config set ignore-scripts true` as a temporary defense-in-depth measure. Rotate all credentials, secrets, and tokens accessible to any environment that ran an installation of `@tanstack/*` packages between 19:20 and 19:30 UTC on 2026-05-11.