Skip to content
testcritic

Trivy vs Semgrep

Feature checklists rarely decide anything. What decides it is the pricing metric, who has to write the tests, and which limitation you can live with.

Entry price

Free and open source

Open source

From $30 per contributor/month (Teams, per product)

Free tier

What drives the bill

The metric that actually scales your invoice.

Free and open source. You pay in engineering time and CI minutes.

The CLI plus community rules costs nothing and covers a lot. Teams is priced per product per contributor — Code $30, Supply Chain $30, Secrets $15 — so scanning for all three multiplies the per-contributor figure.

Free tier

Everything, self-hosted

Open-source CLI is free and complete; hosted platform free for up to 10 contributors.

Open source

Apache-2.0

LGPL-2.1 (CLI)

Self-hostable

No-code authoring

Languages

GoCodeless
PythonJavaScriptTypeScriptJavaGoC#RubyPHPKotlinSwift

Platforms

WebAPI
WebAPI

Fits teams

Solo / side projectStartupScale-up / mid-marketEnterprise
StartupScale-up / mid-marketEnterprise

Adoption

Category standard

Aqua Security · since 2019

Widely used

Semgrep · since 2020

Strengths

  • Free and covers container, IaC, secret and dependency scanning in one binary.
  • Fast enough to run on every image build without slowing the pipeline.
  • Excellent Kubernetes integration through the Trivy Operator.
  • Custom rules are genuinely writable — you can encode your own security or architecture standards in an afternoon.
  • Free CLI with a large community rule registry is immediately useful.
  • Fast enough to run on every pull request without complaint.

Limitations

  • No hosted dashboard or workflow — findings go to your pipeline output.
  • No reachability analysis, so alert volume is high on large images.
  • Reporting for compliance requires building it yourself.
  • Pattern matching without full dataflow misses some vulnerability classes.
  • Community rule quality is uneven; expect to curate.
  • Advanced dataflow and supply-chain features are paid only.

Best for

Container and Kubernetes pipelines that need free, comprehensive scanning.

Teams that want customisable static analysis and can start entirely for free.

All of these integrate with: Jenkins.

Pricing last reviewed August 2026 and is indicative only — confirm on each vendor’s own page.