Malicious Tensorlake npm Package Steals AWS Keys, SSH Credentials and Crypto Wallet Data

A threat actor published a compromised version of the Tensorlake npm package on October 8, 2026, embedding malware designed to steal developer secrets and spread through connected software supply chains.

The affected release, 0.5.144, contains a variant of the Shai-Hulud worm. Its targets include AWS access keys, SSH credentials, cryptocurrency wallet files, browser data, and secrets stored in development environments.

Tensorlake provides a serverless sandbox for AI agents. Its npm package has reportedly recorded more than 100,000 lifetime installs. That figure reflects overall package usage, not confirmed installations of the malicious release.

According to Aikido’s analysis, Tensorlake also distributes packages through PyPI and Cargo. Researchers found no evidence that the attacker had published compromised versions to either ecosystem at the time of reporting.

Tensorlake Package Steals Credentials

The infection begins through a preinstall script that runs node lib/setup.mjs. This obfuscated loader installs the Bun runtime and uses it to execute lib/Math_Symbol.js, which contains the main malicious payload.

Before execution, the malware sets a global WORMTAG marker specific to Tensorlake. Researchers interpret this marker, together with payload differences, as evidence of a fresh compromise rather than continued reinfection from an earlier Shai-Hulud campaign.

The payload decrypts components responsible for persistence, propagation, and a destructive failsafe. This dead-man’s switch can wipe infected machines if an embedded GitHub token is revoked, matching behavior documented in earlier Shai-Hulud attacks.

The malware collects sensitive environment variables and local files. Targets include AWS configuration, SSH directories, Kubernetes configuration, Vault tokens, Docker data, encryption keys, and cryptocurrency keystores.

Browser theft is another focus. Researchers report targeting paths associated with 14 cryptocurrency extensions, collecting IndexedDB and LevelDB files.

Named targets include MetaMask, Phantom, Coinbase Wallet, Rabby, Trust Wallet, TronLink, Ronin, Solflare, Keplr, and Exodus.

The payload also downloads a system-specific HackBrowserData binary from its command infrastructure to extract additional browser credentials. These additions suggest greater interest in quickly monetizing infected developer systems.

Researchers traced the malicious code to Tensorlake’s GitHub repository. On October 7, the attacker made verified commits under a maintainer’s identity.

Commit 41b38f0 introduced the malware through direct file uploads. The attacker then attempted version changes and publishing triggers. Approximately 20 hours passed between the repository compromise and the successful npm release.

The hardcoded command-and-control domain is iseekaigogo[.]com. A blockchain fallback reads an attacker-controlled Ethereum contract to retrieve an alternative exfiltration address.

The contract, 0xb614155Fd88114d40549b259457Bcf921Df091B9, is queried through three public Ethereum RPC services. Its latest reported update, dated September 21, returned the same domain, aikido said.

Organizations that installed the affected version should treat those environments as fully compromised and prioritize rotating exposed credentials.

Investigators should check dependency inventories, installation logs, and network activity for Tensorlake 0.5.144, the command domain, and both malicious file paths.

Join 16,000+ SOC teams using ANY.RUN to streamline threat investigations and reduce manual effort. Explore for your team 

Varshini
Varshini
Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies..

Trending News

Related Stories