Opengrep
- About
- Open-source static analysis engine for finding security bugs in code. Open-source alternative to Semgrep and Snyk.
- Catalogue
- No. 538
- Category
- Development
- GitHub stars
- ★ 3.4k
- Last commit
- Page updated

Overview
Opengrep is an open-source static application security testing (SAST) engine, a fork of Semgrep licensed under LGPL 2.1. It scans code in 30+ languages and is backed by a consortium of AppSec companies, including Aikido, Amplify, Endor Labs, Kodem and Orca Security.
What it does well
Matching is semantic and type-aware, and taint tracking follows data across functions and files, including higher-order functions and fields. It's written in OCaml 5 with multicore parallelism and ships as self-contained, Cosign-signed binaries for Linux, macOS and Windows. It's compatible with Semgrep rules, outputs SARIF and JSON, and has fine-grained memory and time limits. A skill lets coding agents install it, write rules and run scans.
Why it’s in the collection
Opengrep keeps cross-file taint analysis in an open-source scanner that works with existing Semgrep rules.
Is Opengrep open source?
Yes. Opengrep is open source under the LGPL 2.1 license, so you can read, change and host the code yourself. LGPL 2.1 license text.
On GitHub
- Stars
- 3,422
- Forks
- 300
- Commits
- 10,817
- Latest
- Repository
- opengrep/opengrep
Languages
- OCaml 89.2%
- Java 3.4%
- JavaScript 1.6%
- Yacc 1.6%
- Other 4.2%



