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

#ModelScoreOverall rank
1GPT-5 (Medium)54.1#105 (GPT-5)
2Claude Sonnet 4.5 (Thinking)52.2#148 (Claude Sonnet 4.5)
3Claude Sonnet 4 (Thinking)48.4#207 (Claude Sonnet 4)
4Gemini 3 Pro48.1#82
5O3 (Medium)47.5#132 (O3)
6GPT-4.143.4#258
7Claude 3.7 Sonnet (Thinking)40.3#259 (Claude 3.7 Sonnet)
8DeepSeek V339.6#329
9O1 (Medium)38.4#190 (O1)
10O4 Mini (Medium)36.8#185 (O4 Mini)
11Claude 3.5 Sonnet36.5#362
12GPT-4o (2024-11-20)34.9#392
13DeepSeek R134.3#262
14GPT-OSS-120B (Medium)34#346 (GPT-OSS-120B)
15GPT-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.