Version 0.5.144 of the tensorlake npm package, the TypeScript SDK for the Tensorlake platform, was compromised in a supply chain attack, according to Socket, Endor Labs and The Hacker News. They say the release carries a heavily obfuscated payload that collects credentials, sends secrets off the machine, sets up persistence and runs code supplied from a remote server.
Aikido Security is also credited with discovering the attack, per Rankiteo, which says Aikido reported a WORMTAG marker indicating a fresh compromise. Endor Labs reports the marker value as ‘tensrlake’.
Names, links and what the attribution rests on
Socket and The Hacker News tie the incident to the ChainDrop and Shai-Hulud campaign. Shai-Hulud is a self-propagating npm worm family that steals developer credentials and republishes itself into packages the victim controls, and the sources use Mini Shai-Hulud for the variant seen in ChainDrop’s first wave.
Those two outlets say ChainDrop was first documented in early August 2026, when hundreds of npm packages, including Keyv and Cacheable, were compromised. They base the link on reused file names and a similar resolver design, not on shared infrastructure, and they give no confidence level and name no operator.
Timeline and delivery
StepSecurity places the first rogue commit at 01:20 UTC on Oct. 7, 2026, while Socket and Endor Labs put publication of the malicious version to npm at 01:12:07 UTC on Oct. 8, 2026; the sources do not reconcile the two data points. Socket says it flagged the release at 01:23:10 UTC, about 11 minutes after publication.
StepSecurity says the malicious files were pushed straight to the repository’s primary branch under a maintainer’s name, after which the release workflow published the package. Seven more commits followed, none through a pull request. How the maintainer identity was obtained is not established; Endor Labs calls a compromised maintainer account the most likely cause.
The release includes a preinstall hook, a script npm runs automatically during installation, that executes an obfuscated loader, lib/setup.mjs. The loader uses the Bun JavaScript runtime to launch the main payload, lib/Math_Symbol.js. Because the hook fires at install time, the SDK does not need to be imported.
What the malware targets and how it spreads
The Hacker News, Socket and SC Media report that the malware goes after npm and GitHub tokens, AWS credentials, HashiCorp Vault and Kubernetes secrets, SSH keys and .env files. It also targets cryptocurrency wallets, messaging app data, and configuration and MCP files for AI tools including Claude, Cursor, Kiro, Windsurf and Zed. MCP is the Model Context Protocol, which connects AI assistants to external tools.
That combination extends the risk beyond a single stolen API key.
Socket Research Team, Socket
Socket, The Hacker News and StepSecurity say the worm enumerates packages tied to the victim’s npm publishing identity, builds Sigstore provenance and republishes compromised versions. With a stolen GitHub token, they add, it commits .claude and .vscode files to the victim’s repositories so the payload reruns when a project opens in Claude Code or VS Code.
StepSecurity, Socket and The Hacker News also describe a ‘hostage token’ component that monitors the stolen GitHub token and, if it is revoked, wipes the victim’s home directory. For command and control, the researchers say the malware resolves its endpoint through an Ethereum contract using roughly 30 public remote procedure call (RPC) endpoints, with a GitHub fallback, and they name iseekaigogo[.]com as a C2 domain.
Reach and availability
Socket says the package draws about 12K weekly downloads and has more than 1k GitHub stars, and notes those figures reflect overall usage, not downloads of the malicious version or confirmed infections. The Hacker News and Endor Labs say 0.5.144 has been removed from npm, while StepSecurity said it could still be downloaded when it checked.
Researchers' guidance, in order
StepSecurity and Endor Labs describe 0.5.143 as clean and recommend pinning to it. Endor Labs says six tensorlake-native-* packages published at 0.5.144 in the same run held no payload but should be avoided.
For anyone who installed 0.5.144, the researchers’ advice runs in sequence: remove the gh-token-monitor persistence first, then revoke tokens, because revocation can trigger the wipe. StepSecurity also advises rotating secrets visible to any CI job, though it says the hook skips itself in CI. It and Endor Labs say setting ignore-scripts=true in npm configuration blocks install hooks like this one.
Why it matters for registry trust
StepSecurity and Endor Labs report that the malicious release carried a valid npm provenance attestation because the project’s own pipeline built it. Provenance records where a package was built, not whether the code is safe, so in their analysis a policy trusting provenance alone would have admitted this version.
Socket’s account adds that the worm builds provenance for packages it republishes, which blurs a signal many teams treat as a trust marker. Endor Labs points to release cooldowns, install-script controls and content analysis as attackers target AI agent tooling and developer workstations.

Join the discussion