agentleFS
fennihfennih/hunterkit/known-cves/SKILL.md

known-cves

Skill0 starsChanged 6 days agoMITView on GitHub

Matches a web target's technology stack against known vulnerabilities: fingerprinting, nuclei scans with CVE tags, version-based CVE lookup, default credentials, exposed admin panels. Use when the focus is known vulns, CVEs, n-day exploitation, or 'is X running something vulnerable'. Not for logic or custom bugs.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

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

    Never report a CVE based on the Server header alone if the version is ambiguous — confirm via a second signal (error page, endpoint …

    line 27
  2. Very specific:

    Every nuclei hit must be manually reviewed: verify the matched response actually proves the issue (no false-positive template matches).

    line 48
  3. Very specific:

    Write findings to findings/known-cves-<date>.md:

    line 58

≈ “Common” is an estimate: at least 1 in 5 of the 383,637 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

Known Vulnerabilities (CVE / n-day)

When to use

  • "Check X for known CVEs", "is X's stack vulnerable", "scan X with nuclei"
  • Complements recon: fingerprint comes from there if available

When NOT to use

  • Custom/logic bugs (use the matching focused skill)
  • Unverified version speculation without a confirmed fingerprint

Inputs

  • Target: live hosts (from recon profile if available)
  • Depth: report-only (default) or validate (user explicitly allows PoC validation)

Ground rules

  • Destructive exploits forbidden by default. Validate with the least-intrusive PoC available (a version banner is often enough; if a PoC request is needed, prefer read-only ones).
  • A CVE finding requires: confirmed component + confirmed version range + (if validating) proof the vulnerable path is reachable.
  • Never report a CVE based on the Server header alone if the version is ambiguous — confirm via a second signal (error page, endpoint behavior, favicon, ETag).

Methodology

1. Fingerprint

Collect per host:

  • Headers: Server, X-Powered-By, X-Generator, X-AspNet-Version, X-Runtime, X-Version, cookies (framework names), ETag patterns.
  • Bodies: login page framework markers, Generator meta tag, error pages.
  • Known paths: /wp-login.php, /administrator, /metrics (java), /_next/, /static/django, /api/v1 shapes.
  • nuclei -target URL -tags tech if installed; httpx -tech-detect if installed.

2. Version pinning

For each component, extract the exact version. Cross-check at least two signals when possible. Record how you know the version — evidence chain matters.

3. CVE matching

  • For each component@version, look up known CVEs: prefer authoritative sources (NVD API: curl -s "https://services.nvd.nist.gov/rest/json/cves/2.0?keywordSearch=<component> <version>"), vendor advisories, GitHub advisories (gh api or curl https://api.github.com/advisories?cwe_id=-style queries).
  • Filter by: does the deployed usage include the vulnerable feature? (e.g. a WordPress plugin CVE only matters if the plugin is present and the route reachable).

4. Nuclei scan (if installed)

  • nuclei -l live-hosts.txt -tags cve -severity medium,high,critical -rl 10 (rate-limited).
  • Also -tags misconfig,default-login,exposure for a complementary pass.
  • Every nuclei hit must be manually reviewed: verify the matched response actually proves the issue (no false-positive template matches). Use fp-style skepticism — verify the match semantically before reporting.

5. Default credentials and panels

Exposed panels (Grafana, Kibana, Jenkins, phpMyAdmin, admin interfaces): try known default creds only (admin/admin, etc.), a handful of attempts, then stop. Success = report credentials + screenshot-level evidence (request/response).

6. Validation (only if user allowed)

Pick the least-intrusive PoC per candidate: version banner proof first, harmless endpoint proof second, data-displaying proof last. Never run PoCs that modify state or dump large data without permission.

Reporting

Write findings to findings/known-cves-<date>.md:

### [SEVERITY] CVE-YYYY-NNNN — Component vX.Y.Z
- Location: host + evidence path
- CWE
- Evidence: fingerprint signals + (if validated) PoC request/response
- Reachability: is the vulnerable feature actually deployed/reachable?
- Impact: from the advisory, in this deployment's terms

Include a coverage table: host | component | version | how confirmed | CVEs considered | verified/ruled out.

Focus discipline

Fingerprint findings with no CVEs → hand the stack info to other skills (sqli, ssti, upload-traversal) as context, not as 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.