Softwr

Cybersecurity · head to head

Grype vs Semgrep

Grype logo

Grype

Cybersecurity

Vulnerability scanner for container images and filesystems

From
Free
Free plan
Yes
Semgrep logo

Semgrep

Cybersecurity

Open-source static analysis tool for finding security bugs and enforcing code standards.

From
Free
Free plan
Yes

The short version

  • Grype is free; Semgrep starts at $30/mo.
  • Only Grype lists wide ecosystem coverage; only Semgrep lists secrets detection.
  • Where Grype falls short: depends on public vulnerability databases, so coverage and false positives vary by ecosystem.
  • Where Semgrep falls short: free tier caps out at 10 contributors and 10 repositories.

How do Grype and Semgrep differ?

Grype and Semgrep differ on pricing model and platforms. Only the attributes on which Grype and Semgrep actually diverge.

Attributes where Grype and Semgrep differ
AttributeGrypeSemgrep
Pricing modelOpen source, no licence feeFreemium
PlatformsLinux, macOS, Windows, Self-hostedWeb, API, Linux, macOS, Windows

Identical on both: starting price (Free), free tier (Yes), category (Cybersecurity).

Not yet recorded: founded for Grype.

Which features does each one have?

They share no listed features; 4 appear only for Grype and 6 only for Semgrep. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Grype

  • Image and filesystem scanning
  • SBOM-driven
  • Wide ecosystem coverage
  • Pipeline friendly

Only in Semgrep

  • Static code scanning
  • Supply chain scanning
  • Secrets detection
  • Cross-file analysis
  • AI-powered triage and remediation
  • CI/CD integration

What is each one used for?

Grype is most often brought in for re-scanning stored SBOMs as new CVEs are published, without rebuilding images; Semgrep for scanning code for security vulnerabilities in CI/CD. The jobs each tool is most often brought in to do.

Grype

  • Re-scanning stored SBOMs as new CVEs are published, without rebuilding imagesnot Semgrep
  • Failing CI when a build introduces a known vulnerabilitynot Semgrep
  • Auditing what is actually installed inside a third-party imagenot Semgrep

Semgrep

  • Scanning code for security vulnerabilities in CI/CDnot Grype
  • Detecting vulnerable open-source dependenciesnot Grype
  • Finding hardcoded secrets before code shipsnot Grype
  • Enforcing custom code standards with rule setsnot Grype
  • Prioritizing findings with AI-assisted triagenot Grype

Where do Grype and Semgrep fall short?

Grype's most cited limit: depends on public vulnerability databases, so coverage and false positives vary by ecosystem. Semgrep's: free tier caps out at 10 contributors and 10 repositories. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Grype

  • Depends on public vulnerability databases, so coverage and false positives vary by ecosystem
  • No triage, exception tracking or reporting UI — that is Anchore’s commercial product
  • Overlaps heavily with Trivy, and most teams pick one rather than running both

Semgrep

  • Free tier caps out at 10 contributors and 10 repositories
  • Secrets scanning is priced as a separate module ($15/contributor) from Code and Supply Chain
  • Self-managed repositories and custom CI/CD require the Enterprise tier
  • AI credits are limited per tier and additional usage requires upgrading

How much do Grype and Semgrep cost?

Grype is free to use; Semgrep has a free plan, with paid plans from $30/mo. Plan by plan below, from each vendor's own pricing page.

Grype

Free
  • GrypeFree
    • Full functionality
    • No usage limits
    • Community support

Semgrep

Free
  • FreeFree
    • Up to 10 contributors
    • Code and Supply Chain scanning
    • 60 AI credits total
  • Teams$30/mo
    • Code, Supply Chain, or Secrets scanning per contributor
    • Pro rules
    • AI-powered triage and remediation
  • EnterpriseOn request
    • On-prem support
    • Custom CI/CD
    • 50 AI credits per developer/month

Which should you pick?

Choose Grype if

  • You need image and filesystem scanning.
  • You want to start without paying.
  • You work on Linux, macOS, Windows, Self-hosted.
  • You also want sbom-driven.

Choose Semgrep if

  • You need static code scanning.
  • You want to start without paying.
  • You work on Web, API, Linux, macOS, Windows.
  • You also want supply chain scanning.

Questions people ask

Is Grype or Semgrep better?
It depends on the job. Grype fits re-scanning stored SBOMs as new CVEs are published, without rebuilding images; Semgrep fits scanning code for security vulnerabilities in CI/CD. Grype starts at Free and Semgrep at Free.
Which is cheaper, Grype or Semgrep?
Grype starts at Free and Semgrep at Free.
Does Grype or Semgrep run on more platforms?
Grype runs on Linux, macOS, Windows, Self-hosted. Semgrep runs on Web, API, Linux, macOS, Windows.
Can I use Grype for free?
Both have a free tier, so you can try either at no cost before committing.
What is Grype best used for?
Grype is most often used for re-scanning stored sboms as new cves are published, without rebuilding images, failing ci when a build introduces a known vulnerability, auditing what is actually installed inside a third-party image. Of those, re-scanning stored sboms as new cves are published, without rebuilding images and failing ci when a build introduces a known vulnerability are not what Semgrep is typically brought in for.
What can Grype do that Semgrep cannot?
Grype covers Image and filesystem scanning, SBOM-driven, Wide ecosystem coverage, Pipeline friendly. Semgrep covers Static code scanning, Supply chain scanning, Secrets detection, Cross-file analysis.

Answered from the vendors’ own pages

Grype: Is Grype free?

Yes, open source from Anchore. Anchore Enterprise is the paid platform around it.

Semgrep: What does Semgrep cost?

The Free edition covers up to 10 contributors; Teams starts at $30/contributor/month for Code scanning (Supply Chain also $30, Secrets $15); Enterprise is custom-priced.

Source
Grype: What is the difference between Grype and Syft?

Syft generates the software bill of materials; Grype matches that inventory against vulnerability data. They are designed to be used together.

Semgrep: Is there a free plan, and what are its limits?

Yes, the Free edition supports up to 10 contributors and 10 repositories with Code and Supply Chain scanning plus 60 AI credits total.

Source
Grype: Grype or Trivy?

They cover similar ground. Trivy is broader out of the box, including misconfiguration and secret scanning; Grype pairs more cleanly with an SBOM-first workflow.

Semgrep: How is usage metered?

Pricing is per contributor, defined as someone who made at least one commit to a scanned private repository in the past 90 days.

Source
Semgrep: Is there special pricing for startups?

Yes, Semgrep offers special startup pricing upon request for early-stage companies.

Source
Share

Related pages

Other head to heads