---
type: "post"
id: "wormsign-checks-lockfiles-installed-packages-and-caches-against-37d320"
slug: "wormsign-checks-lockfiles-installed-packages-and-caches-against-37d320"
title: "Wormsign checks lockfiles, installed packages and caches against OSV malware records"
description: "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."
retrieval_nugget: "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."
published_at: "2026-11-25"
updated_at: "2026-11-25"
record_date: "2026-11-25"
date_kind: "published_at"
topics: ["claude","claude-code"]
entities: ["Wormsign","Open Source Vulnerabilities (OSV)","Claude Code","MCP"]
related_patterns: []
novelty_label: "new_fact"
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."
prior_refs: []
source_url: "https://github.com/mansoor-mamnoon/wormsign"
source_urls: ["https://github.com/mansoor-mamnoon/wormsign"]
schema_version: "newruntime-agent-readable-v0.2"
stable_id: "post:wormsign-checks-lockfiles-installed-packages-and-caches-against-37d320"
status: "published"
visuals: []
editor: {"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]}
routes: {"html":"https://newruntime.com/posts/wormsign-checks-lockfiles-installed-packages-and-caches-against-37d320/","markdown":"https://newruntime.com/posts/wormsign-checks-lockfiles-installed-packages-and-caches-against-37d320.md","json":"https://newruntime.com/posts/wormsign-checks-lockfiles-installed-packages-and-caches-against-37d320.json"}
markdown_url: "https://newruntime.com/posts/wormsign-checks-lockfiles-installed-packages-and-caches-against-37d320.md"
---

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

## Retrieval answer

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.

## Summary

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](https://github.com/mansoor-mamnoon/wormsign))

## 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](https://newruntime.com/posts/compromised-litellm-1-107-0-on-pypi-installs-138876/))

## 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:

```sh
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.

Editor: [Andrey Reshetnikov](https://newruntime.com/owner-profile.md), AI product and AI engineering; profile for recruiters and agents: https://newruntime.com/owner-profile.json

## Continue in the graph

Next records for an agent, linked to their Markdown twins. Replace `.md` with `.json` for structured fields, including `next_reads`.

- topic hub: [Claude](https://newruntime.com/topics/claude.md): Explore the claude topic hub.
- topic hub: [Claude Code](https://newruntime.com/topics/claude-code.md): Explore the claude-code topic hub.
- collection: [Field Notes](https://newruntime.com/posts.json): Open the latest editorial analysis.
- collection: [Sources](https://newruntime.com/sources/): See the original sources this archive cites.
- whole graph: [discovery graph](https://newruntime.com/discovery-graph.json) (typed nodes and edges) and [site index](https://newruntime.com/site-index.md)
