Skip to content

Get notified

Get an email when a new major security incident drops. No spam, unsubscribe any time.

Only used for pwn.watch incident emails. Protected by Cloudflare Turnstile.

LiveCriticalPartly patchedSupply chain

tensorlake@0.5.144 npm Shai-Hulud worm with hostage GitHub token

tensorlake (npm)

Brought to you byTinkerer Club

The private club for people who own their servers, run their own AI, and pay $0/month for software.

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.

Why this severity: Critical supply-chain worm

Started
Oct 7, 2026

Follow this incident

Affected

  • 0.5.144

Fixed in

  • 0.5.143 (safe pin); remove 0.5.144

Timeline3

  1. 0.5.144 published via the project’s release workflow.

  2. StepSecurity / Socket detections and public write-ups; remediation guidance emphasizes removing gh-token-monitor before revoke.

  3. Malicious commits land on tensorlakeai/tensorlake main.

Advisories1

News & write-ups1
Posts3
Bhavesh Verma
@xbhaveshverma

Tensorlake npm Package Poisoned by the Shai-Hulud Worm, Credential-Stealing Payload Targeted AI Agent Infrastructure and Carried a “Hostage Token” That Triggers Destruction if Revoked On October 8, 2026, a malicious release of the tensorlake npm package, version 0.5.144, was

sunil kumawat
@Sunil_kumawat17

1/ npm: tensorlake@0.5.144 (Oct 8) shipped a Shai-Hulud-style worm in a preinstall hook. It hunts npm, GitHub and cloud creds plus .claude/.cursor configs. Treat the host as compromised. Socket: remove gh-token-monitor before revoking tokens, or it can wipe your home dir.

Notes & 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.

Get an email when a new major security incident drops. No spam, unsubscribe any time.