Custom Nuclei templates turn one manual finding into a check you can run everywhere. Let's collect good ones.
Example: exposed debug endpoint
yaml
id: exposed-debug-endpoint
info:
name: Exposed debug endpoint
severity: medium
http:
- method: GET
path:
- "{{BaseURL}}/debug/vars"
matchers-condition: and
matchers:
- type: status
status: [200]
- type: word
words: ["memstats"]When you share a template, include
- What it detects and why it matters.
- That you tested it in a lab or on systems you're authorised to test.
- Known false positives.
- No templates targeting unpatched vulnerabilities in third-party products.
Tip: use matchers that check content, not just status codes, to keep false positives down. More in Chapter 14.