Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

trivy

> 编程语言
Free

Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories,

40.0K stars0 likes2 views
WebsiteGitHub

About

Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories,

Trivy (pronunciation) is a comprehensive and versatile security scanner. Trivy has scanners that look for security issues, and targets where it can find those issues.

Targets (what Trivy can scan):

  • Container Image
  • Filesystem
  • Git Repository (remote)
  • Virtual Machine Image
  • Kubernetes

Scanners (what Trivy can find there):

  • OS packages and software dependencies in use (SBOM)
  • Known vulnerabilities (CVEs)
  • IaC issues and misconfigurations
  • Sensitive information and secrets
  • Software licenses

Trivy supports most popular programming languages, operating systems, and platforms. For a complete list, see the Scanning Coverage page.

To learn more, go to the Trivy homepage for feature highlights, or to the Documentation site for detailed information.

Quick Start

Get Trivy

Trivy is available in most common distribution channels. The full list of installation options is available in the Installation page. Here are a few popular examples:

  • brew install trivy
  • docker run aquasec/trivy
  • Download binary from https://github.com/aquasecurity/trivy/releases/latest/
  • See Installation for more

Trivy is integrated with many popular platforms and applications. The complete list of integrations is available in the Ecosystem page. Here are a few popular examples:

  • GitHub Actions
  • Kubernetes operator
  • VS Code plugin
  • See Ecosystem for more

Canary builds

There are canary builds (Docker Hub, GitHub, ECR images and binaries) generated with every push to the main branch.

Please be aware: canary builds might have critical bugs, so they are not recommended for use in production.

General usage

bash
trivy <target> [--scanners <scanner1,scanner2>] <subject>

Examples:

bash
trivy image python:3.4-alpine
Result

https://github.com/user-attachments/assets/af1c11e7-d9c5-48af-8e05-cb34dfd6352a

bash
trivy fs --scanners vuln,secret,misconfig myproject/
Result

https://github.com/user-attachments/assets/6b3894b7-77c5-4ffc-ac94-ffe6648a30dc

bash
trivy k8s --report summary cluster
Result

FAQ

How to pronounce the name "Trivy"?

tri is pronounced like trigger, vy is pronounced like envy.

Want more? Check out Aqua

If you liked Trivy, you will love Aqua which builds on top of Trivy to provide even more enhanced capabilities for a complete security management offering.
You can find a high level comparison table specific to Trivy users here. In addition check out the https://aquasec.com website for more information about our products and services. If you'd like to contact Aqua or request a demo, please use this form: https://www.aquasec.com/demo

Community

Trivy is an Aqua Security open source project.
Learn about our open source work and portfolio here.
Contact us about any matter by opening a GitHub Discussion here

Please ensure to abide by our Code of Conduct during all interactions.

Issues· 258 open

View all issuesOpen on GitHub
  • #11118

    bug(misconf): false positive in AWS-0126 when the TLS policy is Policy-Min-TLS-1-2-RFC9151-FIPS-2024-08

    kind/bugscan/misconfigurationUpdated Sep 29, 2026
  • #11327

    bug(sbom): vulnerabilities are attached to a random package when scanning an SPDX SBOM with SBOM output

    kind/bugscan/sbomUpdated Sep 29, 2026
  • #10962

    Add cryptographic asset inventory for container images

    kind/featureUpdated Sep 29, 2026
  • #10076

    Include local DB version information in JSON output

    kind/featureUpdated Sep 29, 2026
  • #11322

    fix(alpine): false positives for apk packages without an origin (o:) field

    kind/bughelp wantedscan/vulnerabilityUpdated Sep 29, 2026
  • #11264

    fix(dpkg): build the dependency graph for packages from /var/lib/dpkg/status.d

    kind/bugUpdated Sep 29, 2026
  • #8972

    feat(r): add R language support

    kind/featureUpdated Sep 28, 2026
  • #9191

    bug(vulnerability): `--vuln-severity-source` doesn't work for package-specific severity (e.g. Debian)

    kind/bugscan/vulnerabilityUpdated Sep 28, 2026
  • #7476

    enhancement(report): include/exclude dev deps in analyzers

    Updated Sep 28, 2026
  • #11117

    bug(misconf): AWS-0112 only accepts TLS_1_2 and rejects the newer secure policies

    kind/bugscan/misconfigurationUpdated Sep 22, 2026

> Tags

Gocontainersdevsecopsdocker

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedDec 4, 2026
Category编程语言
PricingFree

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言