Get the daily emailDaily email
  1. Home
  2. Research
  3. This story

Collinear AI's CWE-bench v2: 100 public tasks for finding and fixing vulnerabilities in real repos

Collinear AI released CWE-bench v2 with 100 public tasks covering 91 CWEs: an agent gets a real open-source repo and a short instruction and must fix a security weakness without breaking existing behavior. Scoring is fully programmatic and deterministic, with…

Published Read the original
Collinear AI's CWE-bench v2: 100 public tasks for finding and fixing vulnerabilities in real repos

Why it matters

It gives a reproducible, cost-aware comparison for picking a model for code-security work.

What happened

1 min read

Collinear AI released CWE-bench v2 with 100 public tasks covering 91 CWEs: an agent gets a real open-source repo and a short instruction and must fix a security weakness without breaking existing behavior. Scoring is fully programmatic and deterministic, with a held-out set kept back. Of 11 models, Gemini 4 Argon leads at 67.8% pass@1, just ahead of Claude Opus 5.5 at 67.3%, while DeepSeek V4.1 Flash reaches 57% at $0.04 per rollout.

inscraper analysis

Our analysis

Strengths are clear: tasks from real repos, verifiers that reject memorized solutions such as the upstream patch, and hand review of every task. But 100 tasks across 91 CWEs is roughly one per class, so per-class conclusions aren't statistically meaningful. The half-point gap between Gemini and Claude is effectively a tie at this sample size. Tasks are also tagged as RL environments, useful for training defensive agents. The article includes commands for running the benchmark, summarized here only as data.

More in Research