Suggest a tool

Semgrep alternatives: 8 open-source code quality and static analysis tools

Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.

About Semgrep

Semgrep is a listed code quality and static analysis tool: Pattern-based static analysis CLI that scans code in more than 30 languages for bugs and rule violations.

Order: Listed tools in the same category, with tools in the same primary language (GitHub API) first, then by GitHub stars. Each line gives one fact from the tool's own documentation where it differs from what Semgrep's documentation states, with its source.

8 alternatives to Semgrep

Repository metrics

Semgrep and its alternatives. Sorted by GitHub stars, descending, descending. Select a column heading to change the sort.
Ruff49,73112026-09-1610.16.82026-09-221MITRustactive
ShellCheck40,06712025-08-041v0.11.02026-09-211GPL-3.0Haskellactive
ESLint27,51612026-09-181v10.11.02026-09-221MITJavaScriptactive
mypy20,64812026-08-151v2.3.12026-09-221MITPythonactive
golangci-lint19,39412026-08-271v2.13.22026-09-201GPL-3.0Goactive
Semgrep16,72512026-09-101v1.177.02026-09-221LGPL-2.1Cactive
Infer15,70612026-05-121v1.3.02026-09-181MITOCamlactive
PHPStan14,10612026-09-1212.2.142026-09-221MITPHPactive
RuboCop12,90512026-09-101v1.91.02026-09-221MITRubyactive

1 Fetched from the GitHub or GitLab API on . Hover a value for its own date.