semgrep
https://github.com/returntocorp/semgrep
OCaml
Lightweight static analysis for many languages. Find bug variants with patterns that look like source code.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
OCaml not yet supported1 Subscribers
Add a CodeTriage badge to semgrep
Help out
- Issues
- get_abstract_syntax_tree MCP tool broken on 1.159.0: uses legacy --dump-ast CLI form
- deregister_tools() at server.py:1382 crashes with KeyError when a tool is env-gated-skipped at registration
- semgrep_scan MCP tool fails with `Cannot create auto config when metrics are off` when `config=None` and `SEMGREP_METRICS=off`
- fix(mcp): migrate get_abstract_syntax_tree to 'semgrep show dump-ast' CLI
- fix(mcp): make deregister_tools idempotent to prevent KeyError
- Implemented --validate with registry configs by resolving before passing to semgrep-core
- Implements a `--list-rules` flag that allows users to inspect which rules would be run for a given config without executing a scan.
- fix: allow pattern matching to span across goto label sections in C/C++
- fix(cli): correct help text for default behavior when no subcommand passed
- fix(cli): correct help text to accurately describe default behavior
- Docs
- OCaml not yet supported