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

Depends on:

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

Depends on when building from source:

autoconf 2.72 Automatic configure script builder
cmake 3.31.3 Cross-platform make
coreutils 9.5 GNU File, Shell, and Text utilities
dune 3.17.1 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.0 Python dependency management tool
pkgconf 2.3.0 Package compiler and linker metadata toolkit
rust 1.83.0 Safe, concurrent, practical language

Analytics:

Installs (30 days)
semgrep 3,627
semgrep --HEAD 7
Installs on Request (30 days)
semgrep 3,624
semgrep --HEAD 7
Build Errors (30 days)
semgrep 1
Installs (90 days)
semgrep 11,543
semgrep --HEAD 24
Installs on Request (90 days)
semgrep 11,526
semgrep --HEAD 24
Installs (365 days)
semgrep 44,404
semgrep --HEAD 98
Installs on Request (365 days)
semgrep 44,381
semgrep --HEAD 98
Fork me on GitHub