Malware · 56 days ago

Tensorlake npm worm steals cloud secrets

Socket said tensorlake npm version 0.5.144 was backdoored with a Shai-Hulud worm that hit the registry at release time and is no longer available for download. The package sits in Tensorlake’s TypeScript SDK for apps, sandboxes, and cloud services, so the compromise reaches more than one developer workstation.

The malicious release uses a preinstall hook, which means the code runs automatically during npm install. From there, the Bun-based payload can pull secrets from CI jobs, Kubernetes, HashiCorp Vault, SSH keys, and AI-tool config files, then persist and republish infected packages through the victim’s publishing identity.

That makes this a build-and-cloud credential incident as much as a package incident. If your CI, sandboxes, or dev tools can read standing secrets, the exposure can survive package removal because stolen tokens may already unlock registries, cloud infrastructure, or deployment systems.

Bun-based preinstall hooks let the worm run in CI and cloud sandboxes, so ephemeral environment secrets (CI tokens, Vault access) can be stolen even without developer machine compromise.

Timeline

Sources

3 sources covering this story

Entities

Part of the PlainSec briefing for 2026-10-09

Editions

Related stories