agentleFS
transilienceaitransilienceai/communitytools/skills/cve-poc-generator/SKILL.md

cve-poc-generator

Skill555 starsChanged 8 months agoMITView on GitHub

CVE research, standalone PoC script and report generation. Given a CVE ID, researches NVD and advisories, generates a safe Python PoC, and writes a detailed vulnerability report.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    PoC Generation: - Write a standalone Python script (poc.py) that demonstrates the vulnerability safely.

    line 14
  2. Very specific:

    Report Generation: - Write a comprehensive markdown report (report.md) with metadata, root cause analysis, risk assessment, and remediation …

    line 15
  3. Distinctive:

    Accurate scoring: - Use the exact CVSS score and vector from NVD.

    line 52
  4. Distinctive:

    Source attribution: - Every claim in the report must cite its source (NVD, vendor advisory, CVE description).

    line 53
  5. Distinctive:

    No emoji: - Use text severity labels only (CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL).

    line 54
  6. Distinctive:

    Verified data only: - Do not hallucinate CVE details.

    line 55

≈ “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 PoC Generator

Research a CVE by ID, generate a standalone Python proof-of-concept script, and produce a detailed vulnerability report.

Workflow

  1. NVD Lookup - Query NVD API v2.0 for the CVE ID (python3 tools/nvd-lookup.py <CVE>). Extract the CVSS score/vector using the v4.0-primary ladder (v4.0 → v3.1 → v3.0 → v2.0; the tool's JSON_SUMMARY exposes cvss_version + cvss_vector), plus CWE IDs, CPE matches, advisory URLs, and patch links.
  2. Advisory Research - Deep-dive vendor advisories, GitHub security advisories, Exploit-DB, and published write-ups. Identify root cause, affected versions, and attack vector details.
  3. PoC Generation - Write a standalone Python script (poc.py) that demonstrates the vulnerability safely. Follow the script standards in reference/poc-methodology.md.
  4. Report Generation - Write a comprehensive markdown report (report.md) with metadata, root cause analysis, risk assessment, and remediation guidance.

NVD Data to Collect

FieldSourceUsage
CVE IDNVDPrimary identifier
CVSS Score + Vector (v4.0 primary; v3.1/v3.0/v2.0 fallback)NVDRisk scoring
CWE ID(s)NVDVulnerability classification
CPE MatchesNVDAffected products and versions
Advisory URLsNVD referencesResearch sources
Patch LinksNVD references / vendorRemediation guidance
DescriptionNVDVulnerability summary
Published / Modified datesNVDTimeline

Output

{OUTPUT_DIR}/
  artifacts/cve-pocs/CVE-XXXX-XXXXX/
    poc.py              # Standalone Python PoC script
  reports/cve-pocs/CVE-XXXX-XXXXX/
    report.md           # Detailed vulnerability report

Invocation

/cve-poc-generator CVE-2024-XXXXX

The skill accepts a single CVE ID as argument. Multiple CVEs should be processed with separate invocations.

Rules

  1. Least harm - PoC scripts MUST demonstrate vulnerability without causing damage. Use detection/verification checks, not destructive payloads.
  2. Standalone scripts - PoC must run independently with only standard Python libraries plus requests. No framework dependencies.
  3. Accurate scoring - Use the exact CVSS score and vector from NVD. Do not fabricate or estimate scores.
  4. Source attribution - Every claim in the report must cite its source (NVD, vendor advisory, CVE description).
  5. No emoji - Use text severity labels only (CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL).
  6. Verified data only - Do not hallucinate CVE details. If NVD data is unavailable, state it explicitly.
  7. Safe defaults - PoC scripts must default to read-only, non-destructive operations. Any potentially harmful action requires explicit --confirm flag.

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.