Field noteNov 25, 20263 min read1 source

Wormsign checks lockfiles, installed packages and caches against OSV malware records

In one minute

Wormsign checks lockfiles, installed packages and caches against OSV malware records, then looks for editor hooks and startup entries that could keep a worm active. (github.com)

What changed: Wormsign introduces a local scanner that checks developers’ lockfiles for known-malicious npm and PyPI versions and identifies persistence hooks, tasks, and services installed by supply-chain worms.

What happened

Coverage spans npm, yarn, pnpm, Bun, pip, poetry, uv and pipenv lockfiles, plus installed packages, global installs and package-manager caches. For pip, it checks exact pins in specified requirements files. Persistence checks include Claude Code hooks, MCP server configs, VS Code tasks, dev-container commands, GitHub workflows, LaunchAgents, systemd user units, crontab, shell startup files and known payload filenames.

Known worm files, domains or malicious package versions are marked critical; suspicious startup commands such as curl | sh produce warnings. Reports begin with CLEAN, REVIEW, DETECTED or PARTIAL; PARTIAL means a scan failed in part or was run offline. Terminal output shows flagged commands with tokens and passwords masked, while JSON and CI output omit the commands.

After a critical finding, Wormsign lists local credentials to review for rotation. It scans once and does not remove anything.

What the archive adds

New Runtime previously reported a LiteLLM 1.107.0 PyPI compromise that installed a credential stealer and backdoor; Wormsign's checks for known-malicious PyPI versions address the same supply-chain risk, but there is no claim that it detects that specific incident. (earlier New Runtime note)

Why it matters

Online scans send package names and versions to OSV, which can expose private package names; --offline skips that lookup. Teams can use offline mode when disclosure risk outweighs the value of the OSV check. The GitHub Action confines its scan to the repository, but this does not itself remove the online lookup tradeoff.

Limits and uncertainty

A malicious version in a lockfile does not prove its code ran, and CLEAN means only that the scan found nothing known. Coverage depends on OSV records and Wormsign's rules, which can flag legitimate tools or miss renamed payloads. On Windows, package and project-config checks work, but startup-entry checks are not implemented. Home-directory scans skip some directories and stop beyond 14 levels; unreadable or depth-limited paths and linked lockfiles or project configs can make a scan PARTIAL. Wormsign does not parse Bun's binary bun.lockb.

Skill to build now

Install with Homebrew, then run the demo to scan a deliberately infected fixture in a temporary directory:

brew install mansoor-mamnoon/tap/wormsign
wormsign --demo

For CI, add the GitHub Action at mansoor-mamnoon/wormsign@v0.2.0, pin it to a release tag or commit SHA, and pass args: --strict if warnings should fail the job. The Action scans only the repository and fails on critical findings.

If malicious code may have run, the repository advises rotating credentials from a different machine.

Reader takeaway

Wormsign checks package inventories and persistence points in one scan, then reports known threats without removing anything. It can also send package names and versions to OSV during online scans, so teams should weigh that exposure against offline scanning. Treat CLEAN as “nothing known found,” not proof of safety.

How this was made

Written by
New Runtime's AI newsroom, from the sources cited below.
Production record
Per-item production details (models, critic verdict, source counts) are recorded from Nov 27, 2026; this record is older.
Human review
Published without a per-item human sign-off. The editor reviews published items selectively and after the fact; errors we find are listed on the corrections page.

Corrections and error statistics

Evidence / sources

  1. 1github.com/mansoor-mamnoon/wormsign
All Field Notes

Next reads

Read next

Open the graph
  1. 01topicClaudeExplore the claude topic hub.
  2. 02topicClaude CodeExplore the claude-code topic hub.
  3. 03archiveField NotesOpen the latest editorial analysis.
  4. 04sourcesSourcesSee the original sources this archive cites.
Who read this page?Machine requests, hidden until opened

Loading the privacy-safe route aggregate...

Open the JSON contract