Trivy is a security scanner that identifies vulnerabilities, configuration problems, exposed secrets, and software licence issues across applications and infrastructure. It supports container images, filesystems, source repositories, virtual machine images, and Kubernetes environments.
The scanner is designed for use throughout the software development and deployment lifecycle. Developers can examine application dependencies and source repositories before releasing software, while administrators can assess container images and running infrastructure. Trivy uses vulnerability databases and configuration checks to identify potential security problems, helping users investigate issues before they affect deployed systems.
Trivy can also generate Software Bills of Materials (SBOMs), providing inventories of the components used by an application. Its command-line interface supports local security assessments and automated workflows, with structured reports suitable for integration into continuous integration systems and security management tools.
This is free and open source software.
Key Features
- Detects known vulnerabilities in operating system packages and application dependencies.
- Scans container images, filesystems, Git repositories, virtual machine images, and Kubernetes clusters.
- Identifies exposed credentials, API keys, authentication tokens, and other sensitive information.
- Detects infrastructure-as-code misconfigurations and insecure Kubernetes settings.
- Generates Software Bills of Materials in SPDX and CycloneDX formats.
- Analyses existing SBOMs for vulnerabilities and licence issues.
- Identifies software licences and classifies potential compliance risks.
- Supports custom security checks and policies.
- Produces reports in JSON, SARIF, table, and template-based formats.
- Supports vulnerability exceptions and filtering to reduce unwanted findings.
- Integration with continuous integration pipelines and automated security workflows.
- Local and remote vulnerability database management.
Website: github.com/aquasecurity/trivy
Support:
Developer: Aqua Security
License: Apache License 2.0
Trivy is written in Go. Learn Go with our recommended free books and free tutorials.
Related Software
| Vulnerability Detection Tools | |
|---|---|
| sqlmap | Automates testing and exploitation of SQL injection flaws |
| Nuclei | Fast and customisable vulnerability scanner |
| OpenVAS | Full-featured vulnerability scanner |
| Nikto | Web server scanner |
| OWASP ZAP | Popular web application security scanner and penetration testing proxy |
| Vuls | Agentless security scanner for Linux, FreeBSD and network environments |
| Tsunami | Extensible network security scanner for identifying exposed services |
| OSV-Scanner | Scans projects and dependencies against the OSV database |
| grype | Vulnerability scanner for container images and filesystems |
| Dalfox | Fast command-line tool for analysing and exploiting XSS flaws |
| Wapiti | Black-box web application scanner with broad attack coverage |
| testssl.sh | Tests TLS/SSL services, protocols, ciphers and cryptographic weaknesses |
| jSQL Injection | Java tool for automatically testing and exploiting SQL injection flaws |
| sif | Penetration testing suite combining reconnaissance and exploitation tools |
| XSSer | Automates testing, exploitation and reporting of cross-site scripting flaws |
| Terrapin | Terrapin Vulnerability Scanner for the Terrapin attack |
| Trivy | Comprehensive and versatile security scanner |
Read our verdict in the software roundup.
| Software Bills of Materials | |
|---|---|
| Syft | Catalog packages and dependencies in images and filesystems |
| ScanCode Toolkit | Detect licences, copyrights and package metadata in source code |
| ORT | Automate dependency analysis, licence compliance and policy checks |
| SBOM Tool | Create SPDX-compatible component inventories at scale |
| Trivy | Scan containers and filesystems for vulnerabilities and licence issues |
| bom | Create, inspect, transform and validate SPDX manifests |
| CycloneDX CLI | Analyse, merge, convert, sign and validate CycloneDX documents |
| sbomnix | Analyse Nix packages for dependencies, licences and vulnerabilities |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.