Skip to content
FunCoding

cve-risk-score

Retrieve CVE risk scores from NVD. Auto-invoked whenever a CVE ID is mentioned to display CVSS score, severity, CWE, and description.

Star
641
Category
Security
License
MIT
Last commit
Jul 29, 2026

skills/cve-risk-score/SKILL.md

View on GitHub

CVE Risk Score

Fetch and display CVE risk scores from the National Vulnerability Database (NVD) whenever a CVE ID appears in conversation.

Trigger

This skill MUST be invoked automatically whenever a CVE ID (pattern CVE-YYYY-NNNNN) is mentioned by the user or discovered during research/scanning. Do not wait for explicit invocation.

Workflow

  1. Extract CVE IDs from the user's message or tool output (regex: CVE-\d{4}-\d{4,})

  2. Run the lookup script:

    python3 tools/nvd-lookup.py CVE-XXXX-XXXXX [CVE-YYYY-YYYYY ...]
    
  3. Present the results in a concise table format:

    CVE IDScoreSeverityCWEDescription
    CVE-XXXX-XXXXX9.8CRITICALCWE-79...
  4. Continue with the user's original task — the score lookup is supplementary context, not a blocking step.

Output Format

When presenting CVE risk scores inline, use this compact format:

CVE-2024-12345: 9.8 CRITICAL (CWE-79) — Remote code execution via ...

For multiple CVEs, use a markdown table.

Rules

  1. Always invoke — every CVE ID mentioned triggers a lookup. No exceptions.
  2. Non-blocking — fetch scores in parallel with other work when possible.
  3. Accurate data only — display exactly what NVD returns. Never estimate or fabricate scores.
  4. Graceful degradation — if NVD is unreachable or the CVE has no score yet, say so explicitly (e.g., "Not yet scored by NVD").
  5. Rate limiting — the script handles rate limits internally. For bulk lookups (5+), warn that NVD throttles unauthenticated requests.
  6. API key — if NVD_API_KEY is set in .env, the script uses it for higher rate limits.

Integration

This skill complements other skills:

  • cve-poc-generator: After seeing the risk score, the user may want a full PoC and report
  • reconnaissance / source-code-scanning: When these skills discover CVEs in dependencies, auto-lookup their scores
  • coordination: CVE scores inform priority and severity classification in findings

Similar Skills

agent-security-hardening

AFaffaan-m/ECC315k4,381 new stars in the last 7 days

Featured

ponytail-audit

Audit the whole repo: find bugs, security holes and performance bottlenecks. Get a ranked report in plain English.

DIDietrichGebert/ponytail203k4,904 new stars in the last 7 days

gstack

GAgarrytan/gstack143k598 new stars in the last 7 days

Featured

security-and-hardening

Harden code against the OWASP Top 10: input handling, authentication, sessions and dependencies.

ADaddyosmani/agent-skills122k1,667 new stars in the last 7 days

doubt-driven-development

ADaddyosmani/agent-skills122k1,667 new stars in the last 7 days

ruview-rvagent

RUruvnet/RuView106k739 new stars in the last 7 days