🔍 Read the full analysis: CWE-bench V2 Expands AI Coverage, Quality, And Transparency on ThorstenMeyerAI.com
Get business pricing on tech for your team
- Business-only prices and quantity discounts
- Tax-exempt purchasing
- Multiple users, one account, clear invoices
TL;DR
Collinear AI has released CWE-bench v2, a public benchmark of 100 security-fix tasks from open-source repositories, along with its grader and evaluation harness. Its reported leader scored 67.8% pass@1 across the set, but the results do not establish how models perform across production security work.
Collinear AI has released CWE-bench v2, a public benchmark of 100 security-fix tasks drawn from real open-source repositories, with a deterministic grader and evaluation harness intended to support repeatable comparisons of coding agents. The set spans 91 CWE weakness categories; in the release’s reported evaluations, the leading model scored 67.8% on pass@1, meaning it passed that share of tasks on its first attempt.
Each task gives an agent a checkout of a real repository and a short instruction to identify and fix a security weakness while preserving existing functionality. The benchmark’s authors say scoring is fully programmatic, using curated checks to evaluate behavior rather than requiring a particular code structure. Tasks are packaged as self-contained Harbor environments, and a registry file supports running them from Hugging Face. Users must accept the dataset’s access conditions before accessing it.
The release reports results for 11 models. Gemini 4 Argon leads at 67.8% pass@1 and 81.0% pass@4, narrowly ahead of Claude Opus 5.5 at 67.3% and 78.0%. Pass@4 measures whether a model solves a task within four attempts. The release says at least one model solved 95 of the 100 tasks; that figure does not mean any single model solved all 95. Even the reported leader failed 19% of the set on every attempt, according to the announcement.
The authors also compare cost and performance. DeepSeek V4.1 Flash (1017) scored 57.0% pass@1 at a reported $0.04 per rollout. Claude Opus 5.5 scored about 10 percentage points higher at $1.83, while Gemini 4 Argon edged ahead of it at a reported $3.92. These are the release’s figures; costs may vary with model pricing and evaluation setup, and the supplied results do not give enough methodological detail to independently assess every cost comparison.
What Security-Fix Scores Can Show
The release provides developers and researchers a shared way to test whether coding agents can repair vulnerabilities across varied software tasks, rather than only one familiar weakness pattern. Because the tasks use real repository checkouts and checks intended to preserve existing behavior, results can offer evidence about how systems handle a defined set of practical coding challenges. Public tasks and evaluation tools also allow other teams to inspect the benchmark and try their own runs.
The scores are not evidence that a model is ready to take responsibility for security work on its own. The top reported pass@1 result remains below 70%, and the benchmark announcement says the leading model fails a portion of tasks on every attempt. In security, an unaddressed weakness can matter even when an agent performs well on most of a test set. The results are best read as a comparison under the benchmark’s conditions, not as a guarantee of safe or reliable performance in every repository.
Products Worth Considering

LG UltraGear 27-inch 4K UHD IPS Gaming Monitor, Dual Mode 180Hz/360Hz, 1ms, G-SYNC Compatible

Jackery Explorer 2000 v2 Portable Power Station, 2042Wh

Amazon Kindle Scribe (3rd Generation) 16GB, 11-Inch Display, Graphite, with Premium Pen
As an affiliate, we earn on qualifying purchases.
How Version 2 Tests Repairs
CWE-bench v2 keeps the earlier task format and expands the publicly available set to 100 tasks. According to the release, the team reviewed tasks by hand, checking whether instructions were realistic, whether the expected behavior could be inferred, and whether verifiers tested correct outcomes rather than one specific implementation. The authors also say they checked that starter code fails, reference fixes pass, and existing functionality remains intact.
The release says verifiers were tested against memorized solutions, including known upstream patches, and that panels of language models helped shape programmatic checks for difficulty and fairness. These are descriptions from the benchmark’s authors. A separate held-out set is used to track progress on tasks not seen by evaluated models, but access requires contacting Collinear AI. Public results are tracked through two Hugging Face channels: a dataset-page leaderboard for open-weight models and a leaderboard Space that also includes API-only models. Contributors can submit results through pull requests.
“A defender has to anticipate the ways an attacker could get in, and get it right every single time.”
— Collinear AI, in its CWE-bench v2 announcement on Hugging Face
Limits of the Published Comparisons
The supplied release results do not include enough detail to independently assess every comparison, including exact model configurations and all conditions behind cost estimates. Scores may change as new evaluations are submitted. The announcement describes the review and verifier process, but outside readers cannot inspect the private held-out tasks or reproduce runs on that set.
It is also unclear how closely performance on these 100 curated tasks predicts performance in production security work. Real software environments vary in code, dependencies, threat models and deployment constraints. A benchmark result can support comparisons under shared conditions, but the release does not establish that success on this set translates into reliable handling of the full range of security reviews.
How Researchers Can Extend Testing
Researchers and developers can run models against the public tasks using Harbor after accepting the dataset conditions and setting up Hugging Face authentication. The release invites task feedback and contributions, and teams can submit leaderboard results through pull requests. Collinear AI says interested groups can contact it about evaluations on the held-out set.
Further submissions may change the public rankings and reveal issues in the benchmark itself. Independent reproduction of the published scores, clearer reporting of model configurations and costs, and comparisons with outcomes in real security reviews would help clarify what the results predict beyond this task set.
Key Questions
What is CWE-bench v2?
It is a public benchmark from Collinear AI containing 100 security-fix tasks from open-source repositories, with a grader and evaluation harness for testing coding agents.
Which model leads the reported results?
The release reports Gemini 4 Argon at 67.8% pass@1 and 81.0% pass@4. These are results under the benchmark’s published evaluation, not a guarantee of performance on other security work.
Does the benchmark show that an AI agent can handle security work reliably?
No. The results compare models on a defined set of tasks. The release reports that the leading model still failed 19% of the set on every attempt, and it does not establish how scores translate to production environments.
Can researchers run the benchmark themselves?
The public tasks are packaged as Harbor environments and distributed through Hugging Face. Users must accept the dataset’s access conditions; the separate held-out set is not publicly inspectable and requires contacting Collinear AI.
Primary source: Hugging Face · via ThorstenMeyerAI.com
