SecRepoBench (Standalone) - Pass@1: leaderboard
SecRepoBench asks models to complete a masked region of a function in 318 tasks from 27 C/C++ GitHub repositories covering 15 CWEs and compiles each completion with the full project. Standalone models get five BM25-retrieved functions as context. Pass@1 is the percent of completions that pass the developer-written unit tests, whether or not they survive the security exploit; higher is better.
Metric: Completions that pass the unit tests, pass@1 (%). Source: secrepobench.github.io. Saturation forecast: Around February 2027. 29 models tracked.
Top models
| # | Model | Score | Overall rank |
|---|---|---|---|
| 1 | GPT-5 (Medium) | 54.1 | #105 (GPT-5) |
| 2 | Claude Sonnet 4.5 (Thinking) | 52.2 | #148 (Claude Sonnet 4.5) |
| 3 | Claude Sonnet 4 (Thinking) | 48.4 | #207 (Claude Sonnet 4) |
| 4 | Gemini 3 Pro | 48.1 | #82 |
| 5 | O3 (Medium) | 47.5 | #132 (O3) |
| 6 | GPT-4.1 | 43.4 | #258 |
| 7 | Claude 3.7 Sonnet (Thinking) | 40.3 | #259 (Claude 3.7 Sonnet) |
| 8 | DeepSeek V3 | 39.6 | #329 |
| 9 | O1 (Medium) | 38.4 | #190 (O1) |
| 10 | O4 Mini (Medium) | 36.8 | #185 (O4 Mini) |
| 11 | Claude 3.5 Sonnet | 36.5 | #362 |
| 12 | GPT-4o (2024-11-20) | 34.9 | #392 |
| 13 | DeepSeek R1 | 34.3 | #262 |
| 14 | GPT-OSS-120B (Medium) | 34 | #346 (GPT-OSS-120B) |
| 15 | GPT-4o (2024-08-06) | 33 | #343 |
No result here: #3 Claude Opus 5.5, #6 GPT-6 Astra, #7 GPT-6.1 Sol.
Interactive version: theaggregate.ai/benchmark?slug=secrepobench-standalone-pass-1 · How It Works · Data refreshed daily, snapshot 2026-11-05.