semgrep
officialscriptablepopularsecuritybrew
Semgrep · Static analysis, security scanning, and code rules from the terminal.
$ brew install semgrepOne-liner to try
$ semgrep scan --config autoAgent pack
Quick reference
Install
brew install semgrepVerify
semgrep --versionFirst command
semgrep scan --config autoMachine JSON
/cli/semgrep.jsonAbout
The official CLI from Semgrep. Static analysis, security scanning, and code rules from the terminal. Supports structured output — good for scripts and agents.
Example workflow
1. semgrep scan --config auto