Nuclei — Fast and Customizable Vulnerability Scanner
Nuclei is a fast, template-based vulnerability scanner. Its community-driven template library covers CVEs, misconfigurations, exposed panels, and security checks — letting you scan applications, APIs, networks, and cloud configurations with simple YAML templates.
What it is
Nuclei is a fast, template-based vulnerability scanner by ProjectDiscovery. Its community-driven template library covers CVEs, misconfigurations, exposed admin panels, default credentials, and security checks. You point Nuclei at a target, and it runs thousands of checks in parallel using YAML templates.
Nuclei targets security researchers, penetration testers, and DevSecOps teams who need automated vulnerability scanning across web applications, APIs, and infrastructure.
How it saves time or tokens
Nuclei replaces manual security checks with automated template scanning. The community maintains thousands of templates updated for new CVEs within days of disclosure. Running Nuclei against a target in CI/CD catches vulnerabilities before deployment.
Templates are YAML files you can read, modify, and write. Custom checks for your application take minutes to create.
How to use
- Install Nuclei:
go install github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest - Update templates:
nuclei -update-templates - Scan a target:
nuclei -u https://example.com - Filter by severity:
nuclei -u https://example.com -severity critical,high
Example
# Custom Nuclei template: check for exposed .env file
id: exposed-env-file
info:
name: Exposed .env File
author: security-team
severity: high
description: Checks for publicly accessible .env files containing secrets
http:
- method: GET
path:
- '{{BaseURL}}/.env'
matchers-condition: and
matchers:
- type: word
words:
- 'DB_PASSWORD'
- 'API_KEY'
- 'SECRET'
condition: or
- type: status
status:
- 200
Run: nuclei -t exposed-env.yaml -u https://target.com
Related on TokRepo
- Security tools -- Security scanning and auditing
- DevOps tools -- CI/CD security integration
Common pitfalls
- Running all templates against a production target generates heavy traffic; use rate limiting (
-rl 100) and severity filters - Some templates trigger active exploitation attempts; use
-tags safefor passive-only scanning in production - False positives occur with broad templates; validate critical findings manually before reporting
Frequently Asked Questions
The community template library contains thousands of templates covering CVEs, misconfigurations, exposed panels, default credentials, and technology detection. The library is updated frequently as new vulnerabilities are disclosed.
Yes. Templates are YAML files with a simple structure: define the HTTP request, set matchers for the response, and specify metadata. Custom templates for internal application checks typically take 5-10 minutes to write.
Use caution. Some templates perform active exploitation. Filter with '-tags safe' for passive detection only. Always get authorization before scanning targets. Use rate limiting to avoid impacting production performance.
Yes. Nuclei supports HTTP, DNS, TCP, and other protocols. For APIs, you can scan individual endpoints, test for authentication bypass, and check for common API vulnerabilities using templates.
Nessus and Burp Suite are commercial tools with GUIs and enterprise features. Nuclei is free, open source, and CLI-based. Nuclei's template system makes it highly customizable. Use Nuclei for automated CI/CD scanning; use Burp Suite for manual penetration testing.
Citations (3)
- Nuclei GitHub— Nuclei is a fast template-based vulnerability scanner
- Nuclei Templates— Community-driven vulnerability templates
- ProjectDiscovery— ProjectDiscovery open-source security tools
Related on TokRepo
Discussion
Related Assets
Conda — Cross-Platform Package and Environment Manager
Install, update, and manage packages and isolated environments for Python, R, C/C++, and hundreds of other languages from a single tool.
Sphinx — Python Documentation Generator
Generate professional documentation from reStructuredText and Markdown with cross-references, API autodoc, and multiple output formats.
Neutralinojs — Lightweight Cross-Platform Desktop Apps
Build desktop applications with HTML, CSS, and JavaScript using a tiny native runtime instead of bundling Chromium.