# tensorlake@0.5.144 npm Shai-Hulud worm with hostage GitHub token · pwn.watch > On Oct 8 2026, tensorlake@0.5.144 was published from the real GitHub repo (with npm provenance) carrying a preinstall hook that installs a Shai-Hulud-style credential-stealing worm. It harvests npm/GitHub/cloud/SSH/AI-tool secrets, spreads to other packages, and installs a “gh-token-monitor” that wipes the home directory if the stolen GitHub token is revoked. Pin 0.5.143; remove the monitor before rotating tokens. Page: https://pwn.watch/i/tensorlake-npm-shai-hulud-worm · generated 2026-12-06T19:58:06.567Z ## Status - Severity: critical · status: live · patch: partial - Product: tensorlake (npm) - Started: 2026-10-07 - CVEs: GHSA-8g63-53c9-65j2 - Affected: 0.5.144 - Fixed in: 0.5.143 (safe pin); remove 0.5.144 ## Follow this incident - RSS (one item per update): https://pwn.watch/i/tensorlake-npm-shai-hulud-worm/feed.xml - JSON Feed: https://pwn.watch/i/tensorlake-npm-shai-hulud-worm/feed.json - Full data (timeline, sources, posts, agentBrief): https://pwn.watch/i/tensorlake-npm-shai-hulud-worm.json - This file: https://pwn.watch/i/tensorlake-npm-shai-hulud-worm/llms.txt ## Updates (newest first) - 2026-10-08: 0.5.144 published via the project’s release workflow. - 2026-10-08+: StepSecurity / Socket detections and public write-ups; remediation guidance emphasizes removing gh-token-monitor before revoke. - 2026-10-07: Malicious commits land on tensorlakeai/tensorlake main. ## Fix brief # Security brief: tensorlake@0.5.144 npm Shai-Hulud worm with hostage GitHub token Source: https://pwn.watch/i/tensorlake-npm-shai-hulud-worm · status: live · severity: critical · updated Nov 7, 2026, 09:45 UTC ## Patch status **PARTIALLY PATCHED: some fixes exist, but not every affected branch/product is covered. Check carefully and apply mitigations where no fix exists.** ## What it is On Oct 8 2026, tensorlake@0.5.144 was published from the real GitHub repo (with npm provenance) carrying a preinstall hook that installs a Shai-Hulud-style credential-stealing worm. It harvests npm/GitHub/cloud/SSH/AI-tool secrets, spreads to other packages, and installs a “gh-token-monitor” that wipes the home directory if the stolen GitHub token is revoked. Pin 0.5.143; remove the monitor before rotating tokens. Severity detail: Critical supply-chain worm - Product: tensorlake (npm) - CVE / advisory ids: GHSA-8g63-53c9-65j2 ## Affected versions - 0.5.144 ## Check whether you're affected Run these where the product is installed or in the project that depends on it, then compare with the affected/fixed versions: ```sh npm ls tensorlake grep -n 'tensorlake' package-lock.json pnpm-lock.yaml yarn.lock bun.lock 2>/dev/null ``` ## Fix Upgrade to one of these fixed versions (or later on the same branch): - 0.5.143 (safe pin); remove 0.5.144 After upgrading, re-run the checks above and redeploy/restart the affected services. ## Mitigations The data marks this as partial. Until every affected component is fixed, apply the vendor mitigations from the advisories below (restrict network exposure of the affected service, disable the vulnerable feature if the advisory allows). ## Secrets to rotate This incident involves possible credential exposure. Rotate any credentials (API keys, tokens, env vars, SSH keys) that were present on affected systems or in affected builds while vulnerable/compromised versions were installed, and review access logs. ## Latest updates - Oct 8, 2026: 0.5.144 published via the project’s release workflow. - Oct 8, 2026: StepSecurity / Socket detections and public write-ups; remediation guidance emphasizes removing gh-token-monitor before revoke. - Oct 7, 2026: Malicious commits land on tensorlakeai/tensorlake main. ## Advisories - [GitHub advisory GHSA-8g63-53c9-65j2](https://github.com/tensorlakeai/tensorlake/security/advisories/GHSA-8g63-53c9-65j2) (GitHub) ## Write-ups & news - [StepSecurity analysis](https://www.stepsecurity.io/blog/tensorlake-npm-compromised-hostage-token-worm) ## Caveats Still relevant mid-October because worm persistence and hostage-token behavior keep compromised developer machines at risk. Confirm whether 0.5.144 remains downloadable from npm before marking closed. --- Machine-readable: https://pwn.watch/i/tensorlake-npm-shai-hulud-worm.json · all incidents: https://pwn.watch/incidents.json. Verify against the vendor advisory before changing production systems.