talira

Compare

ast-grepSemgrepripgrepThe Silver Searcher
What it isA CLI tool for code structural search, lint and rewritingCode security: SAST, supply chain and secrets scanning with rules that look like codeSearches directories recursively for a regex pattern, skipping gitignored filesA code-searching tool similar to ack, but faster
KindOpen sourceOpen coreOpen sourceOpen source
Trust0.700.770.680.41
Stars16582179176995627126
Last commit2026-11-142026-11-202026-11-092024-06-16
LicenceMITLGPL-2.1-onlyUnlicenseApache-2.0
PricingFree and open sourceFree tier, from $30/monthFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostableYesYesYesYes
Ways to run it—
  • Semgrep AppSec Platform: Free for up to 10 contributors; Teams from $30/contributor/month; Enterprise custom
  • Semgrep Community Edition (self-hosted, LGPL-2.1-only): free
    You arrange: running it in your own CI
——
SOC 2————
HIPAA————
SSO—Yes——
APINo—No—
PluginsNo—No—
MCP serverNoYesNo—
Company—Semgrep——
Features
  • pattern code with metavariables
  • rewrite
  • YAML lint rules
  • many languages
  • playground
  • npm/pip/cargo installs
  • rules written in the syntax of the code they match
  • 35+ supported languages
  • custom rules and a community rule registry
  • Pro engine: cross-file and cross-function taint analysis (platform)
  • Supply Chain: reachability analysis, malicious dependency detection, EPSS, SBOM generation and licence compliance
  • Secrets: semantic and entropy analysis with secret validation
  • AI-powered detection, auto-triage, remediation guidance and autofix
  • MCP server giving agents access to the Semgrep suite
  • All 10 features
  • respects .gitignore by default
  • skips hidden and binary files
  • file type filters
  • PCRE2 support
  • search compressed files
  • JSON output
  • config file
  • replacement output
  • ignores patterns from .gitignore, .hgignore and .ignore
  • parallel search with pthreads
  • mmap()ed file reading
  • Boyer-Moore literal string search
  • PCRE JIT regular expressions
  • editor integrations such as ack.vim and ag.el