Lightweight static analysis for many languages. Find bug variants with patterns that look like source code.
Semgrep is a command-line tool for offline static analysis. Use pre-built or custom rules to enforce code and security standards in your codebase. You can try it now with our interactive live editor.
Semgrep combines the convenient and iterative style of grep with the powerful features of an Abstract Syntax Tree (AST) matcher and limited dataflow. Easily find function calls, class or method definitions, and more without having to understand ASTs or wrestle with regexes.
Supports #python #js #go #java and #c
https://github.com/returntocorp/semgrep
Post #584
2.52K