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
- Pro (Java): `List.add` taints every element of the list, and in single-file mode the model is skipped when the type is written as `java.util.List`; the collection models are not documented
- fix(git): strip token-only userinfo in clean_project_url (#12024)
- Python 3.15 syntax: lazy imports and unpacking comprehensions
- fix(mcp): prevent safe_join path escape on Windows
- feat: support Python 3.15 lazy imports and unpacking comprehensions
- fix(config): read local rule files as UTF-8
- CE 1.178.0 reports syntax errors for Node-valid JavaScript modules
- C#: collection expression with trailing comma and non-literal elements (`[a, b,]`) fails to parse — findings later in the same method are silently missed
- fix(mcp): accept semgrep_scan files in any workspace root
- osemgrep does not accept --semgrepignore-file (public alias only in pysemgrep)
- Docs
- OCaml not yet supported