qmetrics.net
SemgrepPattern-based static analysis for many languages TrivyAll-in-one scanner for vulnerabilities, IaC, SBOM, and secrets

Semgrep vs Trivy

How Semgrep and Trivy compare on popularity, activity, license and platforms: two open-source Application Security projects, both alternatives to Veracode.

At a glance

Side by side

SemgrepTrivy
GitHub stars★ 18,180 +236 in 9 days★ 40,022 +286 in 9 days
Forks1,240992
Last commityesterdayyesterday
Latest versionv1.188.0v0.77.0
Repository startedDecember 2019April 2019
LicenseLGPL-2.1 · weak copyleftApache-2.0 · permissive
Self-hostedDesktop/CLI appDesktop/CLI app
PlatformsmacOS, Docker, CLImacOS, Docker
Main languageCGo
Alternative toVeracodeGitHub Advanced Security, Veracode

Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 4 December 2026.

Semgrep

Semgrep scans source code with rules that resemble real code to find bugs and enforce standards. It runs locally in the CLI, IDE hooks, pre-commit, or CI.

Key features

  • Code-shaped Semgrep rule language
  • CLI, IDE, and CI integrations
  • Thirty-plus language support
  • Supply-chain dependency scanning
  • Secrets detection with semantics
  • Community rule registry

Trivy

Trivy scans containers, filesystems, Git repos, VMs, Kubernetes, and related targets for CVEs, misconfigurations, secrets, licenses, and software bills of materials.

Key features

  • Container image scanning
  • Filesystem and Git repo scans
  • Kubernetes cluster checks
  • CVE and SBOM detection
  • IaC misconfiguration rules
  • Secret and license scanning

More comparisons

Report a mistake on this page