Opengrep is an open-source SAST engine that scans code for security issues across many languages. It offers semantic matching, cross-file taint tracking, and SARIF or JSON output via installable binaries.
Overview
Opengrep is a static application security testing engine focused on finding security issues in source code. It is a fork of an earlier Semgrep release and is backed by a consortium of application security organizations.
The engine supports more than thirty languages and combines semantic and type-aware pattern matching with cross-function and cross-file taint tracking. Dataflow analysis covers higher-order functions, field sensitivity, and related techniques, with multicore parallelism noted for performance.
Distributable Cosign-signed binaries are provided for Linux, macOS, and Windows, with quick install paths and manual releases. Output can be emitted as SARIF, JSON, and other formats, and the tool accepts fine-grained memory and time limits.
Rule compatibility with Semgrep is called out, and documentation covers tutorials such as intrafile tainting and higher-order functions. Opengrep is not affiliated with Semgrep Inc.
Key features
- 30+ language support
- Semantic type-aware matching
- Cross-file taint tracking
- Advanced dataflow analysis
- Multicore OCaml 5 runtime
- SARIF and JSON output
- Semgrep rule compatibility
- Signed Linux macOS Windows binaries
Use cases
- Finding security flaws in code
- CI static analysis scans
- Cross-file taint analysis
- Agent-driven security checks