Black FridayGet a quick pentest for $1.99. Black Friday deal, this weekend only.Claim it →
← All articles

Nuclei Vulnerability Scanner: A Practical Overview

The Nuclei vulnerability scanner is an open-source, template-driven scanning engine from ProjectDiscovery that sends requests defined in YAML files and reports a match when a response fits a known-bad pattern — a CVE fingerprint, a default credential, an exposed panel, a misconfiguration. It's MIT-licensed, written in Go, and backed by a companion nuclei-templates repository with thousands of community-contributed checks. It's genuinely useful for catching known, named issues fast across a lot of assets — and it's structurally unable to find the business-logic and access-control bugs that usually matter most in a real pentest.

This post covers how Nuclei actually works, what its template ecosystem looks like today, where it's strong, where it breaks down, and how it fits (or doesn't) into a compliance-grade security program.

What the Nuclei vulnerability scanner actually does

Nuclei is a request-and-match engine, not an AI or heuristic system. Each template defines a protocol (HTTP, DNS, TCP, SSL, file, JavaScript, code, and others), the request(s) to send, and a set of matchers — string, regex, status-code, or DSL expressions — that decide whether the response proves the condition the template is looking for. If the matcher logic evaluates true, Nuclei prints a finding. According to ProjectDiscovery's own documentation, each template "delineates a possible attack route, detailing the vulnerability, its severity, priority rating, and occasionally associated exploits."

That template model is why the project can move fast: a newly disclosed CVE becomes a pull request against the templates repository, not a new release of the scanning binary itself. The nuclei GitHub repository shows the engine itself at roughly 33,000 GitHub stars, over 300 contributors, and 147 tagged releases as of writing — an actively maintained project, not an abandoned script.

How the YAML templates work

A basic Nuclei template looks like this:

id: example-exposed-panel

info:
  name: Example Exposed Admin Panel
  severity: medium

http:
  - method: GET
    path:
      - "{{BaseURL}}/admin/login"
    matchers:
      - type: word
        words:
          - "Admin Panel Login"
        part: body

The structure is consistent across protocols: an id and info block (name, severity, classification, sometimes CVSS/CVE metadata), then one or more request blocks, then matchers and optional extractors. ProjectDiscovery's template documentation covers the full syntax, including workflows that chain templates together and DSL helper functions for more complex conditions.

As of this writing, the nuclei-templates repository lists itself as MIT-licensed with over 1,100 contributors and roughly 12,000 template files spanning HTTP, network, DNS, SSL, cloud, code, and file-based checks, tagged across categories like cve, xss, wordpress, exposure, and osint. ProjectDiscovery's docs separately describe "over 6,500 templates contributed thus far" as a headline figure for the community-powered library — the exact count varies by release since the repo adds and prunes templates continuously, so treat any specific number as a snapshot, not a fixed spec.

Strengths: what Nuclei is genuinely good at

  • Speed at scale. Nuclei is designed for bulk scanning across many hosts in parallel, which is why it's a staple in bug bounty and continuous monitoring workflows.
  • Known-vulnerability coverage. Because templates are contributed within days of a new CVE, Nuclei is often one of the fastest open-source ways to check whether your stack is running an exposed panel, a default credential, or a vulnerable component version.
  • CI/CD-friendly. It integrates into pipelines for regression checks — confirming a patched CVE doesn't resurface after a deploy.
  • Extensible. Because templates are plain YAML, teams can write their own checks for internal standards (e.g., an OWASP Top 10 checklist) without touching the engine's code.

Limitations: where Nuclei structurally stops

This is the part vendors selling "automated pentesting" tend to skip, and it's where accuracy matters most for anyone relying on scan output for a compliance narrative.

False positives from weak matchers. A template match proves only that its specific matcher logic evaluated true against one response — not that the vulnerability is real. Status-only matchers (e.g., "200 means the panel exists") get fooled by catch-all routes, WAF block pages, and CDN caches. The nuclei-templates contribution guide itself warns authors to avoid "short word[s] that could be encountered anywhere" and to add more than one matcher "to prevent false positive results." The project's own .nuclei-ignore file excludes a list of templates specifically because they have weak matchers prone to false positives.

No business-logic testing. Nuclei detects patterns someone already wrote a template for. It has no concept of your data model, so it cannot find IDOR across two of your own accounts, privilege escalation through workflow state, price or coupon manipulation, or race conditions in a checkout flow — these bugs are in your application's rules, not in a known signature, and no template exists for them by definition.

