# opengrep/opengrep

🔎 Static code analysis engine to find security issues in code.

Repository: https://github.com/opengrep/opengrep
Canonical: https://ross.abutalabs.com/products/opengrep
Language: OCaml
License: LGPL-2.1
License Family: copyleft
Last push: 2026-08-26T18:34:58+00:00

## Health v2 (maintenance only)
Score: 84/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 44
- inputs: {"age_days": 627, "days_push": 7, "days_rel": 8, "gap_med": 6.0, "n_releases_24m": 65}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2995, forks 254 (observed 2026-08-28T04:07:36.331492+00:00)

## What it is
Opengrep is an open-source static application security testing (SAST) engine forked from Semgrep under LGPL-2.1, supporting pattern-based code search and taint analysis across 30+ languages. It is Semgrep-rule compatible and outputs JSON and SARIF for CI integration.

## Use cases
- find security vulnerabilities in source code
- run static analysis in CI pipelines
- search codebases with semantic grep patterns
- perform taint analysis to trace untrusted input
- scan code with existing Semgrep rules
- generate SARIF reports for security findings

## When to choose
- you want a fully open-source SAST engine without commercial license restrictions
- you already have Semgrep rules and want drop-in compatibility
- you need taint analysis or language support missing from Semgrep CE (e.g., Visual Basic, Apex, Elixir)

## When to avoid
- you rely on Semgrep's proprietary platform features or commercial rules
- you need dynamic analysis or runtime security testing rather than static analysis

## Facets
- artifact type: cli-tool
- maturity: active
- function: security, vulnerability-scanning, search-engine, parser, linter
- domain: security, developer-tools, testing
- platform: windows, cli, cross-platform
- tags: sast, static-analysis, semgrep-fork, taint-analysis, code-search, sarif, appsec, command-line, linux, macos

## Member repositories
- opengrep/opengrep (main) score 84

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:36.331492+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:30:47.649576+00:00, confidence not recorded.
  - readme: https://github.com/opengrep/opengrep (fetched 2026-08-28T04:07:36.331492+00:00, sha 0ffc56d0e872)
- Data as of 2026-08-30T08:39:29.467469+00:00.
