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

Depends on:

certifi 2024.8.30 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.0 Interpreted, interactive, object-oriented programming language
sqlite 3.47.0 Command-line interface for SQLite
tree-sitter 0.24.3 Parser generator tool and incremental parsing library

Depends on when building from source:

autoconf 2.72 Automatic configure script builder
cmake 3.30.5 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.1 OCaml package manager
pipenv 2024.2.0 Python dependency management tool
pkg-config 0.29.2 Manage compile and link flags for libraries
rust 1.82.0 Safe, concurrent, practical language

Analytics:

Installs (30 days)
semgrep 4,269
semgrep --HEAD 7
Installs on Request (30 days)
semgrep 4,263
semgrep --HEAD 7
Build Errors (30 days)
semgrep 18
Installs (90 days)
semgrep 10,204
semgrep --HEAD 18
Installs on Request (90 days)
semgrep 10,196
semgrep --HEAD 18
Installs (365 days)
semgrep 44,600
semgrep --HEAD 98
Installs on Request (365 days)
semgrep 44,582
semgrep --HEAD 98
Fork me on GitHub