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:

Apple Silicon sequoia
sonoma
ventura
Intel sonoma
ventura
64-bit linux

Current versions:

stable 1.112.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.2 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 3.31.6 Cross-platform make
coreutils 9.6 GNU File, Shell, and Text utilities
dune 3.17.2 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.85.0 Safe, concurrent, practical language

Analytics:

Installs (30 days)
semgrep 5,022
semgrep --HEAD 12
Installs on Request (30 days)
semgrep 5,018
semgrep --HEAD 12
Build Errors (30 days)
semgrep --HEAD 3
semgrep 2
Installs (90 days)
semgrep 13,747
semgrep --HEAD 30
Installs on Request (90 days)
semgrep 13,730
semgrep --HEAD 30
Installs (365 days)
semgrep 46,210
semgrep --HEAD 96
Installs on Request (365 days)
semgrep 46,172
semgrep --HEAD 96
Fork me on GitHub