opengrep vs FuncVul
Code vulnerability detection approaches compared
opengrep is a static analysis engine that scans code with customizable pattern rules, while FuncVul is a research implementation that uses a fine-tuned model to detect vulnerable code chunks. opengrep supports scanning across many languages and CI-oriented outputs; FuncVul focuses on function-level experiments in C/C++ and Python.

opengrep: Find Security Issues with Static Code Analysis
Opengrep is an open-source static analysis engine that scans code for security issues using customizable pattern rules. It supports Semgrep-compatible rules and produces text, JSON, and SARIF results for developer and CI workflows.

FuncVul: Detect Vulnerabilities in Code Functions
FuncVul applies a fine-tuned GraphCodeBERT model to code chunks to detect vulnerable functions in C/C++ and Python. It is aimed at researchers and security teams evaluating function-level vulnerability detection, with datasets and baselines included.
| opengrep | FuncVul | |
|---|---|---|
| Language | OCaml | Python |
| License | LGPL-2.1 | — |
| Stars | 3.1k | 21 |
| Forks | 272 | 6 |
| Last analyzed | Oct 7, 2026 | Oct 8, 2026 |
Key differences
- opengrep matches code against YAML rules, while FuncVul applies a fine-tuned GraphCodeBERT model to code chunks.
- opengrep analyzes more than 30 languages, while FuncVul targets C/C++ and Python.
- opengrep is designed for developer and CI scanning workflows, while FuncVul is oriented toward research experiments and baselines.
- opengrep is licensed under LGPL-2.1; FuncVul's repository information lists no license.
- opengrep provides self-contained binaries for Linux, macOS, and Windows; FuncVul provides a run script and identifies Python requirements.
- opengrep has regular commits and releases, while FuncVul has had no commits in the last 90 days or release in a year.
Choose opengrep if you…
- need a rule-based SAST engine for development or CI workflows.
- want to reuse Semgrep-compatible rules or export findings as JSON or SARIF.
- need to scan code across a broad range of languages.
Choose FuncVul if you…
- want to reproduce or extend function-level vulnerability detection experiments.
- need datasets and baselines for comparing code-chunk approaches.
- want to study vulnerability detection in C/C++ or Python.
Compare the numbers side by side, or add more projects
This comparison is generated with AI from the OSRepos analyses of both projects. Always check each project's repository and documentation before choosing.