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.114.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.1 Safe, concurrent, practical language

Analytics:

Installs (30 days)
semgrep 4,930
semgrep --HEAD 10
Installs on Request (30 days)
semgrep 4,928
semgrep --HEAD 10
Build Errors (30 days)
semgrep 0
Installs (90 days)
semgrep 14,165
semgrep --HEAD 31
Installs on Request (90 days)
semgrep 14,148
semgrep --HEAD 31
Installs (365 days)
semgrep 46,454
semgrep --HEAD 98
Installs on Request (365 days)
semgrep 46,416
semgrep --HEAD 98
Fork me on GitHub