cve-audit

cve-audit is a skill for Claude Code, Codex from runxhq/runx. It costs 30 tokens per session (1,158 once invoked), scanned A, original, Apache-2.0.

A read-only check of exact npm package versions against OSV, a public database of known software vulnerabilities. It uses a fixed package-lock.json file and records evidence that can be replayed and reviewed.

In plain words
What is it for?
Reviewing dependencies before a release, finding advisories affecting locked npm versions, and producing evidence for security review or vulnerability triage.
Why use it?
It avoids misleading results from broad version ranges and distinguishes missing vulnerability data from proof that a package is safe.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Reviewing dependencies before a release, finding advisories affecting locked npm versions, and producing evidence for security review or vulnerability triage.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/runxhq/runx/cve-audit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add runxhq/runx --skill cve-audit
Clone the repo
git clone --depth 1 https://github.com/runxhq/runx

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cve-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/runxhq/runx/cve-audit.svg)](https://agentmods.dev/skills/runxhq/runx/cve-audit)
Your own site
<a href="https://agentmods.dev/skills/runxhq/runx/cve-audit"><img src="https://agentmods.dev/badge/skills/runxhq/runx/cve-audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,158 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.01158
Opus 5 $0.00015 $0.00579
Sonnet 5 $0.00006 $0.00232
Haiku 4.5 $0.00003 $0.00116

Measured 8d ago against content hash f854fc78beab, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

cve-audit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (core.mjs, cve.mjs, tests/core.test.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/cve-audit/SKILL.md · 115 lines

How it starts

The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Exact CVE Audit

Audit exact npm versions from an immutable package-lock.json against OSV. Runx owns every network request, response bound, retry, host admission, and receipt. Package code owns only lockfile inventory and OSV result semantics.

The audit is read-only. It does not install dependencies, execute target code, repair packages, publish advisories, or treat missing OSV data as proof of safety.

When to use it

Use cve-audit when a reviewer needs reproducible evidence for the advisories affecting exact npm versions in a public immutable lockfile. It is appropriate for dependency review, release triage, and the evidence stage before vuln-triage. Exact-version matching matters: package-name or loose-range scans can turn possible exposure into false findings.

Do not use it for mutable branch URLs, private repositories without a declared reader, non-npm ecosystems, exploit development, or coverage claims broader than the selected dependency scope.

Inputs

  • target_name: human-readable project name.
  • target_repo: public https://github.com/... repository URL.
  • target_commit: full 40-character Git commit.
  • lockfile_url: raw.githubusercontent.com package-lock URL containing that commit in its path.
  • dependency_scope: direct-production by default, or all-installed.

Private repositories, credentials, mutable branch URLs, abbreviated commits, and non-npm lockfiles are outside this runner.

Execution contract

  1. Validate the immutable GitHub target before any network call.
  2. Read the pinned lockfile with native http.read, retaining its transport digest and refusing truncation.
  3. Extract exact installed versions from package-lock versions 2 or 3. The inventory is capped at 10,000 entries.
  4. Query OSV in batches of 500 with native http.query. This is a POST-only, read-only query boundary; it is not a mutation lane.
  5. Refuse the audit if any OSV query result carries a page token. A partial provider result must never be reported as complete.
  6. Read each returned advisory with native http.read, validate advisory identity, and exclude withdrawn advisories. The verified advisory set is capped at 50; a larger set stops instead of being truncated.
  7. Assemble the audit, report, and evidence from the exact inventory and full advisory records.
  8. Repeat the OSV query and advisory reads in separate graph steps. Compare dependency path, exact version, advisory id, and withdrawal state. Finalize only when the two complete sets match.

Read the full file on GitHub · 115 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 115 lines · 30 tokens per session scan A f854fc78beab

Subscribe to this mod's changes

cve-audit is a skill published in the GitHub repository runxhq/runx (84 stars, last pushed today), licensed Apache-2.0. It adds 30 tokens to every session and 1,158 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.