SecRepoBench (Aider) - Pass@1: leaderboard
SecRepoBench asks code agents to complete a masked region of a function in 318 tasks from 27 C/C++ repositories covering 15 CWEs, with the whole repository available and web search disabled. Models here run inside the Aider agent framework. Pass@1 is the percent of completions that pass the developer-written unit tests, whether or not they are secure; higher is better.
Metric: Completions that pass the unit tests, pass@1 (%). Source: secrepobench.github.io. Saturation forecast: Around February 2027. 7 models tracked.
Top models
| # | Model | Score | Overall rank |
|---|---|---|---|
| 1 | Gemini 3 Pro | 70.1 | #82 |
| 2 | GPT-5 | 69.5 | #105 |
| 3 | Claude Sonnet 4 (Thinking) | 64.8 | #207 (Claude Sonnet 4) |
| 4 | O3 | 60.7 | #132 |
| 5 | GPT-4.1 | 59.1 | #258 |
| 6 | O4 Mini | 58.2 | #185 |
| 7 | Claude Sonnet 4.5 (Thinking) | 56.6 | #148 (Claude Sonnet 4.5) |
No result here: #3 Claude Opus 5.5, #6 GPT-6 Astra, #7 GPT-6.1 Sol.
Interactive version: theaggregate.ai/benchmark?slug=secrepobench-aider-pass-1 · How It Works · Data refreshed daily, snapshot 2026-11-05.