Nuclei vs Gitleaks: open-source security testing tools compared
Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.
Summary
Nuclei: Template-based vulnerability scanner that runs YAML templates over HTTP, DNS, TCP, SSL and other protocols from a CLI.
Gitleaks: CLI that detects secrets such as passwords, API keys and tokens in git repositories, files and stdin.
Both are listed under Security testing. The table gives repository metrics from the GitHub API with their fetch date, then the documented facts used for every comparison in this category, each linked to the README or docs page it comes from. A cell reads "not documented" when the fact was not found in the project's documentation; that does not mean the feature is absent.
Side by side
| Fact | Nuclei | Gitleaks |
|---|---|---|
| Stars | 31,4311 | 29,4281 |
| Forks | 3,8821 | 2,2381 |
| Contributors | 2781 | 2341 |
| Last release | 2026-08-081 | 2026-03-211 |
| Last commit | 2026-09-221 | 2026-07-221 |
| Commits in 90 days | 2041 | 51 |
| License | MIT1 | MIT1 |
| Primary language | Go1 | Go1 |
| Status | active1 | active1 |
| Scan targets | Target URLs and hosts, from a single target or a list file source: README | Secrets such as passwords, API keys and tokens in git repositories, files and stdin source: README |
| Languages or files analysed | Target lists plus Burp, JSONL, YAML, OpenAPI, Swagger and raw HTTP input files source: README | Git commit patches (via git log -p), directories and files source: README |
| Check or rule format | YAML templates source: README | TOML config file with [[rules]] entries using Go regular expressions source: README |
| CI integration | CI/CD pipeline use for vulnerability detection and regression testing source: README | GitHub Action (Gitleaks-Action); pre-commit hook source: README |
| Report formats | JSON, JSONL, Markdown, SARIF, PDF source: README | JSON, CSV, JUnit, SARIF, custom template source: README |
| Install method | go install -v github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest (Go 1.24.2 or later) source: README | Homebrew (brew install gitleaks); Docker images zricethezav/gitleaks and ghcr.io/gitleaks/gitleaks; Go source build; release binaries source: README |
1 Fetched from the GitHub or GitLab API on . Hover a value for its own date.
When each fits
Written from each project's documented scope, not from preference. Neither tool is ranked.
Nuclei
Fits projects that scan hosts and URLs for known vulnerabilities with templates; its README describes templates over TCP, DNS, HTTP, SSL, WHOIS and other protocols. source: README
Gitleaks
Fits projects that check git repositories and files for committed secrets; its README describes three scanning modes: git, dir and stdin. source: README
More on these tools
Sources
- GitHub REST API: repository, read
- GitHub REST API: repository, read
- GitHub REST API: contributors, read
- GitHub REST API: contributors, read
- GitHub REST API: latest release, read
- GitHub REST API: latest release, read
- GitHub REST API: commits, read
- GitHub REST API: commits, read
- README, read
- README, read
Documented facts collected 2026-09-22. See the methodology for how metrics and facts are gathered.