Suggest a tool

Trivy vs Nuclei: open-source security testing tools compared

Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.

Summary

Trivy: Security scanner for container images, filesystems, Git repositories, VM images and Kubernetes, covering CVEs, misconfigurations, secrets and licenses.

Nuclei: Template-based vulnerability scanner that runs YAML templates over HTTP, DNS, TCP, SSL and other protocols from a CLI.

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

Trivy and Nuclei: metrics and documented facts, in the fixed row order used for security testing comparisons.
FactTrivyNuclei
Stars38,009131,4311
Forks70713,8821
Contributors55112781
Last release2026-08-1412026-08-081
Last commit2026-09-2212026-09-221
Commits in 90 days11812041
LicenseApache-2.01MIT1
Primary languageGo1Go1
Statusactive1active1
Scan targetsContainer images, filesystems, remote Git repositories, virtual machine images, Kubernetes source: READMETarget URLs and hosts, from a single target or a list file source: README
Languages or files analysedOS packages, language-specific packages, IaC files, Kubernetes clusters source: Docs: Scanning CoverageTarget lists plus Burp, JSONL, YAML, OpenAPI, Swagger and raw HTTP input files source: README
Check or rule formatCustom misconfiguration checks written in Rego source: Docs: Custom ChecksYAML templates source: README
CI integrationGitHub Action aquasecurity/trivy-action; community CircleCI orb, Buildkite plugin and GitLab templates source: Docs: CI/CD IntegrationsCI/CD pipeline use for vulnerability detection and regression testing source: README
Report formatsTable, JSON, SARIF, template, SBOM, GitHub dependency snapshot source: Docs: ReportingJSON, JSONL, Markdown, SARIF, PDF source: README
Install methodHomebrew (brew install trivy); Docker image aquasec/trivy; release binaries source: READMEgo install -v github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest (Go 1.24.2 or later) 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.

Trivy

Fits projects that scan container images, filesystems, Git repositories, VM images or Kubernetes for security issues; its README describes scanners for CVEs, IaC misconfigurations, secrets and software licenses. source: README

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

More on these tools

Sources

  1. GitHub REST API: repository, read
  2. GitHub REST API: repository, read
  3. GitHub REST API: contributors, read
  4. GitHub REST API: contributors, read
  5. GitHub REST API: latest release, read
  6. GitHub REST API: latest release, read
  7. GitHub REST API: commits, read
  8. GitHub REST API: commits, read
  9. README, read
  10. README, read
  11. Docs: Scanning Coverage, read
  12. Docs: Custom Checks, read
  13. Docs: CI/CD Integrations, read
  14. Docs: Reporting, read

Documented facts collected 2026-09-22. See the methodology for how metrics and facts are gathered.