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.109.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.44 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.24.7 Parser generator tool and incremental parsing library

Depends on when building from source:

autoconf 2.72 Automatic configure script builder
cmake 3.31.5 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.3.0 Package compiler and linker metadata toolkit
rust 1.84.1 Safe, concurrent, practical language

Analytics:

Installs (30 days)
semgrep 5,093
semgrep --HEAD 12
Installs on Request (30 days)
semgrep 5,087
semgrep --HEAD 12
Build Errors (30 days)
semgrep --HEAD 3
semgrep 3
Installs (90 days)
semgrep 12,558
semgrep --HEAD 30
Installs on Request (90 days)
semgrep 12,541
semgrep --HEAD 30
Installs (365 days)
semgrep 45,545
semgrep --HEAD 95
Installs on Request (365 days)
semgrep 45,509
semgrep --HEAD 95
Fork me on GitHub