Tensorlake npm Package Compromised: A Worm With a Hostage Token That Wipes Your Machine If You Revoke It (opens in a new tab)
Why readExposes a malicious npm package that steals credentials and deletes the user home directory if the stolen token is revoked.
StepSecurity detailed a supply-chain attack where version 0.5.144 of the tensorlake npm package was published via compromised maintainer access. The package steals credentials, establishes persistence in VS Code and Claude Code configurations, and drops a monitor task that wipes the local home directory if the compromised GitHub token is invalidated. Defenders must clean the local background monitor before revoking compromised credentials and pin tensorlake to version 0.5.143.
Indicators2
- Hashes
25a0735d0db7dc40e5d45ce42d9c106067e6a66e184d967cfecfab17c3bcb5efb50a00900399ba99fb6ce1fc151519cb99d44320ef2a631f2237e1aea0ad6fec