About
Free open-source static code analysis tool.
Rules are written in
YAMLand contain one or more patterns.Stable support for the following languages:
Go
Java
JavaScript
JSON
Python
Ruby
TypeScript
JSX
TSX
Experimental support for the following languages:
OCaml
PHP
C
YAML
Generic (ERB, Jinja, etc.)
Compared to
CodeQL,Semgrepdoes not require the project's codebase to be created as a database. While this makes it easier to work with certain projects such as closed-source Java projects which are decompiled, it is not nearly as powerful asCodeQLwhen it comes to data flow analysis.Semgrepcould be thought ofgrepon steroids with a few bonus functionalities such asautofix(could be powerful whenSemgrepis used in a CI pipeline).
Last updated
Was this helpful?