{"slug": "tensorlake-npm-package-compromised-with-shai-hulud-worm", "title": "tensorlake NPM package compromised with Shai Hulud worm", "summary": "A threat actor published a compromised version 0.5.144 of the tensorlake npm package on 8 October 2026 containing a variant of the Shai-Hulud worm, which exfiltrates secrets and attempts to self-replicate through connected supply chains, according to Aikido. Tensorlake, a serverless sandbox for AI agents with a reported lifetime npm install count of over 100,000, was compromised via its GitHub repository on 7 October 2026 when the actor made verified commits under a maintainer's identity, introducing the malware in commit 41b38f0; the repository was compromised for approximately 20 hours before the npm publish was triggered. The malware uses a preinstall script to run an obfuscated setup.mjs that drops Bun and executes Math_Symbol.js, targets secrets and data from 14 cryptocurrency browser extensions, and resolves an alternate command-and-control address via the Ethereum contract 0xb614155Fd88114d40549b259457Bcf921Df091B9; Aikido advises treating infected systems as fully compromised and rotating all secrets and credentials as a critical priority.", "body_md": "On 8 October 2026 a threat actor published a compromised version of tensorlake to npm. The compromised version is `0.5.144` and contains a variant of the Shai-Hulud worm, which exfiltrates secrets from infected devices and attempts to self-replicate through connected supply chains. Tensorlake is a serverless sandbox for AI agents and its npm package has a reported lifetime install count of over 100,000. \n\nTensorlake also distributes a package via PyPI and Cargo, but there is no sign the threat actor has been able to publish to either ecosystem at the time of writing. The malware contains slight variations from the last Shai-Hulud wave, so it is likely part of a novel compromise rather than ongoing reinfection.\n\n## What the malware does\n\nThe malware is triggered via a preinstall script, which invokes `node lib/setup.mjs`. `setup.mjs` (`25a0735d0db7dc40e5d45ce42d9c106067e6a66e184d967cfecfab17c3bcb5ef`) is an obfuscated script that serves to drop Bun to an infected host and to execute `lib/Math_Symbol.js` (`b50a00900399ba99fb6ce1fc151519cb99d44320ef2a631f2237e1aea0ad6fec`) with the Bun runtime. \n\n`Math_Symbol.js` contains an obfuscated Shai-Hulud payload. The malware sets a global `WORMTAG` marker before executing obfuscated code, specific to the infected tensorlake package. This marker indicates that the package is a novel compromise rather than an ongoing reinfection from a prior Shai-Hulud wave. \n\nThe malware decrypts persistence and proliferation payloads and a dead-man's switch that wipes infected machines if an embedded GitHub token is revoked, [consistent with prior Shai-Hulud waves](https://www.aikido.dev/blog/keyv-and-friends-compromised-in-npm-supply-chain-attack). Also consistent with prior Shai-Hulud waves, the malware attempts to read and exfiltrate sensitive environment variables and local secrets. A full index of the data targeted by the malware is available at the end of this post. Any system or environment infected by the malware should be treated as fully compromised and any secrets or credentials it contained should be rotated as a critical priority. \n\nThe malware contains the hardcoded C2 address `iseekaigogo[.]com`, but also contains a blockchain dead-drop mechanism to resolve an alternate C2. The malware calls a read function on the threat actor-controlled Ethereum contract \n\n`0xb614155Fd88114d40549b259457Bcf921Df091B9` through `eth.llamarpc.com`, `rpc.ankr.com` and `ethereum.publicnode.com` to retrieve an alternative C2/exfiltration domain. The most recent update to the contract, made on 21 September from the wallet `0x779f83aE56309682beDb04816c19d358c4B21040`, sets this value to the same hardcoded C2 address, `iseekaigogo[.]com`.\n\nThe malware differs from prior Shai-Hulud waves by attempting to read more sensitive data from web browser stores. The malware attempts to read data from hardcoded file paths related to 14 cryptocurrency browser extensions. The malware attempts to exfiltrate extension IndexedDB and LevelDB files. The malware also sources a remote HackBrowserData binary appropriate for the infected system from the C2 address and invokes it to attempt to obtain additional credentials from browser stores. These changes potentially reflect an operator more focussed on quickly monetising infected developer endpoints than on proliferating through the supply chain.\n\n## Tracing the infection\n\nThe malware originated from the tensorlake GitHub repository. On 7 October 2026, the threat actor made verified commits under the identity of a maintainer. The malware was introduced in commit `41b38f0` via direct file upload, after which the threat actor attempted to bump versions and trigger publishing. The repository was compromised for approximately 20 hours before the threat actor was able to trigger the npm publish. \n\n## How Aikido detects this\n\nIf you are an Aikido user, check your central feed and filter on malware issues. This will surface as a 100/100 critical issue. Aikido rescans nightly, but we recommend triggering a manual rescan now.\n\nIf you are not yet an Aikido user, you can create an account and connect your repos. Our malware coverage is included in the free plan, no credit card required.\n\nFor broader coverage across your whole team, Aikido's Device Protection gives you visibility and control over the software packages installed on your team's devices. It covers browser extensions, code libraries, IDE plugins, and build dependencies, all in one place. Stop malware before it gets installed.\n\nFor future protection, consider Aikido Safe Chain (open source). Safe Chain sits in your existing workflow, intercepting npm, npx, yarn, pnpm, and pnpx commands and checking packages against Aikido Intel before install.\n\n## Indicators of compromise\n\nNPM packages:\n\n- tensorlake 0.5.144\n\nC2 domain:\n\n- `iseekaigogo[.]com`\n\nFiles:\n\n- `lib/setup.mjs`  - `25a0735d0db7dc40e5d45ce42d9c106067e6a66e184d967cfecfab17c3bcb5ef`\n- `lib/Math_Symbol.js` \n  - `b50a00900399ba99fb6ce1fc151519cb99d44320ef2a631f2237e1aea0ad6fec`\n\nOther:\n\n- Threat actor Ethereum transaction: \n  - `0xb614155Fd88114d40549b259457Bcf921Df091B9`\n- \n- Threat actor Ethereum wallet:\n  - `0x779f83aE56309682beDb04816c19d358c4B21040`\n\n## Targeted variables and files\n\nEnvironment variables:\n\n```\nAPPVEYOR\nAWS_ACCESS_KEY_ID\nAWS_CONFIG_FILE\nAWS_CONTAINER_CREDENTIALS_FULL_URI\nAWS_CONTAINER_CREDENTIALS_RELATIVE_URI\nAWS_PROFILE\nAWS_REGION\nAWS_ROLE_ARN\nAWS_SECRET_ACCESS_KEY\nAWS_WEB_IDENTITY_TOKEN_FILE\nbamboo_agentId\nBITBUCKET_BUILD_NUMBER\nBITRISE_IO\nBUDDY_WORKSPACE_ID\nBUILD_BUILDURI\nBUILDKITE\nCF_BUILD_ID\nCF_PAGES\nCI\nCI_NAME\nCIRCLECI\nCIRRUS_CI\nCODEBUILD_BUILD_ID\nDISTELLI_APPNAME\nDRONE\nGITHUB_ACTIONS\nGITLAB_CI\nJB_SPACE_EXECUTION_NUMBER\nJENKINS_URL\nKUBECONFIG\nKUBERNETES_SERVICE_HOST\nNETLIFY\nNOW_GITHUB_DEPLOYMENT\nSAILCI\nSCREWDRIVER\nSEMAPHORE\nSHIPPABLE\nTEAMCITY_VERSION\nTRAVIS\nVAULT_ADDR\nVAULT_API_TOKEN\nVAULT_AUTH_TOKEN\nVAULT_AWS_ROLE\nVAULT_TOKEN\nVAULT_TOKEN_FILE\nVAULT_TOKEN_PATH\nVELA\nVERCEL\nWERCKER_MAIN_PIPELINE_STARTED\nWS_SHARED_CREDENTIALS_FILE\n```\n\nCredential file paths:\n\n```\n~/.ansible\n~/.azure\n~/.cert/nm-openvpn\n~/.config/atomic/Local Storage/leveldb\n~/.config/discord/Local Storage/leveldb\n~/.config/Element/Local Storage\n~/.config/Exodus/exodus.wallet\n~/.config/helm\n~/.config/kwalletd\n~/.config/Ledger Live\n~/.config/remmina\n~/.config/Signal\n~/.config/telegram-desktop\n~/.docker\n~/.electrum-ltc/wallets\n~/.electrum/wallets\n/etc/openvpn\n/etc/ssh\n~/.ethereum/keystore\n~/.kde4/share/apps/kwallet\n~/.kde/share/apps/kwallet\n~/.local/share/keyrings\n~/.local/share/TelegramDesktop/tdata\n~/.monero\n~/.pki/nssdb\n~/.remmina\n~/.ssh\n/var/lib/docker/containers\n~/.foundry/keystores\n~/.brownie/accounts\n~/.config/github-copilot\n~/.gnupg/private-keys-v1.d\n~/.config/gcloud/legacy_credentials\n~/.volta/tools/image/node\n~/.kube/cache/discovery\n~/.kube/http-cache\n~/.near-credentials\n~/.keplr\n~/.config/keplr\n~/.bitcoin/wallets\n~/.nethermind/keystore\n~/.local/share/io.parity.ethereum/keys\n~/.config/exodus/exodus.wallet\n~/.local/share/gopass/stores\n/etc/ssl/private\n/etc/letsencrypt/live\n~/.mozilla/firefox\n~/.config/google-chrome\n~/.config/chromium\n~/.config/BraveSoftware/Brave-Browser\n~/.config/microsoft-edge\n~/.config/opera\n~/.config/vivaldi\n/etc/ssl/cert.pem\n~/.aws/credentials\n~/.aws/config\n~/.kube/config\n~/.vault-token\n/home/runner/.vault-token\n/vault/token\n/var/run/secrets/vault-token\n/var/run/secrets/vault/token\n/run/secrets/vault_token\n/run/secrets/VAULT_TOKEN\n~/.vault/token\n/etc/vault/token\n```\n\nBrowser extensions:\n\n```\nnkbihfbeogaeaoehlefnkodbefgpgknn  MetaMask\nbfnaelmomeimhlpmgjnjophhpkkoljpa  Phantom\nhnfanknocfeofbddgcijnmhnfnkdnaad  Coinbase Wallet extension\nacmacodkjbdgmoleebolmdjonilkdbch  Rabby Wallet\negjidjbpglichdcondbcbdnbeeppgdph  Trust Wallet\nibnejdfjmmkpcnlpebklmnkoeoihofec  TronLink\nfnjhmkhhmkbjkkabndcnnogagogbneec  Ronin Wallet\nbhhhlbepdkbapadjdnnojkbgioiodbic  Solflare Wallet\ndmkamcknogkgcdfhhbddcghachkejeap  Keplr\naholpfdialjgjfhomihkjbmgjidlcdno  Exodus Web3 Wallet\nmcohilncbfahbmgdjkbpemcciiolgcge  OKX Wallet\nopfgelmcmbiajamepnmloijbpoleiama  Rainbow\nppbibelpcjmhbdihakflkdcoccbgbkpo  UniSat Wallet\nlgmpcpglpngdoalbgeoldeajfclnhafa  SafePal Extension Wallet\n```\n\n", "url": "https://wpnews.pro/news/tensorlake-npm-package-compromised-with-shai-hulud-worm", "canonical_source": "https://www.aikido.dev/blog/tensorlake-npm-package-compromised", "published_at": "2026-10-08 03:32:00+00:00", "updated_at": "2026-10-22 05:42:26.036419+00:00", "lang": "en", "topics": ["ai-safety", "ai-tools", "ai-agents", "developer-tools"], "entities": ["tensorlake", "Shai-Hulud", "npm", "Aikido", "GitHub", "Bun", "PyPI", "Cargo"], "also_reported_by": [], "takeaway": "The compromised tensorlake 0.5.144 npm package runs a preinstall script that drops Bun and executes an obfuscated Shai-Hulud payload, so any system that installed it should be treated as fully compromised and its secrets and credentials rotated.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/tensorlake-npm-package-compromised-with-shai-hulud-worm", "markdown": "https://wpnews.pro/news/tensorlake-npm-package-compromised-with-shai-hulud-worm.md", "text": "https://wpnews.pro/news/tensorlake-npm-package-compromised-with-shai-hulud-worm.txt", "jsonld": "https://wpnews.pro/news/tensorlake-npm-package-compromised-with-shai-hulud-worm.jsonld"}}