Tensorlake published GHSA-8g63-53c9-65j2 on October 8. Version 0.5.144 of the tensorlake npm package was published with a compromised maintainer account. It was not an authorized release. The attacker pushed code to the repository and published it through Tensorlake’s own release workflow, so the package carries valid npm provenance. Same lesson as the AsyncAPI incident in July: a green provenance check can describe a bad commit that the real pipeline built.
The package was live for about 1 hour and 40 minutes, 01:12 to 02:54 UTC. Only the npm package was affected. PyPI, crates.io, and the Tensorlake CLI were not. Tensorlake says it watches SDK usage through user-agent headers and has not seen usage of this version since the release. That is their telemetry, not a guarantee about your CI cache.
The order of operations matters
The payload was obfuscated JavaScript and ran from a preinstall hook. Tensorlake says it harvested GitHub and npm tokens, cloud credentials, Kubernetes and Vault tokens, SSH and GPG keys, .env files, browser-saved passwords, cryptocurrency wallets, and AI-tool configuration. Stolen tokens were used to republish the payload into other npm packages and repositories the victim could write to.
It also installs a persistent service named gh-token-monitor that deletes the user’s home directory if the stolen GitHub token is revoked. Remove that service before you rotate the GitHub token. The advisory has the exact removal steps for Linux, macOS, and Windows. I am not copying them here, because a slightly wrong command is worse than the link. Then, from a different, clean machine, rotate everything that compromised machine could see. Check lockfiles for tensorlake@0.5.144 and for tensorlake-native packages at 0.5.144. Check CI logs for installs that resolved to 0.5.144 in that UTC window.
Version 0.5.143 and earlier are unaffected, they say. Downgrade to 0.5.143 now, or move to 0.5.145 once it is published. npm list tensorlake is the local check.
A one-hour window is long enough for a scheduled build. Pin versions, and do not treat provenance as approval of the release. If a machine did install 0.5.144, follow their order: service off, then tokens, from a clean host.
Also look at packages that machine was allowed to publish. Tensorlake says stolen tokens were used to republish the payload into other projects the victim could write. Your own private packages and any repo that token could push are part of the blast radius, not an afterthought once GitHub is rotated. Check recent publishes and commits you do not remember before you call the incident contained.
If an AI-built app is installing packages you have not pinned, this is the week to stop and look. That cleanup is Prototype to Production. Write russ@intelligencesimplified.com if you want a second person on the lockfile before anyone revokes a token.