CWE-bench v2: More coverage, quality, and transparency
Back to Articles CWE-bench v2: More coverage, quality, and transparency Published November 3, 2026 Update on GitHub Upvote 1 Gonzalo Gonzalez chalo2000 Follow collinear-ai Ajay Jagannath ajayjagan2511 Follow collinear-ai Nazneen Rajani nazneen Follow collinear-ai Nathan Habib SaylorTwift Follow CWE-bench is designed to test the limits of frontier cyber capabilities.
In our continued pursuit to push the horizon at Collinear AI, CWE-bench v2 opens up a public set of 100 tasks that anyone can run and evaluate their models on.The setup is the same as before.
An agent gets a checkout of a real open-source repository and a short instruction, with the goal of finding and fixing a security weakness without breaking existing functionality.Scoring is fully programmatic, so results are deterministic and anyone can reproduce them without extra cost.
All our programmatic checks have been curated with the help of LLM judge panels that shape them towards the direction of hardness and fairness.We also maintain a held-out set, so that we can keep tracking progress on tasks no model has seen.
To evaluate your model on the held-out set, contact [email protected] goal is to be exhaustive.A defender has to anticipate the ways an attacker could get in, and get it right every single time.These 100 tasks cover 91 different CWEs, spanning a wide range of vulnerability classes.
A model that does well here has to understand the multiple weakness surfaces that a potential attacker can exploit.Recognising a familiar pattern is not enough.
As part of our meticulous effort to keep improving quality, for every task we checked that the following questions were true: Does the instruction read like a realistic instruction and not an evaluation setting?Can every graded behaviour be inferred from the instruction?
Does the verifier check for correct behaviour and not for specific structure of one fix?Does the starter code fail and the reference fix pass?Does the original functionality still work with the new fix?Do the verifiers fail memorized solutions like the known upstream patch?
Every task was also reviewed by hand.Open-sourcing the set is part of the same effort to improve quality.We welcome feedback on any task, and contributions to the public set.Results Results are tracked in two places on the Hub.
The leaderboard on the CWE-bench dataset page covers open-weight models and updates on its own: labs and the community add a result by opening a PR on the model's repo with a results file (how).
For the full comparison, including API-only models such as Gemini, Claude and GPT, see the CWE-bench leaderboard Space, where new models are added through a PR on the Space.
Open-weight models, from the dataset page: All evaluated models, including API-only ones: Of the 11 models evaluated, Gemini 4 Argon leads with 67.8% pass@1 and 81.0% pass@4, just ahead of Claude Opus 5.5 (67.3% pass@1, 78.0% pass@4).
95 tasks are solved by at least one model, an indication that the tasks are indeed solvable.However, even the leader fails 19% of the set on every attempt, so the long tail is far from solved.The public set, the grader and the harness are open.Run your model, and tell us where it stands.
On cost, DeepSeek V4.1 Flash (1017), Claude Opus 5.5 and Gemini 4 Argon form the Pareto frontier: DeepSeek reaches 57.0% pass@1 at $0.04 per rollout, Opus adds ten points at $1.83, and Gemini edges ahead at $3.92.
Run it from the Hub Every task is a self-contained Harbor task (a Dockerized environment, an instruction, and a deterministic verifier), and the dataset ships a registry.json.
Harbor can therefore run the whole benchmark straight from the Hugging Face repo, without cloning anything yourself: harbor run --repo "https://huggingface.co/datasets/collinear-ai/cwe-bench" -d cwe-bench@2.
0 -k 4 \ --agent --model --env docker \ --allow-agent-host -k 4 runs 4 attempts per task, and the reported score is the mean reward over all 400 trials.The dataset is gated: accept its access conditions on the dataset page first.
Harbor fetches the tasks with git, so also save your HF token to git's credential helper once: hf auth login --token $HF_TOKEN --add-to-git-credential The tasks are also tagged rl-environment: the same environments and verifiers can provide rewards for training defensive agents, not just for evaluating them.
Datasets mentioned in this article 1 Spaces mentioned in this article 1 Community EditPreview Upload images, audio, and videos by dragging in the text input, pasting, or clicking here.
Tap or paste here to upload images Comment · Sign up or log in to comment Upvote 1 Datasets mentioned in this article 1 Spaces mentioned in this article 1
Related
相關文章
Same Model, Different Harness: CUGA, Hermes, and Deep Agents — When to Pick CUGA?
Back to Articles Same Model, Different Harness: CUGA, Hermes, and Deep Agents — When to Pick CUGA?
AI教AI開車!百度Apollo World世界模型叩開無人駕駛產業“AGI時刻”
“世界模型,重點不是渲染的畫質是否好看,而是模擬器是否能忠實還原現實物理規律和行為的因果”。11月3日,在深圳舉行的百度AI Day·Apollo專場上,百度Apollo首次披露面向物理AI的智能體驅動全模態世界模型Apollo World,並提出世界模型“2+3”判斷標準。目前,該模型已用於蘿蔔快跑全球化測試與驗證,助力無人駕駛規模化落地。百度智能駕駛事業群組(IDG)首席架構師、IDG技術委員會主席王亮表示,世界模型不能只做“生成炫酷視頻的畫師”,更要成為驗證無人駕駛安全性的“考官”。
香港大學發佈全球首個KYA報告關注智能體信任建設,九類企業實踐獲收錄
11月3日,香港大學副校長汪揚教授與香港大學經管學院楊宏副教授代表香港大學KYA課題組,在2026年香港金融科技周 x StartmeupHK創業節發佈全球首個KYA(Know Your Agent)領域報告《KYA:智能體信用體系研究報告》。報告聚焦智能體參與真實經濟活動後的身份、授權、信用與責任問題,結合109份從業者有效問卷及包含Stripe、螞蟻數科等近十個企業案例,提出智能體成熟度模型、KYA框架和智能體發展指數,並進一步探討“智能體信任資本”的形成及其經濟價值。“沒有KYA,就沒有智能體經濟。
算力成本高昂難以承受?傳SpaceX悄悄削減Grok Bot配額,馬斯克坦言營利失衡
傳SpaceX悄悄削減Grok Bot配額,馬斯克坦言營利失衡發布於AI新閒資訊時間 :Nov 3, 2026閱讀 :1分鐘近日,據外媒報道,多名用戶在社交平臺上反映,SpaceX 在上週末悄然對旗下熱門的 Grok Bot 進行了用量配額調整,不少用戶的額度直接被縮減了一半。
Grok Bot暗暗砍額度,馬斯克承認:成本難持續
編譯 | 黃菲 編輯 | 江宇 11月3日消息,據TechCrunch報道,近日,SpaceXSI旗下AI Agent產品Grok Bot因服務成本過高,開始收緊用戶使用額度。特斯拉CEO、SpaceXSI創始人兼CEO埃隆·馬斯克(Elon Musk)11月2日在X上回應稱,Grok Bot的服務成本相對於收入而言已經高得難以持續,此前用戶反饋的額度異常消耗並非系統故障。
小米斬獲烏鎮峰會雙料大獎:小米集團獲“傑出貢獻獎”,小米具身基座模型獲“領先科技獎”
11月3日,小米方面披露,小米集團獲得2026世界互聯網大會“傑出貢獻獎”創新突破類獎項,該獎項旨在表彰全球互聯網相關領域作出傑出貢獻的個人和企業。同時,小米機器人業務“面向規模化落地的通用機器人操作基座模型關鍵技術”獲大會“領先科技獎”,該獎項旨在獎勵全球年度最具領先性的互聯網科技成果。峰會期間,小米還對外披露了機器人業務在工業製造和家庭場景的兩項最新落地進展。