Skip to content
Security
Command

/check-nvd

Query NVD and OSV.dev for existing CVEs. Usage: /check-nvd <package-name>. Shows CVE count, severity breakdown, and recent fixes.

From plugin
find-cve-agent
607 skills5 agents7 commands3 hooks
$ npx -y skills add ByamB4/find-cve-agent --agent claude-code

Command definition

check-nvd.md
name: check-nvd
description: "Query NVD and OSV.dev for existing CVEs. Usage: /check-nvd <package-name>. Shows CVE count, severity breakdown, and recent fixes."

/check-nvd <package-name>

Check if a package has existing CVEs in NVD, OSV.dev, and GitHub Security Advisories.

Process

Step 1: Query OSV.dev

# Query OSV.dev for known vulnerabilities
curl -s "https://api.osv.dev/v1/query" \
  -H "Content-Type: application/json" \
  -d "{\"package\":{\"name\":\"$ARGUMENTS\",\"ecosystem\":\"npm\"}}" \
  | python3 -m json.tool

If the package is not on npm, try other ecosystems:

# PyPI
curl -s "https://api.osv.dev/v1/query" -d "{\"package\":{\"name\":\"$ARGUMENTS\",\"ecosystem\":\"PyPI\"}}"

# Go
curl -s "https://api.osv.dev/v1/query" -d "{\"package\":{\"name\":\"$ARGUMENTS\",\"ecosystem\":\"Go\"}}"

# RubyGems
curl -s "https://api.osv.dev/v1/query" -d "{\"package\":{\"name\":\"$ARGUMENTS\",\"ecosystem\":\"RubyGems\"}}"

Step 2: Query GitHub Security Advisories

# Search GitHub Advisory Database
gh api graphql -f query='
{
  securityAdvisories(first: 20, orderBy: {field: PUBLISHED_AT, direction: DESC}, identifier: {type: CVE, value: ""}) {
    nodes {
      ghsaId
      summary
      severity
      publishedAt
      identifiers { type value }
    }
  }
}'

# Or search by package name
gh api "/advisories?ecosystem=npm&package=$ARGUMENTS" 2>/dev/null

Step 3: Check the Repo Directly

# Find the GitHub repo
npm view "$ARGUMENTS" repository.url 2>/dev/null

# Check repo security advisories
gh api "repos/<owner>/<repo>/security-advisories" 2>/dev/null

Step 4: Summarize Results

Present a summary:

CVE CHECK: <package-name>

Total CVEs found: <count>

Severity breakdown:
  CRITICAL: <count>
  HIGH:     <count>
  MEDIUM:   <count>
  LOW:      <count>

Recent CVEs (last 12 months):
  <CVE-ID> | <severity> | <summary> | <date>
  <CVE-ID> | <severity> | <summary> | <date>

Recent security fixes (from git log):
  <commit hash> | <date> | <message>

Assessment:
  <0-3 CVEs>: Under-audited. Good target.
  <4-10 CVEs>: Moderately audited. Proceed with caution -- look for incomplete fixes.
  <>10 CVEs>: Over-audited. Skip unless looking for fix bypasses.

Incomplete fix opportunities:
  <List any CVEs where the fix might be incomplete based on the patch>

Step 5: Update Registry

If existing CVEs are found and they cover the same vectors we'd investigate:

  • Message Registry to add to DUPLICATE section
  • Include the specific CVE IDs and what they cover

If CVEs exist but leave gaps:

  • Note which vectors are already covered
  • Recommend focusing on uncovered vectors
Read more
@byamb4
Ships withfind-cve-agent

Open Source CVE Hunting Harness for Claude Code A Claude Code plugin that systematically finds real CVEs in open source packages through coordinated multi-agent security research.

6021 skills5 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
60
Star history of ByamB4/find-cve-agent on GitHub, a chart by star-history.com

Other commands on find-cve-agent.

cross-pollinate

cross-pollinate

Command

Take a confirmed vulnerability pattern and find the same bug in similar packages. Usage: /cross-pollinate (run after confirming a…

@byamb4@byamb4Install Command
fp-check

fp-check

Command

Run the 6-gate false positive elimination process on the current finding. Usage: /fp-check (run from a target directory with…

@byamb4@byamb4Install Command
hunt

hunt

Command

Full CVE hunting pipeline. Usage: /hunt <package-name>. Orchestrates all agents: registry check, clone, code review, PoC build,…

@byamb4@byamb4Install Command
recon

recon

Command

Find targets in a category. Usage: /recon <category>. Examples: /recon csv-parsers, /recon template-engines, /recon archive-libs.

@byamb4@byamb4Install Command
registry

registry

Command

Query or update the research registry. Usage: /registry [query]. Examples: /registry stats, /registry check lodash, /registry…

@byamb4@byamb4Install Command
report

report

Command

Generate a disclosure report from the current finding. Auto-detects the best submission channel. Usage: /report (run from target…

@byamb4@byamb4Install Command

More commands from other plugins.

deslop-reborn

deslop-reborn

Command

One iteration of the IronClaw Reborn de-slop loop — take ONE Reborn crate, fan out parallel review sub-agents (thermo-nuclear…

ironclaw12d13k
@nearai@nearaiInstall Command
audit

audit

Command

Audit a file, directory, or whole repo for insecure default configuration: fallback secrets, default credentials, fail-open…

@trailofbits@trailofbitsInstall Command
arsenal

arsenal

Command

Show which external bug-bounty tools are installed on this machine and print install hints for the missing ones. Curated from…

@awarexone@awarexoneInstall Command