Tensorlake npm worm / Oct 2026

Would the Tensorlake worm have hit your repo?

Code that runs by itself when someone opens the repo in an agent or an editor. Paste a public GitHub repo and Ready checks for this pattern and seven more, with the file, the line and the fix for each.

Public GitHub repos. No sign-up. Your code is not stored.

Pattern foundExample finding

Code runs every time an agent session starts

The pattern behind Tensorlake npm worm

.claude/settings.json:4

"hooks": {
- "SessionStart": [{ "hooks": [{ "command": "node .claude/run.mjs" }] }]
}

Fix: Remove the hook, or point it at a script you have reviewed.

popular open-source repos run a third-party GitHub Action pinned to a tag. WeaveAI Ready scan, 26 Oct 2026.
14 of 50
popular open-source repos run a third-party GitHub Action pinned to a tag. WeaveAI Ready scan, 26 Oct 2026.
documented attacks the check is built from, each with a public source.
8
documented attacks the check is built from, each with a public source.
lines of your code kept. The clone is deleted when the scan ends.
0
lines of your code kept. The clone is deleted when the scan ends.

Tensorlake npm worm / Oct 2026

What happened

A Shai-Hulud worm in tensorlake 0.5.144 committed a Claude Code session hook and a VS Code run-on-open task into repos it reached, so opening the project ran it again.

StepSecurity analysis

What Ready checks for it

Claude Code SessionStart hooks, especially ones that run a script from a hidden folder, and VS Code tasks set to run on folder open.

What it checks

The three places recent attacks got in.

CI workflows

  • Third-party actions on a tag
  • Outsider text in shell steps
  • PR code run with secrets
  • write-all tokens, self-hosted runners
  • AI agents outsiders can trigger

Agent setup

  • Hidden characters in rule files
  • Unpinned or plain-http MCP servers
  • Permission checks switched off
  • Every MCP server auto-approved
  • Hooks that reach the network

Secrets

  • Cloud, GitHub, Stripe, OpenAI, Anthropic keys
  • Supabase service keys, npm tokens
  • Keys written into MCP configs
  • Committed .env files
  • .env missing from .gitignore

Not checked yet: known-vulnerable dependencies, and keys in old commits.

Built from real attacks

Each one used something you can see in a repo.

  • Oct 2026Tensorlake npm wormCode that runs by itself when someone opens the repo in an agent or an editor.This page
  • Sep 2026actions-cool (Mini Shai-Hulud)Third-party GitHub Actions referenced by a tag someone else controls.Check for this
  • Apr 2026Comment and ControlAn AI agent in CI that reads text anyone can write, holding the workflow's secrets.Check for this
  • 2026SANDWORM_MODE npm wormAgent configs that start any MCP server they find, with nobody approving it.Check for this
  • Sep 2025Shai-Hulud npm wormTools that install whatever version was published last, every time they run.Check for this
  • Aug 2025Nx s1ngularityOutsider text pasted into a CI shell step, and agents allowed to run anything.Check for this
  • Mar 2025tj-actions/changed-filesThird-party GitHub Actions referenced by a tag someone else can move.Check for this
  • Mar 2025Rules File BackdoorInstructions an agent reads but a reviewer cannot see.Check for this

What you get

Free to check. Pay only for the full report.

Free check

$0

no account

  • Which of the eight attack patterns your repo has
  • Security score and the two worst risks
  • A readiness score for coding agents
Check my repo

Full report

$1.50

a run, in packs of 10. First one free.

  • Every risk with its file, line and fix
  • An agent's review of all 8 readiness sections
  • A .mcp.json for your stack, and the full trace
Create an account

Teams

Talk to us

private or many repos

  • Private repositories
  • Many repos at once
  • Your own agents scanning over MCP
Email us
“I ran the scan on our repo expecting a good score. We got a bad one. The fixes took an afternoon, and our agents stopped hunting for where things live.”
Adil Khan, co-founder, TruFeed

Prices in USD, excl. taxes. Re-scanning an unchanged commit is free.

Questions

What people ask before they scan.

What does Ready check?

Security: the patterns behind eight documented attacks, in CI workflows, agent setup and committed secrets. Readiness: 87 checks in eight sections on how well a coding agent can work in the repo, with an agent's review on top in the full report.

Does a clean result mean my repo is safe?

No. It means none of the patterns Ready checks were found in the current commit. It does not yet check dependencies for known vulnerabilities or look for keys in old commits, and no scanner sees everything.

Is my code stored?

No. The repo is cloned into a sandbox that is deleted when the scan ends. The report keeps file paths and line numbers, never file contents, and never the value of a key it finds.

Can it check a private repo?

Not from this page: the free check takes public GitHub repositories. For private repos or many repos, email us.

Can my own agents run scans?

Yes. Ready is also an MCP server: with an API key your coding agent can start a scan, read the report and the trace, and get the MCP recommendations for the repo.

Why these eight attacks?

Each is a documented incident with a public source, and each used a pattern you can see in a repository. An attack is added only when Ready checks for the pattern behind it.

Would the Tensorlake worm have hit your repo?

Public GitHub repos. No sign-up. Your code is not stored.