| What it is | A security linter for Python code | Code security: SAST, supply chain and secrets scanning with rules that look like code | GitHub's semantic code analysis engine for finding vulnerabilities | Code confidence for the agentic software factory |
| Kind | Open source | Open core | Commercial software | Open core |
| Trust | 0.62 | 0.77 | 0.77 | 0.84 |
| Stars | 8401 | 17917 | 10404 | 11199 |
| Last commit | 2026-11-09 | 2026-11-20 | 2026-11-23 | 2026-11-18 |
| Licence | Apache-2.0 | LGPL-2.1-only | GitHub CodeQL Terms and Conditions | LGPL-3.0-or-later |
| Pricing | Free and open source | Free tier, from $30/month | Free tier, from $30/month | Free tier, from $34/month |
| Free tier | Yes | Yes | Yes | Yes |
| Self-hostable | — | 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
| - CodeQL CLI (research and open source) (self-hosted, GitHub CodeQL Terms and Conditions): free
- GitHub Code Security: $30 per active committer/month
| - 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 | — | — | — | Yes |
| Plugins | Yes | — | — | — |
| MCP server | — | Yes | — | Yes |
| Company | PyCQA | Semgrep | GitHub acquired by Microsoft (2018) | Sonar |
| Features | - AST-based security checks for Python
- severity and confidence for each issue
- plugins for common issue types
- configurable tests, skips and baselines
- runs in pre-commit and CI
- text, JSON, SARIF and other report formats
| - 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
| - code databases queried with the QL language
- data flow and taint tracking
- C/C++, C#, Go, Java/Kotlin, JavaScript/TypeScript, Python, Ruby, Rust, Swift, GitHub Actions
- open source MIT standard queries and libraries
- CodeQL CLI and VS Code extension
- GitHub code scanning integration
| - 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
|