semgrep
Install command:
brew install semgrep
Easily detect and prevent bugs and anti-patterns in your codebase
License: LGPL-2.1-only
Formula JSON API: /api/formula/semgrep.json
Formula code: semgrep.rb
on GitHub
Bottle (binary package) installation support provided for:
macOS on Apple Silicon |
sequoia | ✅ |
---|---|---|
sonoma | ✅ | |
ventura | ✅ | |
macOS on Intel |
sonoma | ✅ |
ventura | ✅ | |
Linux | ARM64 | ✅ |
x86_64 | ✅ |
Current versions:
stable | ✅ | 1.134.0 |
head | ⚡️ | HEAD |
Depends on:
certifi | 2025.8.3 | Mozilla CA bundle for Python |
dwarfutils | 2.1.0 | Dump and produce DWARF debug information in ELF objects |
gmp | 6.3.0 | GNU multiple precision arithmetic library |
libev | 4.33 | Asynchronous event library |
pcre | 8.45 | Perl compatible regular expressions library |
pcre2 | 10.46 | Perl compatible regular expressions library with a new API |
python@3.13 | 3.13.7 | Interpreted, interactive, object-oriented programming language |
sqlite | 3.50.4 | Command-line interface for SQLite |
tree-sitter | 0.25.8 | Incremental parsing library |
zstd | 1.5.7 | Zstandard is a real-time compression algorithm |
Depends on when building from source:
autoconf | 2.72 | Automatic configure script builder |
cmake | 4.1.1 | Cross-platform make |
coreutils | 9.7 | GNU File, Shell, and Text utilities |
dune | 3.20.1 | Composable build system for OCaml |
ocaml | 5.3.0 | General purpose programming language in the ML family |
opam | 2.4.1 | OCaml package manager |
pipenv | 2025.0.4 | Python dependency management tool |
pkgconf | 2.5.1 | Package compiler and linker metadata toolkit |
rust | 1.89.0 | Safe, concurrent, practical language |
Analytics:
Installs (30 days) | |
---|---|
semgrep |
4,753 |
semgrep --HEAD |
7 |
Installs on Request (30 days) | |
semgrep |
4,752 |
semgrep --HEAD |
7 |
Build Errors (30 days) | |
semgrep |
9 |
Installs (90 days) | |
semgrep |
11,467 |
semgrep --HEAD |
20 |
Installs on Request (90 days) | |
semgrep |
11,466 |
semgrep --HEAD |
20 |
Installs (365 days) | |
semgrep |
47,607 |
semgrep --HEAD |
96 |
Installs on Request (365 days) | |
semgrep |
47,571 |
semgrep --HEAD |
96 |