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

Bottle JSON API: /api/bottle/semgrep.json

Formula code: semgrep.rb on GitHub

Bottle (binary package) installation support provided for:

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

Current versions:

stable 0.78.0
head ⚡️ HEAD

Depends on:

pcre 8.45 Perl compatible regular expressions library
python@3.10 3.10.1 Interpreted, interactive, object-oriented programming language
tree-sitter 0.20.2 Parser generator tool and incremental parsing library

Depends on when building from source:

cmake 3.22.1 Cross-platform make
coreutils 9.0 GNU File, Shell, and Text utilities
dune 2.9.1 Composable build system for OCaml
ocaml 4.12.0 General purpose programming language in the ML family
opam 2.1.2 OCaml package manager
pipenv 2022.1.8 Python dependency management tool
pkg-config 0.29.2 Manage compile and link flags for libraries

Analytics (macOS):

Installs (30 days)
semgrep 1,865
Installs on Request (30 days)
semgrep 1,868
Build Errors (30 days)
semgrep 1
Installs (90 days)
semgrep 8,336
semgrep --HEAD 2
Installs on Request (90 days)
semgrep 8,340
semgrep --HEAD 2
Installs (365 days)
semgrep 28,128
semgrep --HEAD 9
Installs on Request (365 days)
semgrep 28,131
semgrep --HEAD 9

Analytics (Linux):

Installs (30 days)
semgrep 35
Installs on Request (30 days)
semgrep 35
Build Errors (30 days)
semgrep 0
Installs (90 days)
semgrep 120
Installs on Request (90 days)
semgrep 120
Installs (365 days)
semgrep 292
Installs on Request (365 days)
semgrep 291
Fork me on GitHub