Agent skill

Cve Scan

by softspark in softspark/ai-toolkit

Scans deps for known CVEs via native audit (npm, pip, composer, cargo, go, bundler, dart).

Apache-2.0Auto-check: notesSecurity

Install Cve Scan

skills CLI
$ npx skills add softspark/ai-toolkit --skill cve-scan -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install softspark/ai-toolkit cve-scan --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/softspark/ai-toolkit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/app/skills/cve-scan .claude/skills/cve-scan && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cve-scan
GitHub stars
179
Token cost
~1.3k tokens
SKILL.md length
415 words
Files
2 (incl. scripts)
Skills in repo
112
Repo updated
First seen
Licence
Apache-2.0

At a glance

Scans deps for known CVEs via native audit (npm, pip, composer, cargo, go, bundler, dart).

  • Works in 5 steps: Detect package managers by lock/manifest… → Run the native audit command for each… → Parse results into a unified… → …
  • Tasks that involve Vulnerability scanning
  • SKILL.md covers Usage, What This Command Does, Ecosystem Detection & Commands and Steps, plus 4 more sections
  • Runs Python scripts from its folder; calls python3, cargo and npm; reaches github.com and osv.dev

What it does

Cve Scan is an agent skill from softspark/ai-toolkit. Scans deps for known CVEs via native audit (npm, pip, composer, cargo, go, bundler, dart). Triggers: CVE scan, vulnerability scan, npm audit, pip audit.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/cve_scan.py`).

It sits in Security, covering Vulnerability scanning and Dependency management. It works with npm, Ruby and pnpm. The repository describes itself as: Professional-grade AI coding toolkit: 94 skills, 44 agents, multi-platform (Claude, Cursor, Windsurf, Copilot, Gemini, Cline, Roo Code, Aider, Augment, Antigravity, Codex CLI… The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Vulnerability scanning
  • Tasks that involve Dependency management

Example prompts

  • “Use the cve-scan skill to scan deps for known CVEs via native audit (npm, pip, composer, cargo, go, bundler, dart)”
  • “/cve-scan”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Read, Grep, Glob, Bash

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  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)

What it can do on your machine

Read from SKILL.md and the folder at commit d64db2b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Grep
    • Glob
    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • cargo
    • npm
    • yarn
    • pnpm
    • composer
    • dart
    • pip
    • go
    • gem

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com
    • osv.dev

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cve Scan loads about 1.3k tokens when it runs. Until then it costs about 40 tokens; SKILL.md has 415 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~40
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Grep, Glob, Bash

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from softspark/ai-toolkit at commit d64db2b, republished under its Apache-2.0 licence (© softspark). 415 words, ~1,333 tokens.

Download SKILL.mdSave it as .claude/skills/cve-scan/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
cve-scan
description
Scans deps for known CVEs via native audit (npm, pip, composer, cargo, go, bundler, dart). Triggers: CVE scan, vulnerability scan, npm audit, pip audit.
allowed-tools
Read, Grep, Glob, Bash
user-invocable
true
effort
medium
argument-hint
[--ecosystem npm|pip|composer|cargo|go|ruby|dart] [--fix] [--json]

/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 FileLock FileEcosystemAudit CommandCVE Database
package.jsonpackage-lock.json / yarn.lock / pnpm-lock.yamlnpm/yarn/pnpmnpm audit --json / yarn audit --json / pnpm audit --jsonGitHub Advisory DB
requirements.txt / pyproject.toml / setup.pyrequirements.txtpippip-audit --format=jsonOSV / PyPI Advisory
composer.jsoncomposer.lockcomposercomposer audit --format=jsonPackagist / FriendsOfPHP
Cargo.tomlCargo.lockcargocargo audit --jsonRustSec Advisory DB
go.modgo.sumgogovulncheck ./...Go Vulnerability DB
GemfileGemfile.lockbundlerbundle-audit checkRuby Advisory DB
pubspec.yamlpubspec.lockdart/flutterdart pub outdated --jsonpub.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
Show full SKILL.md (157 more words)Show less

Detection Script

Run the bundled detection script to quickly identify ecosystems and tool availability:

bash
python3 ${CLAUDE_SKILL_DIR}/scripts/cve_scan.py

Options:

bash
python3 ${CLAUDE_SKILL_DIR}/scripts/cve_scan.py --json      # JSON output
python3 ${CLAUDE_SKILL_DIR}/scripts/cve_scan.py --fix        # Auto-fix mode
python3 ${CLAUDE_SKILL_DIR}/scripts/cve_scan.py --ecosystem npm  # Specific ecosystem

Output Format

markdown
## CVE Scan Report

### Ecosystems Detected
- npm (package-lock.json) — `npm audit` available ✓
- pip (requirements.txt) — `pip-audit` not installed ⚠️

### Summary
| Severity | Count |
|----------|-------|
| CRITICAL | 1 |
| HIGH | 3 |
| MEDIUM | 5 |
| LOW | 2 |

### Findings

#### [CRITICAL] lodash@4.17.20 (npm)
- **CVE**: CVE-2021-23337
- **Title**: Prototype Pollution
- **Fixed in**: 4.17.21
- **Advisory**: https://github.com/advisories/GHSA-35jh-r3h4-6jhm

#### [HIGH] django@3.2.0 (pip)
- **CVE**: CVE-2023-36053
- **Title**: Potential ReDoS in EmailValidator
- **Fixed in**: 3.2.20
- **Advisory**: https://osv.dev/vulnerability/PYSEC-2023-100

### Tool Availability
| Ecosystem | Tool | Status | Install Hint |
|-----------|------|--------|--------------|
| npm | npm audit | ✓ installed | — |
| pip | pip-audit | ✗ missing | `pip install pip-audit` |
| cargo | cargo-audit | ✗ missing | `cargo install cargo-audit` |

Handling Missing Tools

When an audit tool is not installed, the skill:

  1. Reports it as a warning (not a failure)
  2. Provides the install command for the missing tool
  3. Continues scanning other detected ecosystems

Install hints per ecosystem:

ToolInstall Command
pip-auditpip install pip-audit
cargo-auditcargo install cargo-audit
govulncheckgo install golang.org/x/vuln/cmd/govulncheck@latest
bundle-auditgem install bundler-audit
composerBuilt-in since Composer 2.4

Rules

  • Never modify package-lock.json, Cargo.lock, or other lock files without --fix flag
  • Always report tool availability — missing tool is a finding, not a failure
  • Parse JSON output when available for structured data; fall back to text parsing
  • CRITICAL and HIGH findings should be highlighted prominently
  • Include advisory URLs for every CVE when available
  • This skill is READ-ONLY by default (no installs, no upgrades) unless --fix is passed
  • Respect .auditrc, .nsprc, or equivalent ignore files if present

© softspark, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in app/skills/cve-scan of softspark/ai-toolkit.

  • SKILL.md
  • scripts/cve_scan.py

Open the folder on GitHubat commit d64db2b

Compare with similar skills

Cve Scan next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cve Scan compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cve Scan this skillsoftspark/ai-toolkit179—~1.3kAutomated safety check: NotesApache-2.0
Sca AuditOWASP/secure-agent-playbook187—~494Automated safety check: PassCC-BY-4.0
Dependency Update BotVarnan-Tech/opendirectory674—~3kAutomated safety check: NotesMIT
Review Dependenciestobihagemann/turbo407—~1.5kAutomated safety check: PassMIT
Fix Security PRunional/typescript-blackbook133—~1.4kAutomated safety check: WarnMIT
Cyberowlaikarimhabush/cyberowl263—~2.5kAutomated safety check: PassMIT

Similar skills

  • Sca Audit

    OWASP/secure-agent-playbook

    Scan project dependencies for known vulnerabilities (CVEs). An agent skill from OWASP/secure-agent-playbook.

    187 GitHub stars~494 tokensUpdated 13 days ago
    SecurityAuto-check passed
  • Dependency Update Bot

    Varnan-Tech/opendirectory

    Scans your project for outdated npm, pip, Cargo, Go, or Ruby packages.

    674 GitHub stars~3k tokensUpdated 1 mo ago
    DevelopmentAuto-check: notes
  • Review Dependencies

    tobihagemann/turbo

    Detect package managers and CI action pins, then discover outdated or vulnerable dependencies.

    407 GitHub stars~1.5k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Fix Security PR

    unional/typescript-blackbook

    Fix a PR that is failing due to security or vulnerability issues — npm/pnpm/yarn/bun audit failures, CVE alerts, Dependabot merge conflicts, Snyk failures, or GitHub security advisory blocks.

    133 GitHub stars~1.4k tokensUpdated today
    DevelopmentAuto-check: warnings
  • Cyberowlai

    karimhabush/cyberowl

    Check if recent cybersecurity alerts from 10 international CERTs affect your current project.

    263 GitHub stars~2.5k tokensUpdated today
    SecurityAuto-check passed
  • npm Supply Chain Security

    bodadotsh/npm-security-best-practices

    Applies safer package manager defaults and dependency vetting to JavaScript and TypeScript projects to reduce supply-chain attack risk.

    859 GitHub stars~1k tokensUpdated 7 days ago
    SecurityAuto-check: warnings

More from softspark/ai-toolkit

All 112 skills in this repo
  • Prepare Test Env

    softspark/ai-toolkit

    Prepare or verify a project QA environment with source identity, readiness, browser access, evidence paths and owned cleanup.

    179 GitHub stars~1.8k tokensUpdated yesterday
    Auto-check: notes
  • A11y Validate

    softspark/ai-toolkit

    Accessibility validator: WCAG 2.1 AA, EN 301 549, EAA. An agent skill from softspark/ai-toolkit.

    179 GitHub stars~3.8k tokensUpdated yesterday
    Auto-check: notes
  • Analyze

    softspark/ai-toolkit

    Analyzes code quality, complexity, patterns across codebase.

    179 GitHub stars~1k tokensUpdated yesterday
    Auto-check passed
  • Autonomous Dev

    softspark/ai-toolkit

    Drives a brief, specification, issue or existing PR through implementation, review, tests and QA to a ready PR.

    179 GitHub stars~2.6k tokensUpdated yesterday
    Auto-check: notes
  • Brand Voice

    softspark/ai-toolkit

    Direct technical voice for docs, README, user-facing text. An agent skill from softspark/ai-toolkit.

    179 GitHub stars~2.1k tokensUpdated yesterday
    Auto-check passed
  • CI

    softspark/ai-toolkit

    Detect/generate/debug CI pipeline config (GitHub Actions, GitLab CI).

    179 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check: notes

Works with

Categories

Questions about Cve Scan

What does Cve Scan do?

Scans deps for known CVEs via native audit (npm, pip, composer, cargo, go, bundler, dart). Cve Scan is an agent skill from softspark/ai-toolkit. Scans deps for known CVEs via native audit (npm, pip, composer, cargo, go, bundler, dart).

When should I use Cve Scan?

Cve Scan fits situations like: tasks that involve Vulnerability scanning; tasks that involve Dependency management.

How do I install Cve Scan in Claude Code?

Run `npx skills add softspark/ai-toolkit --skill cve-scan -a claude-code`. Or copy the skill folder (app/skills/cve-scan in softspark/ai-toolkit) into .claude/skills/cve-scan in your project. Claude Code loads it when a task matches its description.

How do I install Cve Scan in Codex?

Run `npx skills add softspark/ai-toolkit --skill cve-scan -a codex`. Or copy the skill folder (app/skills/cve-scan in softspark/ai-toolkit) into .agents/skills/cve-scan in your project. Codex loads it when a task matches its description.

Can I use Cve Scan in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add softspark/ai-toolkit --skill cve-scan -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cve-scan, .gemini/skills/cve-scan, .github/skills/cve-scan and .opencode/skills/cve-scan in your project.

What does Cve Scan need to run?

Going by SKILL.md and its folder, Cve Scan needs Python for the scripts in its folder and the command-line tools its instructions call (python3, cargo, npm, yarn, pnpm and composer). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Grep, Glob, Bash.

Does Cve Scan access the network?

SKILL.md names 2 domains. In commands or code: github.com and osv.dev; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Cve Scan safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Cve Scan use?

Cve Scan is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cve Scan use?

About 1.3k tokens (SKILL.md is roughly 5.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Cve Scan?

Skills that share tags, products or a category with Cve Scan: Sca Audit (OWASP/secure-agent-playbook, 187 stars), Dependency Update Bot (Varnan-Tech/opendirectory, 674 stars), Review Dependencies (tobihagemann/turbo, 407 stars) and Fix Security PR (unional/typescript-blackbook, 133 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cve Scan?

softspark (a GitHub user) maintains it in softspark/ai-toolkit, which has 179 GitHub stars. The repository holds 112 skills in this directory. The repository was last updated on October 7, 2026.

Source: softspark/ai-toolkit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.