semgrep

Install command:
brew install semgrep

Easily detect and prevent bugs and anti-patterns in your codebase

https://semgrep.dev

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.118.0
head ⚡️ HEAD

Depends on:

certifi 2025.1.31 Mozilla CA bundle for Python
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.45 Perl compatible regular expressions library with a new API
python@3.13 3.13.3 Interpreted, interactive, object-oriented programming language
sqlite 3.49.1 Command-line interface for SQLite
tree-sitter 0.25.3 Parser generator tool and 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.0.1 Cross-platform make
coreutils 9.7 GNU File, Shell, and Text utilities
dune 3.18.0 Composable build system for OCaml
ocaml 5.2.1 General purpose programming language in the ML family
opam 2.3.0 OCaml package manager
pipenv 2024.4.1 Python dependency management tool
pkgconf 2.4.3 Package compiler and linker metadata toolkit
rust 1.86.0 Safe, concurrent, practical language

Analytics:

Installs (30 days)
semgrep 5,251
semgrep --HEAD 10
Installs on Request (30 days)
semgrep 5,251
semgrep --HEAD 10
Build Errors (30 days)
semgrep --HEAD 1
Installs (90 days)
semgrep 15,519
semgrep --HEAD 32
Installs on Request (90 days)
semgrep 15,510
semgrep --HEAD 32
Installs (365 days)
semgrep 46,986
semgrep --HEAD 103
Installs on Request (365 days)
semgrep 46,948
semgrep --HEAD 103
Fork me on GitHub