Shai-Hulud Worm Compromises Tensorlake NPM Package
Score: 9/10

Shai-Hulud Worm Compromises Tensorlake NPM Package

The Shai-Hulud worm compromised the tensorlake npm package to exfiltrate secrets and cryptocurrency browser data while implementing a destructive 'dead-man's switch' upon token revocation.

Executive Summary

On October 8, 2026, a malicious version of the popular TypeScript SDK 'tensorlake' (version 0.5.144) was published to the npm registry. This release was infected with a variant of the Shai-Hulud worm, a self-propagating malware family that targets developers' credentials and AI agent frameworks. The compromise originated from verified commits on the official GitHub repository, likely indicating a hijacked maintainer account.

The malware functions by executing an obfuscated preinstall script that drops a secondary payload to harvest environment variables, cloud secrets (AWS, GCP, Azure), SSH keys, and browser-stored credentials. Notably, this variant introduced specific logic to target 14 cryptocurrency browser extensions and utilizes an Ethereum smart contract as a 'dead-drop' mechanism to resolve its Command and Control (C2) infrastructure.

This incident is high-impact due to the worm's 'dead-man's switch' logic: if its embedded stolen GitHub token is revoked before the persistence mechanism is disabled, the malware executes a recursive deletion of the user's home directory. Any organization that installed the affected version must treat local environments and CI/CD runners as fully compromised.

Key Details

Threat Name

Shai-Hulud

Affects

—

Adversary

TeamPCP

Malware/Tools

Shai-Hulud, HackBrowserData

Report Score

9out of 10
Quality Score
Excellent
IOC Quality9
TTP Details9
Detection Guidance7
Enterprise Relevance9
Clarity & Structure9
Technical Depth8

Sources