agentleFS
transilienceaitransilienceai/communitytools/skills/cve-risk-score/SKILL.md

cve-risk-score

Skill555 starsChanged 8 months agoMITView on GitHub

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

  • Reads credentials

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

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

    line 31
  2. Distinctive:

    cve-poc-generator: After seeing the risk score, the user may want a full PoC and report

    line 51
  3. Distinctive:

    reconnaissance / source-code-scanning: When these skills discover CVEs in dependencies, auto-lookup their scores

    line 52

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.