Nuclei is an open-source, template-based vulnerability scanner developed by ProjectDiscovery and written in Go. It sends precisely defined requests to targets and evaluates the responses against matching rules written in YAML templates, which lets it confirm known vulnerabilities, misconfigurations, exposed files and outdated software at high speed and with a low false positive rate.
In security testing, Nuclei sits between broad network scanners and manual penetration testing. In cybersecurity practice it is used by bug bounty hunters, red teams, attack surface management platforms and DevSecOps pipelines, largely because its community template library often covers newly disclosed vulnerabilities within days.
How Nuclei templates drive the scan
Every Nuclei check is a template: a YAML file that declares an identifier, metadata, one or more requests and the matchers that decide whether a finding exists. The engine itself contains no vulnerability logic; it simply executes templates in parallel against the target list, which keeps the tool generic and the checks transparent.
A typical template for a known flaw sends an HTTP request to a specific path, then requires several conditions at once, such as a status code of 200, a characteristic string in the body and a particular header. Combining conditions with and logic is what keeps Nuclei findings precise compared with banner-based scanners. Extractors can additionally pull values, such as version numbers or tokens, from responses for later steps.
The following table describes the main components of a template.
| Component | Purpose | Example content |
|---|---|---|
| id and info | Identify the check and its metadata | Name, author, severity, tags, CVE |
| Protocol block | Define what is sent to the target | http, dns, network, ssl |
| Matchers | Decide whether the issue exists | Word, regex, status, binary, DSL |
| Extractors | Capture data from responses | Version string, cookie, token |
| Variables and payloads | Parameterize requests | Wordlists, path lists, credentials |
| Flow and workflows | Chain requests or templates | Run a CVE check only if a product is detected |
Supported protocols and template categories
Nuclei supports multiple protocols, not only web traffic, which allows one tool to cover much of an external attack surface. The public template repository organizes thousands of checks into categories that reflect the type of issue.
| Protocol | Typical checks | Notes |
|---|---|---|
| HTTP | CVEs, exposed panels, misconfigurations | Largest share of templates |
| DNS | Subdomain takeover, missing records | Useful for domain hygiene |
| Network (TCP) | Exposed services, default banners | Raw socket requests |
| SSL/TLS | Weak ciphers, expired certificates | Certificate and protocol analysis |
| Headless | DOM-based issues in a browser | Slower and resource heavy |
| File and code | Secrets in local files | Used for local or pipeline scanning |
Common template categories include cves, exposures for leaked files and backups, misconfiguration, default-logins, takeovers and technologies for fingerprinting. Each template carries a severity rating from info to critical, which allows scans to be filtered with options such as -severity critical,high or by tags.
Nuclei compared with other security testing tools
Nuclei is a confirmation scanner for known issues, not a crawler or exploitation framework. Comparing it with neighboring tools clarifies where it belongs in a testing workflow.
| Tool | Main role | Difference from Nuclei |
|---|---|---|
| Nuclei | Template-driven detection of known issues | Reference point |
| Nmap | Host and port discovery, service detection | Finds services; Nuclei tests them |
| Nessus | Broad authenticated vulnerability scanning | Commercial, deeper host coverage |
| OWASP ZAP | Dynamic web application testing with crawling | Discovers unknown flaws in app logic |
| Burp Suite | Manual and automated web testing proxy | Built for interactive analysis |
| Metasploit | Exploitation and post-exploitation | Exploits rather than detects |
A typical reconnaissance pipeline chains tools: subdomain enumeration produces hosts, a probe identifies live web servers and Nuclei runs templates against the live targets. Findings then go to a human tester for manual validation and deeper exploitation.
Using Nuclei responsibly in practice
Running Nuclei well depends on scope control, rate limiting and template selection. The default rate is fast enough to trigger web application firewalls or overload fragile systems, so production scans usually set explicit limits with options such as -rate-limit and -concurrency.
- Scan only authorized targets: Nuclei sends real requests, and some templates test default credentials.
- Update templates regularly with
-update-templatesso that new CVE checks are available. - Exclude intrusive templates with tags such as
dosorfuzzwhen testing production systems. - Write custom templates for internal products and recurring findings from past tests.
- Integrate into CI/CD to block releases that reintroduce known exposures.
Limitations and common misconceptions
Nuclei finds only what its templates describe. A clean scan therefore means that no known pattern matched, not that the target is secure, and it says nothing about business logic flaws or authorization problems such as IDOR.
Quality also varies across community-contributed templates. Some rely on weak matchers and produce false positives, while others are intrusive. Because templates can execute code in some protocols, teams should review third-party templates before running them, and recent versions require signed templates for code execution.
Another misconception is that Nuclei replaces authenticated scanning. By default it tests what an anonymous client can reach, so vulnerabilities behind a login page remain invisible unless the tester supplies session cookies or headers and adjusts the templates. Version-based templates can also report a flaw on a system that has received a backported patch without a version change, which is why every high or critical finding deserves manual confirmation before remediation tickets are raised or reports are delivered to clients.
The short version
Picture a building inspector carrying a thick binder of checklists, one for every known way a building can fail. The inspector walks to each door and window, runs the matching checklist and writes down only the problems that clearly match. Nuclei is that inspector for websites and servers.
Each checklist is a small template, and anyone can write a new one when a new problem is discovered. It finds known problems quickly, but it cannot find problems nobody has described yet.
Where it makes a difference
A mid-sized software company manages about 400 public subdomains across several cloud accounts. Its two-person security team schedules a nightly Nuclei scan against the live hosts discovered by its asset inventory, limited to medium, high and critical templates and capped at 50 requests per second.
One morning, a newly published template for a file-sharing appliance vulnerability matches on a forgotten test server that a former project team never decommissioned. The team confirms the finding manually, takes the server offline and adds a custom template for the company’s own staging naming pattern. The exposure is closed within hours of the template’s release, long before routine quarterly penetration testing would have reached that host.