Authentication and chained attacks are out of scope. Templates run unauthenticated unless you supply credentials, so anything behind a login is invisible by default. And Nuclei scores findings in isolation — a medium-severity SSRF next to an exposed internal metadata endpoint and an over-permissive cloud role is, individually, three low-to-medium findings; chaining them into an actual breach path takes a human analyst reasoning about what's reachable.

Manual triage is mandatory, not optional. ProjectDiscovery's own Nuclei FAQ recommends validating a match a second time — rerunning the template with -debug to inspect the output against the expected matcher — before treating a finding as confirmed. In other words, the tool's maintainers themselves don't treat a raw match as a verified vulnerability.

Nuclei vs. a verified, business-logic-aware scan

CapabilityNuclei (template-based)What a full assessment adds
Known CVEs / default panelsStrong, fast, continuously updated—
Exposed secrets, misconfigsGood, template-dependent—
Business-logic flaws (IDOR, price manipulation)Not possible — no template concept for app-specific rulesRequires manual or context-aware testing across roles
Authenticated multi-role testingNeeds manual credential setup; not automaticCore to an authenticated pentest
False-positive filteringManual review required per the project's own FAQEngineer verification before reporting
Attack-path chainingScores findings in isolationAnalyst correlates findings into exploit paths

SecurityInfinity's own deep security scan takes the same template-based approach Nuclei popularized — running 25,000+ templates for a full CVE assessment covering XSS, SQLi, and logic flaws — and sits in the same category: fast, broad, known-pattern coverage that's a strong first pass but not a substitute for scoped, engineer-verified testing. For organizations that need a report tying automated coverage to actual exploitability, a startup pentest adds authenticated, role-based testing and access-control review, with high and critical findings engineer-verified and false positives excluded before the report goes out.

Where Nuclei fits in a real security program

Used well, Nuclei occupies three slots: continuous external sweeps between formal assessments, regression checks right after a deploy or patch, and the recon phase at the start of a scoped engagement. It is not, on its own, a penetration test, and it was never built to be one — ProjectDiscovery markets it as a vulnerability scanner, and its own documentation is explicit that templates only catch what someone has already written a check for.

If you're building a security program around it, pair continuous template-based scanning (whether Nuclei, SecurityInfinity's scan, or a commercial equivalent) with periodic authenticated testing that covers the access-control and logic gaps no template library can reach. Our posts on automated vs. manual penetration testing, continuous penetration testing, and open-source automated penetration testing tools go deeper into how to combine these layers without creating gaps or duplicate work.

If you need a report an enterprise customer or auditor will actually accept, start a scan to see what template-based coverage turns up, then scope a pentest for the authenticated, business-logic testing that a scanner — Nuclei or otherwise — cannot do on its own.

Frequently asked questions

Is Nuclei a vulnerability scanner or a penetration testing tool?

Nuclei is a vulnerability scanner, not a penetration testing tool. It matches requests and responses against YAML templates to flag known, patterned issues like CVEs and misconfigurations, but it doesn't reason about your application's business logic, chain findings into exploit paths, or verify exploitability the way a human-led pentest does.

Is Nuclei free to use?

Yes. Both the nuclei engine and the nuclei-templates repository are open-source under the MIT License, and both are actively maintained by ProjectDiscovery and the community.

How many templates does Nuclei have?

The count changes with every release since templates are continuously added, updated, and occasionally pruned. ProjectDiscovery's documentation cites "over 6,500" community-contributed templates, while the nuclei-templates repository itself shows roughly 12,000 template files across categories like CVEs, exposures, and misconfigurations as of this writing — check the repository directly for a current count rather than relying on a fixed number.

Why does Nuclei produce false positives?

False positives come from weak matcher logic — for example, a check that only looks for an HTTP 200 status or a word that also appears on an unrelated error page, WAF block page, or cached response. ProjectDiscovery's own contribution guidelines warn template authors against this, and the project excludes known weak templates by default, but ProjectDiscovery's FAQ still recommends manually re-verifying any match before treating it as confirmed.

Can Nuclei replace a manual penetration test?

No. Nuclei finds vulnerabilities that already have a published template — known CVEs, default credentials, exposed panels — but it has no way to detect business-logic flaws, authentication abuse, or chained attack paths across findings, all of which require a tester who understands how your specific application is supposed to work.

Find what attackers can see, before they do.

AI pentesting agents test your web app, API and cloud, and every finding comes with evidence and a fix. First report in about 10 minutes.

Stay ahead of attackers.

New vulnerabilities, breach write-ups and practical fixes. A few emails a month.