Tensorlake npm Compromise Spreads Credential-Stealing Worm With Destructive Token Monitor
Malware Intelligence · 16 sources · Updated 23d ago · First seen Oct 8, 2026

The npm package tensorlake version 0.5.144 was compromised with install-time malware that steals developer credentials and browser data and attempts to spread through npm packages and GitHub repositories. StepSecurity reported that malicious commits were pushed directly to tensorlakeai/tensorlake under a maintainer identity, after which the repository’s release workflow published the package with a valid npm provenance attestation. Aikido identified the payload as a Shai-Hulud worm variant and assessed it as likely a new compromise rather than reinfection from an earlier wave. The malware skips CI environments, targets developer machines, and establishes persistence through Claude Code and VS Code configuration files. It exfiltrates encrypted secrets through attacker-created public GitHub repositories or iseekaigogo.com, with command-and-control discovery using Ethereum transaction data.
A background service named gh-token-monitor checks a GitHub token every 60 seconds for up to 24 hours and deletes the user’s home directory if GitHub rejects the token, making credential revocation potentially destructive while the monitor remains active. Affected organizations should remove the monitor before revoking credentials, treat infected systems as fully compromised, and then urgently rotate exposed credentials. StepSecurity recommends pinning tensorlake to 0.5.143 and investigating repository modifications and other propagation indicators. Aikido found no evidence of malicious publishing to PyPI or Cargo. The compromised release demonstrates that valid package provenance can accompany malicious code when the source repository and its authorized release path are compromised.


