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
- fix: handle mapping pattern rest captures
- Go if-with-short-statement does not consider all function calls
- [lua] Parser rejects valid identifiers "next" and "self"
- [lua] Internal matching error on table-constructor pattern with repeated metavariable
- fix(dockerfile): parse bracket expressions after escapes
- fix: preserve distinct metavariable findings (#11588)
- Summary says "Scan was limited to files tracked by git" while untracked files are scanned
- 5 p/csharp registry rules crash semgrep-core on C# 12 primary constructors, silently killing coverage for the rest of the file
- File targeting is case-sensitive, uppercase extensions (.CPP, .Cpp) are silently skipped even when language matches.
- Python: `case {**rest}:` raises Common.Impossible and drops the whole file (leftover from #11100)
- Docs
- OCaml not yet supported