agentleFS
NoorQureshiNoorQureshi/SploitAgent/skills/automation/automation-nuclei-templates/SKILL.md

automation-nuclei-templates

Skill26 starsChanged 33 days agoMITView on GitHub

Write custom nuclei templates to codify a finding into a repeatable, mass-scannable check. Load on "write a nuclei template", turning a manual bug into automation, checking a CVE across many hosts, or regression-scanning. Signals: a reproducible request→match, YAML templates, nuclei.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

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

    Use matchers-condition: and to avoid false positives.

    line 33
  2. Distinctive:

    Scale/share: run across your live-hosts list.

    line 38

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

Custom nuclei templates

When it applies

You confirmed a bug (or a CVE pattern) and want to (a) find every other affected host and (b) keep a regression check. A nuclei template turns "one request + one match condition" into a scalable, shareable detector.

Why it works

nuclei runs declarative YAML: send request(s), assert matchers on the response. If your finding is expressible as request→observable signal, it's a template — and then it scans thousands of hosts consistently, no manual repetition.

Method

  1. Capture the minimal repro: the exact request and the unambiguous signal that proves the bug (status, a body string, a header, a reflected marker, response time).
  2. Write the template: id, info (name/severity/tags), then http: with method, path (use {{BaseURL}}), any payloads, and matchers (word/status/regex/dsl). Use matchers-condition: and to avoid false positives; add an extractor to pull the proof.
  3. Reduce false positives: match a signal unique to the vuln (a computed reflection, a specific error), not a generic 200; test against a known-good and known-bad host.
  4. Validate: nuclei -t mytemplate.yaml -u https://known-vuln (should hit) and against a safe host (should not). Lint with -validate.
  5. Scale/share: run across your live-hosts list; contribute non-sensitive templates upstream.

Gotchas

  • Overbroad matchers = noisy, untrusted results; require a signal that only the vuln produces.
  • Interpolate {{BaseURL}}/variables correctly; hardcoded hosts don't scale.
  • Destructive checks (writes/DoS) don't belong in a mass template — keep them read-only.

Verify success

The template fires only on genuinely-affected hosts (true on the known-vuln, quiet on the known-good) and extracts a clear proof.

References

nuclei templating guide; nuclei-templates repo (examples); PDTM docs.

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.