Compromised Tensorlake npm Package Delivered Shai-Hulud Credential-Stealing Worm

· Original article ↗

Summary

Tensorlake npm version 0.5.144 contained a worm that steals credentials, propagates through packages linked to a victim’s publishing identity, establishes persistence, and can execute attacker-supplied code. Users should remove it and rotate credentials.

Key points

  • The compromised Tensorlake SDK version 0.5.144 was published to npm and is no longer available from the registry.
  • A preinstall hook launches an obfuscated loader and a Bun-based worm that harvests credentials from local files, CI environments, Kubernetes, and Vault.
  • The malware exfiltrates stolen data through multiple channels, including an attacker-controlled endpoint and a public GitHub repository fallback.
  • It can enumerate packages associated with the victim’s publishing identity and republish compromised versions.
  • The malware establishes persistence and can execute remotely supplied code; revoking a stolen GitHub token may trigger a handler designed to wipe the home directory.
  • Malicious files were pushed to the Tensorlake repository on October 7, 2026, and version 0.5.144 was published the following day.
  • Users who installed the compromised version are advised to remove it and rotate credentials.

Article Details

Attack Vectors
  • Compromise of the npm package tensorlake version 0.5.144 through a malicious preinstall hook and obfuscated JavaScript payload.
  • Self-propagation by enumerating packages associated with the victim's publishing identity and republishing compromised versions.
  • Credential and secret theft from local files, CI environments, Kubernetes, and Vault sources.
  • Exfiltration to attacker infrastructure and, as a fallback, staging encrypted stolen data in a public GitHub repository.
  • Persistence through files planted in repositories to trigger execution when opened in Claude Code or VS Code.
  • A PowerShell monitor checks a stolen GitHub token; if the token is revoked, it runs attacker-supplied code that can wipe the home directory.
Defensive Notes
  • Users who installed version 0.5.144 are advised to remove it immediately and rotate their credentials.
  • The article reports that version 0.5.144 is no longer available from the npm package registry.

Indicators of compromise

TypeIndicatorContext
DOMAINiseekaigogo[.]comAttacker-controlled domain used as a command-and-control endpoint and for data exfiltration.

MITRE ATT&CK

People

Malware

Products

Tools

Industries

Related Articles