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:

Intel ventura
monterey
big sur
64-bit linux
Apple Silicon ventura
monterey
big sur

Current versions:

stable 1.23.0
head ⚡️ HEAD

Depends on:

gmp 6.2.1 GNU multiple precision arithmetic library
pcre 8.45 Perl compatible regular expressions library
python-typing-extensions 4.6.2 Backported and experimental type hints for Python
python@3.11 3.11.3 Interpreted, interactive, object-oriented programming language
tree-sitter 0.20.8 Parser generator tool and incremental parsing library

Depends on when building from source:

cmake 3.26.4 Cross-platform make
coreutils 9.3 GNU File, Shell, and Text utilities
dune 3.8.0 Composable build system for OCaml
ocaml 4.14.0 General purpose programming language in the ML family
opam 2.1.5 OCaml package manager
pipenv 2023.5.19 Python dependency management tool
pkg-config 0.29.2 Manage compile and link flags for libraries

Analytics (macOS):

Installs (30 days)
semgrep 12
Installs on Request (30 days)
semgrep 12
Build Errors (30 days)
semgrep 0
Installs (90 days)
semgrep 103
Installs on Request (90 days)
semgrep 102
Installs (365 days)
semgrep 44,744
semgrep --HEAD 10
Installs on Request (365 days)
semgrep 44,724
semgrep --HEAD 10

Analytics (Linux):

Installs (30 days)
semgrep 1
Installs on Request (30 days)
semgrep 1
Build Errors (30 days)
semgrep 0
Installs (90 days)
semgrep 2
Installs on Request (90 days)
semgrep 2
Installs (365 days)
semgrep 1,324
Installs on Request (365 days)
semgrep 1,327
Fork me on GitHub