Security-specialized scanner outperforms LLMs and rule-based tools on real Python code
Kolega.Dev achieves the highest F3 score (73.0) versus 51.7 for the best LLM and 17.7 for the best rule-based scanner
Security & privacy arXiv 15 Apr 2026 Benchmark Prototype evidence
Published as “RealVuln: Benchmarking Rule-Based, General-Purpose LLM, and Security-Specialized Scanners on Real-World Code”
Why it matters
Organizations can achieve substantially higher vulnerability recall at modest cost by adopting purpose-built LLM security scanners rather than relying solely on traditional rule-based SAST tools.
Summary
Kolega.Dev, a security-specialized LLM scanner, achieves the highest recall and the top F3 score (73.0) on the RealVuln benchmark, far outpacing the best general-purpose LLM (Claude Sonnet 4.6 at 51.7) and the best rule-based SAST tool (Semgrep at 17.7). The benchmark compares 15 scanners on 26 real-world Python repos with 796 hand-labeled findings, using a recall-weighted F3 metric; the evidence is strong but limited to Python and intentionally vulnerable apps.
What they found 1
- Kolega.Dev leads the benchmark with an F3 score of 73.0, nearly three times the best rule-based tool.
“Under F3, the SecuritySpecialized scanner Kolega.Dev (73.0) leads, followed by the best General-Purpose LLM, Claude Sonnet 4.6 (51.7), which in turn scores nearly 3× higher than the best Rule-Based tool, Semgrep (17.7).”
Caveats 5
- Kolega.Dev’s precision is only 0.388, indicating a high false-positive burden despite its recall advantage.
- The other security-specialized scanner, GitHub SecLab Taskflow Agent, scores only F3 = 8.4, lower than every rule-based tool.
- First, RealVuln covers Python only.
- Second, our ground truth covers only OWASP-style application vulnerabilities (injection, XSS, authentication flaws), but we do not yet include supply-chain, configuration, or infrastructure-as-code findings.
- Third, we are ourselves a vendor (Kolega.Dev), which creates the same conflict of interest we criticize above.
What’s new here 4
- First open-source benchmark that evaluates rule-based SAST, general-purpose LLMs, and security-specialized scanners side-by-side on identical real-world code.
- Includes explicit false-positive traps (15.1% of entries) to measure noise, which prior benchmarks omitted.
- Provides a fully reproducible scoring pipeline with version-locked manifests and cost tracking for LLM usage.
- Offers a living, community-driven benchmark with an interactive dashboard and versioned contributions.