Benchmark

CWE-bench

Whether an agent can find and fix a real security weakness in a real open-source repository. The agent is given a checkout and a short instruction, and the result is scored programmatically rather than judged by a model, so the same submission always receives the same score.

Maintainer
Collinear AI
Score
%
Last checked
November 4, 2026

Leaderboard

No verified results recorded yet.

Methodology

The public set holds 100 tasks covering 91 distinct weakness classes, packaged so they can be run directly from the maintainer's repository. Tasks were checked with panels of model judges whose output shaped the deterministic checks, followed by hand review. A separate held-out set is not published, and access is granted by the maintainer on request.

Important limitations

The public set is small and now open, so scores on it will drift as the tasks reach training data. Costs per attempt differ by more than an order of magnitude between models, which makes a pass rate alone a poor comparison. The maintainer publishes both the benchmark and the results.

Related news