Benchmark Almanac

SecCodeBench

Qwen3.5 397B-A17B 68.3% Fading

Models write or patch functions in project scaffolds drawn from real Alibaba vulnerabilities. Code must pass functional tests, then proof-of-concept security tests.

98 test cases over 22 CWE types in five languages: Java 53, C and C++ 15, Python 13, Go 13 and Node.js 4. Each case runs in four modes, code generation and code fix, each native and security aware. Apache 2.0. The repo states it is no longer actively maintained and development continues as the Last Secure Code Benchmark.

In the authors’ words

We introduce SecCodeBench-V2, a publicly released benchmark for evaluating Large Language Model (LLM) copilots' capabilities of generating secure code. SecCodeBench-V2 comprises 98 generation and fix scenarios derived from Alibaba Group's industrial productions, where the underlying security issues span 22 common CWE (Common Weakness Enumeration) categories across five programming languages: Java, C, Python, Go, and JavaScript. SecCodeBench-V2 adopts a function-level task formulation: each scenario provides a complete project scaffold and requires the model to implement or patch a designated target function under fixed interfaces and dependencies. For each scenario, SecCodeBench-V2 provides executable proof-of-concept (PoC) test cases for both functional validation and security verification. All test cases are authored and double-reviewed by security experts, ensuring high fidelity, broad coverage, and reliable ground truth. Beyond the benchmark itself, we build a unified evaluation pipeline that assesses models primarily via dynamic execution. For most scenarios, we compile and run model-generated artifacts in isolated environments and execute PoC test cases to validate both functional correctness and security properties. For scenarios where security issues cannot be adjudicated with deterministic test cases, we additionally employ an LLM-as-a-judge oracle. To summarize performance across heterogeneous scenarios and difficulty levels, we design a Pass@K-based scoring protocol with principled aggregation over scenarios and severity, enabling holistic and comparable evaluation across models. Overall, SecCodeBench-V2 provides a rigorous and reproducible foundation for assessing the security posture of AI coding assistants, with results and artifacts released at https://alibaba.github.io/sec-code-bench. The benchmark is publicly available at https://github.com/alibaba/sec-code-bench.

Abstract of SecCodeBench-V2 Technical Report (arXiv:2602.15485, CC0)
Made by Alibaba Group (with Tsinghua, Zhejiang, Fudan, and Peking universities) Released Jul 2025 Secure code and review All tasks public Last in a launch post Feb 2026 , dropped before it saturated Last model added Feb 2026
Level
University Undergraduates and entry-level professionals
Scored
Checked automatically A program checks the result against an answer key, unit tests or the expected final state.
Answers
Code A program or patch run against tests.
1
Model scored in lab cards
1
Launch post lists it, from 1 lab
1
System card reports it, from 1 lab

Qwen3.5 397B-A17B leads with 68.3%

Best score per model as labs report them in their own cards. Labs pick their own settings, so these compare less cleanly than independent runs.

  1. 1 Qwen3.5 397B-A17B 68.3%
#ModelScoreSettingDateSource
1 Qwen3.5 397B-A17B 68.3% Feb 2026 Model card

Scores over time

All the scores we have, one dot each, so a model tested at several settings appears more than once.

Reported by the lab in its model card
0% 20% 40% 60% 80% 100% 2026 Near the ceiling (85%) Qwen3.5 397B-A17B 0% 20% 40% 60% 80% 100% 2026 Near the ceiling (85%) Qwen3.5 397B-A17B

Labs headline it less often now, last in Feb 2026

Launch posts from every lab that has listed it, one tick per post. Tall colored ticks include it, and short gray ones leave it out.

Qwen
DateLaunch postScoreAs the post writes it
16 Feb 2026 Qwen3.5 397B-A17B 68.3 SecCodeBench

One system card reports it

Besides launch posts, we read the system cards, model cards and technical reports labs publish with a release. They report far more, including safety and frontier-risk tests.

DateDocumentScoreAs the document writes itSection
28 Feb 2026 qwen3-coder-next technical report SecCodeBench, four settings with no overall: Gen w/o Hint 61.2, Gen w/ Hint 69.5, Fix w/o Hint 76.4, Fix w/ Hint 83.7 (Table 16) Cyber risk

Versions

More in Cybersecurity

All 111 in Cybersecurity
  • ExploitGym In use 869 real-vulnerability exploit-development tasks (userspace, V8, Linux kernel). Success means capturing a flag through the intended vulnerability. GPT-6 Astra 42.4%
  • ExploitBench In use 41 recent V8 JavaScript-engine N-day vulnerabilities. Progress measured by 16 grader-verified capability flags across five tiers. GPT-6 Astra 100%
  • CWE-bench In use Agents audit a repository and write a patch for a security flaw, without being told where the bug is. Covers six programming languages. Gemini 4 Carbon 71%
  • Real-world vulnerability discovery In use Agents search popular open-source codebases to rediscover about 1,200 recent confirmed vulnerabilities across many languages. Reports share discovered. Gemini 4 Argon 86%
  • Artificial Analysis Cyber Index In use Agents do enterprise cyber defense tasks from three benchmarks, CWE-Bench-AA, DeepsecBench-AA and CyberGym-E2E-AA, combined into one success rate. Mistral Large 4 (Le Chonk, open weights) 51%
  • Big Sleep Evaluation (Google) In use Agents search large real codebases such as Chrome and Safari for critical, hard to find vulnerabilities. Scored by pass@1 success rate, run without safety guardrails. Gemini 3.5 Flash Cyber 72%