semgrep
Install command:
brew install semgrepEasily detect and prevent bugs and anti-patterns in your codebase
License: LGPL-2.1-only
Development: Pull requests
Formula JSON API: /api/formula/semgrep.json
Formula code: semgrep.rb on GitHub
Bottle (binary package) installation support provided for:
| macOS on Apple Silicon |
tahoe | ✅ |
|---|---|---|
| sequoia | ✅ | |
| sonoma | ✅ | |
| macOS on Intel |
sonoma | ✅ |
| Linux | ARM64 | ✅ |
| x86_64 | ✅ | |
Current versions:
| stable | ✅ | 1.172.0 |
| head | ⚡️ | HEAD |
Depends on:
| certifi | 2026.7.22 | Mozilla CA bundle for Python |
| cryptography | 50.0.0 | Cryptographic recipes and primitives for Python |
| dwarfutils | 2.3.2 | Dump and produce DWARF debug information in ELF objects |
| gmp | 6.3.0 | GNU multiple precision arithmetic library |
| libev | 4.33 | Asynchronous event library |
| pcre2 | 10.47 | Perl compatible regular expressions library with a new API |
| pydantic | 2.13.4 | Data validation using Python type hints |
| python@3.14 | 3.14.6 | Interpreted, interactive, object-oriented programming language |
| rpds-py | 2026.6.3 | Python bindings to Rust's persistent data structures |
| sqlite | 3.53.4 | Command-line interface for SQLite |
| tree-sitter | 0.26.12 | Incremental parsing library |
| zstd | 1.5.7 | Zstandard is a real-time compression algorithm |
Depends on when building from source:
| ocaml | 5.5.0 | General purpose programming language in the ML family |
| opam | 2.5.2 | OCaml package manager |
| pkgconf | 3.0.5 | Package compiler and linker metadata toolkit |
Analytics:
| 30 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 7,271 | 18,244 | 71,713 |
Installs (--HEAD) | 12 | 31 | 98 |
| Installs on Request | 7,262 | 18,230 | 71,646 |
Installs on Request (--HEAD) | 12 | 31 | 98 |
| Build Errors | 1 |