| What it is | A CLI tool for code structural search, lint and rewriting | Code security: SAST, supply chain and secrets scanning with rules that look like code | Searches directories recursively for a regex pattern, skipping gitignored files | A code-searching tool similar to ack, but faster |
| Kind | Open source | Open core | Open source | Open source |
| Trust | 0.70 | 0.77 | 0.68 | 0.41 |
| Stars | 16582 | 17917 | 69956 | 27126 |
| Last commit | 2026-11-14 | 2026-11-20 | 2026-11-09 | 2024-06-16 |
| Licence | MIT | LGPL-2.1-only | Unlicense | Apache-2.0 |
| Pricing | Free and open source | Free tier, from $30/month | Free and open source | Free and open source |
| Free tier | Yes | Yes | Yes | Yes |
| Self-hostable | Yes | Yes | Yes | Yes |
| 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 | — | — |
| API | No | — | No | — |
| Plugins | No | — | No | — |
| MCP server | No | Yes | No | — |
| 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
|