semgrep
officialscriptablepopularsecuritybrew
Semgrep · Static analysis, security scanning, and code rules from the terminal.
$ brew install semgrepOne-liner to try
$ semgrep scan --config autoAgent pack
Copy into an agent
A markdown-ready setup brief with install, verify, safe starting commands, and guardrails for AI agents.
Readiness
Great for agents · 75/100
Verify
semgrep --version
Agent URL
/cli/semgrep/agent.md
Quick reference
Install
brew install semgrepVerify
semgrep --versionFirst command
semgrep scan --config autoAbout
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