页面简介
Compare AI model performance on CWE-Bench-AA Benchmark. Artificial Analysis' implementation of Collinear AI's CWE-bench, a defensive cybersecurity benchmark testing whether coding agents can audit a real open-source codebase, find a vulnerability in a described area of concern, and patch it without breaking legitimate behavior.
正文摘录
Artificial AnalysisKAll cyber evaluationsCWE-Bench-AA BenchmarkPrivate DatasetAgenticCodingTool UseReasoningArtificial Analysis' implementation of Collinear AI's CWE-bench, a defensive cybersecurity benchmark testing whether coding agents can audit a real open-source codebase, find a vulnerability in a described area of concern, and patch it without breaking legitimate behavior.BackgroundCWE-bench is a defensive cybersecurity benchmark developed by Collinear AI that tests whether coding agents can find and fix security vulnerabilities in real software. Each task gives the agent a checkout of an open-source repository and instructs it to audit the code and fix what it finds, based on the area of concern but not the exact location.The evaluation set is 120 held-out tasks, private to Collinear AI and Artificial Analysis. It covers all ten OWASP Top 10 (2025) categories, across C/C++, Go, Java, JavaScript/TypeScript, Python, and Rust.Grading is deterministic and all-or-nothing. A task counts as solved only when a programmatic exploit check confirms the vulnerability can no longer be triggered and legitimate behavior still works.CWE-Bench-AA runs every task in an isolated sandbox with no internet access, using our Stirrup agent harness, with a 2-hour limit per task. The headline score is pass@1: the share of the 120 tasks a model fixes on a single attempt.MethodologyAll evaluations are conducted independently by Artificial Analysis. More information can be found in our CWE-Bench-AA methodology.Related LinksArtificial Analysis Cyber IndexCWE-Bench-AA MethodologyCWE-benchCWE-Bench-AA pass@1Tencent Hy4 scores the highest on CWE-Bench-AA pass@1 with a score of 76%, followed by GPT-6.2 Astra (Xhigh) with a score of 69% and DeepSeek V4.1 Flash 1017 (Max) with a score of 69%Cost per TaskGPT-6 Luna (Max) has the lowest cost per task on CWE-Bench-AA, at $0.11, followed by Beam 1.0 at $0.15 and MiMo-V2.6-Pro at $0.18Output Tokens UsedGPT-6.2 Astra (Low) uses the fewest output tokens to run CWE-Bench-AA, with 536k, followed by GPT-6.2 Astra (Medium) with 1.32M and GPT-6.2 Astra (High) with 2.73MScoreCWE-Bench-AAShare of tasks solved, failed, and declined on safety grounds · Vulnerability patching success (pass@1) · Independently benchmarked by Artificial Analysis27 of 37 modelsSuccessesSafety blocksTrusted-access model (not publicly available)CWE-Bench-AA pass@1Share of the 120 held-out CWE-bench tasks a model solves on a single attempt. A task counts as solved only when the task's programmatic verifier confirms the exploit no longer works and legitimate behavior still works; there is no partial credit and no LLM judge. Tasks are private, run in a sandbox with no internet access, and the task describes the area of concern but not the exact location.CWE-Bench-AA: Score vs. Cost per TaskCWE-Bench-AA score vs. average cost per task (USD) · Refused tasks are estimated from other models' token use27 of 37 modelsMost attractive quadrantPareto lineAnthropicOpenAIKimiStepFunSpaceXAITencentDeepSeekZ AIGoogleXiaomiMistralAlibabaMiniMaxReflectionMetaEvaluation Cost per TaskAverage cost per task in the evaluation. Costs are split by input, cache hit, cache write, reasoning, and answer token pricing where canonical token counts are available.Token UsageOutput Tokens per TaskScore vs. Output Tokens per TaskToken BreakdownScore vs. Output TokensCWE-Bench-AA: Output Tokens per TaskOutput tokens used to run one task, broken down by reasoning and answer tokens · Refused tasks are estimated from other models' token use27 of 37 modelsTrusted-access model (not publicly available)AnswerReasoningEvaluation Output Tokens per TaskThe average number of answer and reasoning tokens produced per benchmark task in this evaluation.CostCost per TaskTotal Cost to RunScore vs. ComputeCWE-Bench-AA: Cost per TaskAverage cost per task (USD), broken down by input, cache hit, cache write, reasoning, and answer tokens · Refused tasks are estimated from other models' token use27 of 37 modelsAnswerReasoningCache WriteCache HitInputEvaluation Cost per TaskAverage cost per task in the evaluation. Costs are split by input, cache hit, cache write, reasoning, and answer token pricing where canonical token counts are available.SpeedTime per TaskScore vs. Time per TaskCWE-Bench-AA: Time per TaskOutput tokens divided by end-to-end output speed (minutes per task) · Speed at the model's own endpoint or the median across providers · Lower is better · Refused tasks are estimated from other models' token use27 of 37 modelsEvaluation Time per TaskThe weighted average time (minutes) per evaluation task. This is calculated by dividing output tokens per task by output speed, weighted by the relative weights of each benchmark in the evaluation.Score vs. Release DateCWE-Bench-AA: Score vs. Release Date27 of 37 modelsMost attractive regionOpenAIAnthropicKimiStepFunSpaceXAITencentDeepSeekZ AIGoogleXiaomiMistralAlibabaMiniMaxReflectionMetaFrequently Asked QuestionsWhat is CWE-Bench-AA?CWE-Bench-AA is Artificial Analysis' implementation of CWE-bench, a defensive cybersecurity benchmark from Collinear AI. Each task gives a coding agent a checkout of a real open-source repository and a single instruction to audit the code and fix what it finds; the task describes the area of concern but not the exact location, and the agent is never asked to create exploits. The evaluation set is 120 held-out tasks covering all ten OWASP Top 10 (2025) categories, across C/C++, Go, Java, JavaScript/TypeScript, Python, and Rust.How is CWE-Bench-AA scored?Each task has a deterministic programmatic verifier that runs after the agent finishes. A task counts as solved only when the exploit no longer works and legitimate behavior still works. The verifier returns 1 or 0. The headline score is pass@1: the share of the 120 tasks solved on a single attempt.How does CWE-Bench-AA differ from the leaderboard at cwe-bench.com?Both use the same held-out tasks and the same deterministic verifier, but the runs differ in three ways. Collinear AI runs each model through its vendor's own agent product (for example Claude Code or Codex, or Terminus-2 for open-weights models), runs four trials per task and reports both pass@1 and pass@4, and additionally records an LLM-judged partial-credit track. CWE-Bench-AA runs every model on our own open-source Stirrup agent harness with the same agent prompts, runs each task once, and scores the deterministic verifier only. Scores on this page are therefore not directly comparable to Collinear AI's published results.Can I see the CWE-Bench-AA tasks?No. The 120-task evaluation set is held out and private to Collinear AI and Artificial Analysis; it is not available to any external organization, which helps reduce the risk of training-data contamination. Collinear AI separately offers a 1,000+ task training corpus that never overlaps the evaluation set.Is CWE-Bench-AA part of an Artificial Analysis index?Yes. CWE-Bench-AA is one of three evaluations in the Artificial Analysis Cyber Index, weighted equally with DeepsecBench-AA and CyberGym-E2E-AA. It does not contribute to the Artificial Analysis Intelligence Index.Explore EvaluationsArtificial Analysis Intelligence Index v5.0.2A composite benchmark aggregating nine challenging evaluations to provide a holistic measure of AI capabilities across knowledge work, coding, science, and general knowledge.AA-Briefcase v1.1: Agentic Knowledge Work BenchmarkA private evaluation developed by Artificial Analysis for frontier agentic capability in long-horizon knowledge work, testing agents on realistic business workflows that require deliverables such as spreadsheets, presentations, and memos.AA-3D: Interactive 3D Experience BenchmarkA benchmark developed by Artificial Analysis for how well AI models build interactive 3D experiences. Models work as agents in an offline sandbox via Stirrup to turn a written brief into a three.js scene, with Elo ratings derived from blind pairwise votes.APEX-Agents-AA BenchmarkArtificial Analysis' implementation of the APEX-Agents benchmark, testing AI agents on long-horizon, cross-application tasks in professional-services environments with realistic application tooling.AA-AnalystAgent BenchmarkArtificial Analysis' data analysis benchmark, testing AI agents on their ability to work with spreadsheets and documents to answer quantitative questions a Business Analyst or Data Analyst would face day-to-day.AutomationBench-AA: Agentic SaaS Workflow BenchmarkA benchmark measuring agentic task completion across simulated SaaS application environments, scoring the share of each task's objectives completed without guardrail violations.Harvey LAB-AA v1.1 BenchmarkArtificial Analysis' implementation of Harvey's Legal Agent Benchmark (LAB), testing AI agents on real-world legal work from Harvey's dataset of 120 private tasks spanning 24 legal practice areas. v1.1, built in collaboration with Harvey, checks every deliverable against the task's source documents for hallucinations, so work that passes every rubric criterion but contains a material hallucination receives no credit. A panel of three judges grades each deliverable criterion-by-criterion.GDP.pdf BenchmarkArtificial Analysis' implementation of Surge AI's GDP.pdf benchmark, testing whether language models can reason over long, real-world professional documents and satisfy detailed task-specific criteria.EnterpriseOps-Gym-AA BenchmarkArtificial Analysis' independent implementation of ServiceNow's EnterpriseOps-Gym, an agentic benchmark testing whether LLM agents can complete stateful, multi-step enterprise workflows across eight business domains via live tool use, graded on the final state of the underlying databases.Terminal-Bench 4.1 BenchmarkThe same 66 tasks as Terminal-Bench 4.0, scored with updated verifiers. The tasks cover complex terminal work across software, machine learning, science, operations, security, hardware, and media.Terminal-Bench-Science 0.1 BenchmarkA 70-