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 |
golden gate | ✅ |
|---|---|---|
| tahoe | ✅ | |
| sequoia | ✅ | |
| Linux | ARM64 | ✅ |
| x86_64 | ✅ |
Current versions:
| stable | ✅ | 1.179.0 |
| head | ⚡️ | HEAD |
Depends on:
| certifi | 2026.7.22 | Mozilla CA bundle for Python |
| cryptography | 50.0.2 | Cryptographic recipes and primitives for Python |
| dwarfutils | 2.3.3 | 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.49 | Perl compatible regular expressions library with a new API |
| pydantic | 2.13.5 | Data validation using Python type hints |
| python@3.14 | 3.14.8 | Interpreted, interactive, object-oriented programming language |
| rpds-py | 2026.9.1 | Python bindings to Rust's persistent data structures |
| sqlite | 3.53.4 | Command-line interface for SQLite |
| tree-sitter | 0.27.0 | Incremental parsing library |
| zstd | 1.5.7 | Zstandard is a real-time compression algorithm |
Depends on when building from source:
| ocaml | 5.5.1 | General purpose programming language in the ML family |
| opam | 2.6.1 | OCaml package manager |
| pkgconf | 3.0.7 | Package compiler and linker metadata toolkit |
Uses from macOS: rsync (build), curl
Binaries:
pysemgrep,
semgrep
Analytics:
| 30 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 2,772 | 17,140 | 71,196 |
Installs (--HEAD) | 6 | 34 | 108 |
| Installs on Request | 2,768 | 17,123 | 71,138 |
Installs on Request (--HEAD) | 6 | 34 | 108 |
| Build Errors | 16 |