
Trivy
Open-source scanner for vulnerabilities, misconfigurations and secrets in containers, code and clouds.
Updated · AppBreakup editorial · Linux, macOS, Windows
Is Trivy free?
Yes, free and open source
- License:
- Apache-2.0
Checked on Trivy's site Nov 4, 2026
Switch from Trivy to
All 5- Verified facts
- 3 of 3
- Alternatives ranked
- 5
- Approved reviews
- 0
- Visits sent from here
- 0
About Trivy
Trivy is a command-line security scanner maintained by Aqua Security. Point it at a container image, a filesystem, a Git repository, a Kubernetes cluster or infrastructure-as-code files and it reports known vulnerabilities in OS packages and language dependencies, risky configuration, exposed secrets and licence issues. It can also generate a software bill of materials (SBOM) in standard formats. Because it is a single binary with no server to run, it is a common pick for CI pipelines, where a build can fail when a scan finds high-severity issues. Trivy is free and open source under the Apache 2.0 licence; Aqua sells a commercial cloud security platform built around similar scanning for teams that want dashboards, policy management and runtime protection. It runs on Linux and macOS, with Windows builds also published, and integrates with GitHub Actions, GitLab CI and many other tools. Compared with developer security platforms like Snyk, it has no hosted dashboard or fix pull requests out of the box, but it covers a wide range of targets at no cost.
Best for: DevOps and platform teams wanting a free, all-in-one scanner for images, IaC and Kubernetes in CI.
Pros and cons
What works
- Scans images, repos, filesystems, Kubernetes and IaC with one binary
- Free and Apache-2.0 licensed with an active project
- Generates SBOMs as well as vulnerability reports
- Easy to drop into CI pipelines
Why people leave
- No hosted dashboard or team reporting without Aqua's paid platform
- Does not open automatic fix pull requests like some SaaS tools
- Command-line only, so less friendly for non-engineers
Trivy vs SonarQube, Snyk and Semgrep
From each app's listing and the prices verified on its own site. A dash means we haven't verified it yet.
| Attribute | Trivy | SonarQube | Snyk | Semgrep |
|---|---|---|---|---|
| Pricing | Open source | Free plan + paid | Free plan + paid | Free plan + paid |
| Verified price | — | $34/month (Team plan, up to 100k LOC) | $25 a month, billed monthly (Team) | $30 per contributor/month (Teams) |
| Free plan | Free app | Private projects up to 50k LOC | Yes, $0 a month | Yes, up to 10 contributors |
| Open source | Yes | Yes | No | Yes |
| Self-hostable | No | Yes | No | No |
| Platforms | Linux, macOS, Windows | Web, Self-hosted | Web, Windows, macOS, Linux | Web, Windows, macOS, Linux |
Top Trivy alternatives
See all 5- 1
SonarQube74.4Adds code quality and static analysis with a self-hosted dashboard teams can share.
- 2
Snyk68.8Hosted platform with dependency and container scanning, a dashboard and automatic fix pull requests.
- 3
Semgrep64.8Better for finding bugs in your own code with custom rules, plus supply-chain scanning.
- 4
Mend.io61.8Commercial software composition analysis with licence policies and remediation for larger teams.
- 5
Checkmarx57.5Enterprise application security suite covering SAST, SCA and container scanning in one place.
Why people left Trivy
In reviewers' own words, from reviews of the apps they moved to. These are their opinions, not ours.
No switching stories yet. If you moved away from Trivy, review the app you switched to and tell us why.
Reviews
No approved reviews yet. How we verify reviewers
Write a review of Trivy
Trivy: common questions
What is Trivy?
Trivy: Open-source scanner for vulnerabilities, misconfigurations and secrets in containers, code and clouds. Best for devOps and platform teams wanting a free, all-in-one scanner for images, IaC and Kubernetes in CI. Available for Linux, macOS and Windows.
Is Trivy free?
Yes. Trivy is free, open-source software.
Is Trivy open source?
Yes. The source code is on GitHub at aquasecurity/trivy.
What platforms does Trivy run on?
Trivy is available for Linux, macOS and Windows.
What are the best alternatives to Trivy?
The highest-ranked Trivy alternatives right now are SonarQube, Snyk and Semgrep. See the full ranked list for pricing, platforms and verified facts.
Trivy vs SonarQube: what's the difference?
Trivy is free and open source; SonarQube is free with paid plans. Only Trivy runs on Linux, macOS and Windows. Only SonarQube runs on Web.