| What it is | Code security: SAST, supply chain and secrets scanning with rules that look like code | A CLI tool for code structural search, lint and rewriting | Code confidence for the agentic software factory | Code security scanning tool (SAST) to discover, filter and prioritize security and privacy risks |
| Kind | Open core | Open source | Open core | Source available |
| Trust | 0.77 | 0.70 | 0.84 | 0.65 |
| Stars | 17917 | 16582 | 11199 | 2799 |
| Last commit | 2026-11-20 | 2026-11-14 | 2026-11-18 | 2026-11-16 |
| Licence | LGPL-2.1-only | MIT | LGPL-3.0-or-later | Elastic-2.0 (source-available) |
| Pricing | Free tier, from $30/month | Free and open source | Free tier, from $34/month | Free |
| 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
| — | - SonarQube Cloud: free for private projects up to 50k LOC and for OSS maintainers; Team starts at $34 a month (up to 100k LOC); Enterprise by quote
- SonarQube Server (self-hosted, proprietary): Developer, Enterprise and Data Center editions priced per instance per year by lines of code; contact sales
You arrange: a licence key priced by lines of code, a server or container host, a PostgreSQL, SQL Server or Oracle database, TLS, backups and upgrades - SonarQube Community Build (self-hosted, LGPL-3.0-or-later): free
You arrange: a host with at least 4 GB RAM (8 GB recommended) and 2 CPU cores, Docker (the sonarqube image) or Java 21 or 25 for the ZIP install, a PostgreSQL, SQL Server or Oracle database for production: the embedded H2 database is for tests only, TLS, backups and upgrades
| — |
| SOC 2 | — | — | Yes | — |
| HIPAA | — | — | — | — |
| SSO | Yes | — | Yes | — |
| API | — | No | Yes | — |
| Plugins | — | No | — | Yes |
| MCP server | Yes | No | Yes | — |
| Company | Semgrep | — | Sonar | Bearer acquired by Cycode |
| Features | - 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
| - pattern code with metavariables
- rewrite
- YAML lint rules
- many languages
- playground
- npm/pip/cargo installs
| - bug, code smell and maintainability analysis for more than 45 languages and frameworks
- quality gates that pass or fail pull requests and branches
- SAST, taint analysis and secrets detection
- IaC scanning for Terraform, CloudFormation, Kubernetes, ARM and Ansible
- AI CodeFix suggested fixes in the IDE and pull requests
- pull request decoration for GitHub, GitLab, Bitbucket and Azure DevOps
- SonarQube for IDE for VS Code, Visual Studio, JetBrains IDEs and Eclipse
- Advanced Security add-on: SCA, licence checks and SBOMs
- All 16 features
| - built-in rules for the OWASP Top 10 and CWE Top 25
- sensitive data detection and classification (PII, PHI)
- data flow and privacy reports for PIA, DPIA and GDPR records of processing
- Go, Python, PHP, JavaScript, TypeScript, Ruby and Java
- custom rules
- GitHub Actions and GitLab CI/CD integration
- install script, Homebrew tap, APT, YUM, Docker image and binaries
|
| Limitations | | | | - The Elastic License 2.0 forbids offering it to others as a hosted or managed service
|