Skip to content

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.

Made by
Aqua Security
Kind
Open-source scanner
License
Apache-2.0
Price
Trivy is free and open source under Apache-2.0. Aqua Security sells a separate commercial platform; its site lists no public prices.
Coverage

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.

DependenciesContainersKubernetesGitHub ActionsAI stackTerraformSecretsYour codeLicenses
HardenKitYesYesYesYesYesNoIn the config it checksNoNo
TrivyYesYesYesNoNoYesYesNoYes
YesPartly or with a conditionNot in its documentationNo
Priorities

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
Strengths

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.

Differences

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.

Side by side

HardenKit vs Trivy, row by row

FeatureHardenKitTrivy
What it scans
Application dependenciesYesYes
Container images and OS packagesYesYes
Kubernetes manifests and Helm chartsYesYes
GitHub Actions workflowsYesNo
AI stack: LLM SDKs, MCP servers, model filesYesNo
Terraform and other infrastructure codeNoYes
Secrets in the repositoryIn the config it checksYes
Your own code (SAST)NoNo
Open-source licensesNoYes
How it ranks
Puts exploited vulnerabilities (CISA KEV) firstYesNot documented
Uses EPSS exploit likelihoodYesNot documented
Reachability analysisNoNo
One upgrade per package that clears its findingsYesNo
Fixing
Opens pull requests with the fixNoNo
Rescans on a schedule and alerts on changesYesKubernetes Operator only
Terms
Open sourceApache-2.0Apache-2.0
Runs without an accountYesYes
Free for commercial useYesYes

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.

Which to use

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.

Questions

HardenKit and Trivy

Is Trivy free?

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.

Is HardenKit a replacement for Trivy?

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.

Does Trivy use EPSS or CISA KEV?

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.

Can I run HardenKit and Trivy together?

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.

Does Trivy scan Kubernetes?

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.

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
See how the scanner works