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:

Apple Silicon sonoma
Intel sonoma
64-bit linux

Current versions:

stable 1.78.0
head ⚡️ HEAD

Depends on:

certifi 2024.7.4 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.44 Perl compatible regular expressions library with a new API
python@3.11 3.11.9 Interpreted, interactive, object-oriented programming language
sqlite 3.46.0 Command-line interface for SQLite
tree-sitter 0.22.6 Parser generator tool and incremental parsing library

Depends on when building from source:

autoconf 2.72 Automatic configure script builder
cmake 3.30.1 Cross-platform make
coreutils 9.5 GNU File, Shell, and Text utilities
dune 3.16.0 Composable build system for OCaml
ocaml 5.2.0 General purpose programming language in the ML family
opam 2.2.0-1 OCaml package manager
pipenv 2024.0.1 Python dependency management tool
pkg-config 0.29.2 Manage compile and link flags for libraries
rust 1.79.0 Safe, concurrent, practical language


Installs (30 days)
semgrep 2,958
semgrep --HEAD 4
Installs on Request (30 days)
semgrep 2,957
semgrep --HEAD 4
Build Errors (30 days)
semgrep 17
Installs (90 days)
semgrep 10,433
semgrep --HEAD 28
Installs on Request (90 days)
semgrep 10,431
semgrep --HEAD 28
Installs (365 days)
semgrep 46,652
semgrep --HEAD 104
Installs on Request (365 days)
semgrep 46,635
semgrep --HEAD 104
Fork me on GitHub