cve-scan

cve-scan is a skill for Claude Code from softspark/ai-toolkit. It costs 47 tokens per session (1,454 once invoked), scanned A, original, Apache-2.0.

A dependency scanner that checks project packages for publicly known security vulnerabilities, called CVEs. It detects package ecosystems such as npm, Python, Composer, Rust, Go, Ruby, and Dart.

In plain words
What is it for?
Use it to audit lockfiles and manifests, produce a vulnerability report, find affected packages, and update dependencies with the fix option.
Why use it?
It shows which installed packages are affected, which fixed versions exist, and how serious each issue is. Where supported, it can also apply automatic fixes.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the ai-toolkit plugin — 115 skills, 44 agents, 14 hooks shipped together

Good fit Use it to audit lockfiles and manifests, produce a vulnerability report, find affected packages, and update dependencies with the fix option.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/softspark/ai-toolkit/cve-scan
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 softspark/ai-toolkit --skill cve-scan
Clone the repo
git clone --depth 1 https://github.com/softspark/ai-toolkit

Made for: Claude Code.

Or install ai-toolkit, the plugin that ships this one along with the rest of its 115 skills, 44 agents, 14 hooks.

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-scan

README.md
[![agentmods](https://agentmods.dev/badge/skills/softspark/ai-toolkit/cve-scan/github.svg)](https://agentmods.dev/skills/softspark/ai-toolkit/cve-scan)
Your own site
<a href="https://agentmods.dev/skills/softspark/ai-toolkit/cve-scan"><img src="https://agentmods.dev/badge/skills/softspark/ai-toolkit/cve-scan/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cve-scan

Your own site · 80×15
<a href="https://agentmods.dev/skills/softspark/ai-toolkit/cve-scan"><img src="https://agentmods.dev/badge/skills/softspark/ai-toolkit/cve-scan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,454 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.00047 $0.01454
Opus 5.5 $0.00019 $0.00582
Sonnet 5.5 $0.00009 $0.00291
Haiku 4.5 $0.00005 $0.00145

Measured 1mo ago against content hash 3b8e1c52fb95, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cve-scan 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/cve_scan.py), 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.

app/skills/cve-scan/SKILL.md · 135 lines

How it starts

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

/cve-scan - Dependency CVE Scanner

$ARGUMENTS

Detect project ecosystems and scan dependencies for known vulnerabilities using native audit tools. Zero external dependencies — uses tools already installed in the project environment.

Usage

/cve-scan                        # Auto-detect all ecosystems, scan all
/cve-scan --ecosystem npm        # Force specific ecosystem
/cve-scan --fix                  # Auto-fix where possible (npm audit fix, etc.)
/cve-scan --json                 # Machine-readable JSON output

What This Command Does

  1. Detect package managers by lock/manifest files in the project
  2. Run the native audit command for each detected ecosystem
  3. Parse results into a unified severity-based report
  4. Report CVE IDs, affected packages, installed vs fixed versions, advisory links
  5. Fix automatically when --fix is passed (where the tool supports it)

Ecosystem Detection & Commands

Manifest File Lock File Ecosystem Audit Command CVE Database
package.json package-lock.json / yarn.lock / pnpm-lock.yaml npm/yarn/pnpm npm audit --json / yarn audit --json / pnpm audit --json GitHub Advisory DB
requirements.txt / pyproject.toml / setup.py requirements.txt pip pip-audit --format=json OSV / PyPI Advisory
composer.json composer.lock composer composer audit --format=json Packagist / FriendsOfPHP
Cargo.toml Cargo.lock cargo cargo audit --json RustSec Advisory DB
go.mod go.sum go govulncheck ./... Go Vulnerability DB
Gemfile Gemfile.lock bundler bundle-audit check Ruby Advisory DB
pubspec.yaml pubspec.lock dart/flutter dart pub outdated --json pub.dev

Steps

  1. Detect ecosystems: Glob for manifest/lock files at project root and common subdirectories
  2. Check tool availability: Verify audit tool is installed for each detected ecosystem
  3. Run audit: Execute native audit command, capture JSON output where available
  4. Parse results: Extract CVE ID, package name, installed version, fixed version, severity, advisory URL
  5. Unified report: Merge all ecosystems into single report sorted by severity
  6. Fix mode: If --fix passed, run npm audit fix, pip-audit --fix, cargo audit fix etc.
  7. Exit code: Non-zero if any CRITICAL or HIGH vulnerabilities found

Read the full file on GitHub · 135 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 135 lines · 47 tokens per session scan A 3b8e1c52fb95

Subscribe to this mod's changes

cve-scan is a skill published in the GitHub repository softspark/ai-toolkit (180 stars, last pushed yesterday), licensed Apache-2.0. It adds 47 tokens to every session and 1,454 once invoked, about $0.0002 per session on Opus 5.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-09-03.