Nullify

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Home
›
Incidents
›
tensorlake npm Compromise: The Worm With a Hostage Token
Supply chain
Direct

tensorlake npm Compromise: The Worm With a Hostage Token

tensorlake 0.5.144 on npm shipped a Shai-Hulud-style credential stealer that wipes the home directory if the stolen GitHub token is revoked too early.

Nullify Team
·
Disclosed
October 8, 2026
·
Updated
November 17, 2026

What happened to tensorlake?

In its analysis, StepSecurity says malicious files were pushed directly to the main branch of tensorlakeai/tensorlake under a maintainer's name on October 7, 2026, and tensorlake 0.5.144 was released to npm the next day with a valid provenance attestation. A GitHub advisory lists it as malware.

A preinstall hook fetches Bun and runs a payload that steals GitHub and npm tokens, cloud keys, Kubernetes and Vault secrets, SSH keys, browser logins and AI tool configs. It spreads through npm republishing and by committing .claude/settings.json and .vscode/tasks.json. It also installs a gh-token-monitor service that runs rm -rf ~/ if the stolen GitHub token is revoked within 24 hours, so the cleanup order matters.

Which tensorlake versions are affected?

  • tensorlake 0.5.144 on npm. Pin 0.5.143.
  • Anyone who pulled tensorlakeai/tensorlake main after October 7, 2026 and ran npm install in typescript/.
  • GitHub accounts where the worm committed .claude or .vscode files or created public repositories described "Shai-Hulud: Here We Go Again".

How to check if you're affected

  1. Run npm ls tensorlake and search lockfiles for 0.5.144.
  2. Look for ~/.config/gh-token-monitor/ and ~/.local/bin/gh-token-monitor.sh, or the equivalent launchd or scheduled task.
  3. Check your GitHub account for unexpected public repositories and commits titled "chore: update dependencies" that add .claude or .vscode files.
  4. Check network logs for iseekaigogo.com.

What to do now

  1. Don't revoke any GitHub token until the monitor service is removed.
  2. Remove the monitor: on Linux run systemctl --user disable --now gh-token-monitor.service and delete its files; on macOS boot out the com.user.gh-token-monitor launch agent; on Windows delete the monitor scheduled task.
  3. Then revoke the GitHub token and rotate npm, cloud, SSH, Kubernetes, Vault, .env, AI tool and browser credentials, ideally from another computer.
  4. Pin 0.5.143, delete node_modules, run npm cache clean --force, and wipe and reinstall if you can't confirm the machine is clean.

Why cleanup order matters here

Most incident playbooks start with revoking stolen tokens. This payload turns that habit against the victim: it watches whether its token still works and deletes the home directory if it doesn't. Read the analysis of a specific payload before acting, remove persistence first, and keep backups of developer machines current so a destructive payload costs time, not work.

Where Nullify fits

How Nullify Covers This Class of Attack

Direct
Supply Chain Attack

Nullify finds every repository and container image that pulls an affected package version and runs the upgrade as one campaign, scoped by CVE, package, repo or team, with owners, Slack escalation and SLA tracking. Your developers approve every merge.

Nullify can't tell you whether the payload ran on a given machine or runner. Use the checks above for that, then fix the dependency everywhere it appears.

Frequently Asked Questions

Which tensorlake version is malicious?

tensorlake 0.5.144 on npm, released October 8, 2026 from malicious commits pushed the day before. Pin 0.5.143. GitHub's advisory GHSA-rqxj-g25x-4v9v lists no patched version, so stay on 0.5.143 for now.

Why shouldn't I revoke my GitHub token right away?

The payload installs a gh-token-monitor service that deletes your home directory if the stolen token is revoked within 24 hours. Remove the monitor service first, then revoke the token and rotate everything else.

How does the tensorlake worm spread?

StepSecurity says it republishes npm packages the victim can publish and commits .claude/settings.json and .vscode/tasks.json files to the victim's repositories, so other developers who open those projects can run it too.

Update Log

  • Nov 17, 2026: page published from the primary sources linked above.

Check your own code for the bug behind this incident

Nullify's AI harness finds, proves and fixes the same class of vulnerability in your code and dependencies, and hands your team a merge-ready pull request.