tensorlake 0.5.144 on npm carried a credential-stealing worm that ran during install, found by Socket and Aikido on 8 October 2026.
Version 0.5.144 of the tensorlake npm package, the JavaScript SDK for Tensorlake, carried a credential-stealing worm. It runs during install, so a project that never imports the SDK still runs the malware.
What happened
A new tensorlake release went to npm with a hidden install hook.
- Aikido reports that an actor made verified commits as a maintainer and added the malicious code in commit
41b38f0on 7 October 2026. - The
preinstallhook runsnode lib/setup.mjs, an obfuscated loader. - The loader drops the Bun runtime and uses it to run
lib/Math_Symbol.js, a scrambled Shai-Hulud worm. - The worm collects npm, GitHub, AWS, Vault, Kubernetes and SSH credentials,
.envfiles, crypto wallets and AI assistant configs. - It republishes poisoned versions of the victim's own packages.
The release went to npm on 8 October 2026 at 01:12:07 UTC. Socket flagged it about 11 minutes later.
Affected versions
tensorlake0.5.144: malicious. Published 8 October 2026 at 01:12:07 UTC.- npm no longer serves 0.5.144. The registry shows a
0.0.1-securityplaceholder. - The six
tensorlake-native-*packages at 0.5.144 came from the same release run. Endor Labs found no payload in them but says to treat them as affected. - Endor Labs names 0.5.143 and earlier as clean.
Indicators of compromise
- Package:
tensorlake@0.5.144. lib/setup.mjsSHA-256:25a0735d0db7dc40e5d45ce42d9c106067e6a66e184d967cfecfab17c3bcb5ef.lib/Math_Symbol.jsSHA-256:b50a00900399ba99fb6ce1fc151519cb99d44320ef2a631f2237e1aea0ad6fec.- Server domain:
iseekaigogo[.]com. - Ethereum address used to look up the server:
0xb614155Fd88114d40549b259457Bcf921Df091B9. - Ethereum wallet that updated the contract:
0x779f83aE56309682beDb04816c19d358c4B21040. - First malicious commit:
e90c47bbb2. - Linux persistence: systemd user service
gh-token-monitor.serviceand folder~/.config/gh-token-monitor/. - File on disk:
~/.local/bin/gh-token-monitor.sh. - Files written into repos:
.claude/settings.jsonand.vscode/tasks.json. - GitHub commit author:
claude@users.noreply.github.com. - GitHub repo description: "Shai-Hulud: Here We Go Again".
- macOS persistence:
~/Library/LaunchAgents/com.user.gh-token-monitor.plist. - Windows persistence:
ONLOGONscheduled task that runsmonitor.ps1. - String in the payload:
IfYouRevokeThisTokenItWillWipeTheComputerOfTheOwner. - A process that polls
api.github.com/userwith a GitHub token (Socket).
How to check
List the installed version in each project and search the lockfiles. These commands only read files.
npm ls tensorlake --all grep -rn --include=package-lock.json -A2 '"node_modules/tensorlake"' .
If a copy is in node_modules, compare its loader hash with the value above.
shasum -a 256 node_modules/tensorlake/lib/setup.mjs
What to do now
- Block
tensorlake@0.5.144and pin your projects to a clean version. - Isolate any machine or CI runner that installed 0.5.144 with install scripts on. Removing the package does not remove the implant.
- Stop and delete the token monitor before you revoke any GitHub token. Socket and Aikido both tie token revocation to a wipe of the host.
- Rotate npm, GitHub, cloud, Vault, Kubernetes and SSH credentials from a clean machine. Audit your npm and GitHub accounts for unexpected publishes and new workflows.
What Vigilance would show
These examples show an install hold and the corresponding owner report.
Example install message
Vigilance blocked `tensorlake` 0.5.144. This version is too new or changed in a way Vigilance must check first.
Example owner report
Bad update
tensorlake 0.5.144
An AI company's software kit gained the ability to steal passwords and access keys during install, then spread itself through the victim's own packages.
No security team? See who reads the alert.
Frequently asked questions
Does the malware run if I never import the SDK?
Yes. The preinstall hook runs during npm install, where install scripts are allowed.
Is the tensorlake Python package affected?
Aikido reports no sign that the actor published to PyPI or Cargo.
Why stop the monitor before I revoke the token?
Socket reports that the monitor runs an attacker handler when the token is revoked, and that this can wipe the home directory.
Sources
Send this page to the person who looks after AI at your company.