HardenKit vs Trivy: what each one checks, and which to use
Trivy is an open-source scanner from Aqua Security that finds vulnerabilities, misconfigurations, secrets and license issues in containers, Kubernetes and code repositories.
The short answer
Pick Trivy when you want one tool that covers vulnerabilities, infrastructure code, secrets, licenses and SBOMs. Pick HardenKit when your problem is a long CVE list and you want it ranked by what is being exploited, with one upgrade per package. The two run well side by side.
What each one reads
Trivy is one of the most widely used open-source security scanners. It scans container images, filesystems, remote Git repositories, virtual machine images and Kubernetes clusters. It looks for known vulnerabilities, infrastructure-as-code misconfigurations, secrets and software licenses, and it can produce an SBOM. Aqua Security maintains it and sells a separate commercial platform.
HardenKit covers a narrower area on purpose. It scans dependencies, container images, Kubernetes manifests, Helm charts, GitHub Actions workflows and the AI stack, then ranks every vulnerability by exploitation data and prints one upgrade per package. If you need Terraform checks, license scanning or SBOM export, Trivy does those and HardenKit does not.
| Dependencies | Containers | Kubernetes | GitHub Actions | AI stack | Terraform | Secrets | Your code | Licenses | |
|---|---|---|---|---|---|---|---|---|---|
| HardenKit | Yes | Yes | Yes | Yes | Yes | No | In the config it checks | No | No |
| Trivy | Yes | Yes | Yes | No | No | Yes | Yes | No | Yes |
How each one decides what comes first
A scan of a real project returns hundreds of findings. What a tool reads beyond the severity score decides which of them you see at the top.
HardenKit
- Exploited now (CISA KEV)Yes
- Likely to be exploited (EPSS)Yes
- Reachable from your codeNo
- One upgrade per packageYes
Trivy
- Exploited now (CISA KEV)Not documented
- Likely to be exploited (EPSS)Not documented
- Reachable from your codeNo
- One upgrade per packageNo
What Trivy does well
Wide coverage in one tool
One binary scans for vulnerabilities, misconfigurations, secrets and licenses. Its documentation lists many Linux distributions and more than a dozen language ecosystems.
Infrastructure code checks
Trivy has built-in checks for Terraform, CloudFormation, Azure ARM templates, Dockerfiles, Kubernetes manifests and Helm charts. You can also write custom checks.
Standard report formats
Trivy writes table, JSON and SARIF reports, supports custom templates, and produces SBOMs. That makes it easy to feed results into GitHub code scanning and other systems.
Where HardenKit differs
Ranking by exploitation, not severity alone
Trivy's documentation describes a severity for each vulnerability, taken from the vendor or from NVD. When we checked, its vulnerability docs did not mention CISA KEV or EPSS. HardenKit sorts findings into FIX NOW (on CISA KEV), FIX SOON (critical or EPSS of 10% or more), PLAN and BACKLOG.
One upgrade per package
Trivy reports each vulnerability with its fixed version. HardenKit also collapses the findings into an upgrade plan: one line per package with the single version that resolves every fixable finding.
AI stack and GitHub Actions checks
HardenKit checks MCP server configs, pickle-based model files and risky AI code settings, and it checks GitHub Actions workflows for injection and permission problems. Trivy's coverage pages do not list these.
HardenKit vs Trivy, row by row
| Feature | HardenKit | Trivy |
|---|---|---|
| What it scans | ||
| Application dependencies | Yes | Yes |
| Container images and OS packages | Yes | Yes |
| Kubernetes manifests and Helm charts | Yes | Yes |
| GitHub Actions workflows | Yes | No |
| AI stack: LLM SDKs, MCP servers, model files | Yes | No |
| Terraform and other infrastructure code | No | Yes |
| Secrets in the repository | In the config it checks | Yes |
| Your own code (SAST) | No | No |
| Open-source licenses | No | Yes |
| How it ranks | ||
| Puts exploited vulnerabilities (CISA KEV) first | Yes | Not documented |
| Uses EPSS exploit likelihood | Yes | Not documented |
| Reachability analysis | No | No |
| One upgrade per package that clears its findings | Yes | No |
| Fixing | ||
| Opens pull requests with the fix | No | No |
| Rescans on a schedule and alerts on changes | Yes | Kubernetes Operator only |
| Terms | ||
| Open source | Apache-2.0 | Apache-2.0 |
| Runs without an account | Yes | Yes |
| Free for commercial use | Yes | Yes |
Checked against Trivy’s own documentation in November 2026. “Not documented” means we did not find it there, not that the product cannot do it. Tell us through the contact form if a row is out of date.
When to pick which
Pick Trivy when
- You need Terraform, CloudFormation or Dockerfile misconfiguration checks.
- You need license scanning or SBOM output.
- You want to scan a live Kubernetes cluster, or run the Trivy Operator inside one.
- You need SARIF output for GitHub code scanning.
Pick HardenKit when
- You have hundreds of findings and need to know which few are being exploited.
- You want one upgrade per package instead of a row per CVE.
- Your repository has MCP servers, model files or LLM SDKs you want checked.
- You want a scheduled rescan of a server that alerts a Slack channel or webhook when something becomes urgent.
Running both. Run Trivy for infrastructure code, secrets and licenses, and HardenKit for the ranked vulnerability list and upgrade plan. Both have a GitHub Action, so they fit in the same workflow as two steps.
HardenKit and Trivy
Yes. Trivy is open source under the Apache-2.0 license and free to use. Aqua Security also sells a commercial platform, which is a separate product.
Not fully. HardenKit does not scan Terraform, does not scan licenses and does not export SBOMs, and Trivy does all three. HardenKit can replace Trivy for dependency and container vulnerability scanning if you want findings ranked by exploitation data.
When we checked Trivy's vulnerability scanning documentation, it described severity from vendor advisories and NVD and did not mention EPSS or CISA KEV. HardenKit uses both to rank findings.
Yes. A common setup is Trivy for misconfiguration, secret and license scanning and HardenKit for vulnerability ranking and the upgrade plan. Each runs as its own step in CI.
Yes. Trivy checks Kubernetes manifests and Helm charts for misconfigurations and can scan a live cluster with the trivy k8s command. HardenKit reads manifests and Helm charts but does not connect to a cluster.
Where these facts come from
Read in November 2026.
- Trivy repository
- Trivy docs: vulnerability scanning
- Trivy docs: misconfiguration scanning
- Trivy docs: coverage
- Trivy docs: reporting
- Trivy docs: Kubernetes
- Trivy Operator repository
- Aqua Security: Trivy
More comparisons
Run HardenKit beside Trivy and compare the top of the list
One command, no account. The scanner is free and open source.
curl -sSfL https://hardenkit.com/install.sh | sh