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
- Semgrep fails to resolve relative imports or same-file usages to the fully qualified symbol
- docs: clarify scan profile help text
- Fix CLI dependencies
- fix(matching): narrow match range for implicit deep ExprStmt matches
- Pro Engine: a method's taint behaviour is applied to same-named methods of unrelated classes in the same file, including dead code
- Pro Engine: taint killed inside a callee is still reported once the callee is declared in another class
- fix: close join-rule temp file before nested scan reads it
- Rust: accept an ellipsis as a match arm (fixes #9252)
- semgrep-core aborts at startup with "Unix_error: Not supported io_uring_queue_init" where io_uring is unavailable
- Windows: semgrep validate and scan fail with X509 "CertOpenSystemStore returned NULL" before rule parsing
- Docs
- OCaml not yet supported