Benchmark Almanac

SecCodeBench

Qwen3.7-Max 71.1% leads since May 2026
Qwen3.7-Max 71.1% leads since May 2026
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.

Released
July 2025
Kind
Secure code and review
Level
University
Scored
Checked automatically
Answers
Code
Tasks
All public
Strongest model tested
Qwen3.7-Max #49 on the capability index
Last in a launch post
February 2026, dropped before it saturated
Last model added
June 2026
Scores refreshed
November 12th, 2026

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)
6
Models scored on its own leaderboard
1
Launch post lists it, from 1 lab
1
System card reports it, from 1 lab

Qwen3.7-Max leads with 71.1% among models released by June 2026

Best score per model from the benchmark's own leaderboard, read on November 12th, 2026. Where a model ran with several settings or harnesses, we keep its best.

Qwen3.7-Max leads with 71.1%, claims included

Best score per model from every source, including labs’ own numbers and claims Epoch AI collected from reports and papers. Labs pick their own settings, so a claim can beat an independent run of the same model.

The newest model with a score here came out in June 2026, and nobody has tested a newer one. Among the 20 highest-ranked models on the capability index, these have no score yet:

  1. 1 Qwen3.7-Max 71.1%
  2. 2 Qwen3.7-Plus 70.1%
  3. 3 Kimi K2.6 61.1%
  4. 4 DeepSeek-V4-Pro 58.3%
  5. 5 DeepSeek-V4-Flash 54.7%
  6. 6 GLM-5.1 49%

Source: Official SecCodeBench leaderboard

#ModelScoreSettingDateSource
1 Qwen3.7-Max 71.1% Claude Code May 2026 Official leaderboard
2 Qwen3.7-Plus 70.1% Claude Code Jun 2026 Official leaderboard
3 Kimi K2.6 61.1% Claude Code Apr 2026 Official leaderboard
4 DeepSeek-V4-Pro 58.3% Claude Code Apr 2026 Official leaderboard
5 DeepSeek-V4-Flash 54.7% Claude Code Apr 2026 Official leaderboard
6 GLM-5.1 49% Claude Code Apr 2026 Official leaderboard
#ModelScoreSettingDateSource
1 Qwen3.7-Max 71.1% Claude Code May 2026 Official leaderboard
2 Qwen3.7-Plus 70.1% Claude Code Jun 2026 Official leaderboard
3 Qwen3.5 397B-A17B 68.3% Feb 2026 Lab model card
4 Kimi K2.6 61.1% Claude Code Apr 2026 Official leaderboard
5 DeepSeek-V4-Pro 58.3% Claude Code Apr 2026 Official leaderboard
6 DeepSeek-V4-Flash 54.7% Claude Code Apr 2026 Official leaderboard
7 GLM-5.1 49% Claude Code Apr 2026 Official leaderboard

Labs report scores for 1 model in their cards. Switch the scores above to rank them together.

3 models have held number one on the official leaderboard since its release in July 2025 2 models have held number one with claims included since its release in July 2025

Lab claims count from the day the card came out, independent runs from the model’s release.

Z.ai Moonshot AI Qwen
Own leaderboard Not tested since Jun 2026
Qwen3.7-Max 71.1%

Source: Official SecCodeBench leaderboard

Scores over time

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

On the benchmark’s own leaderboard Reported by the lab in its model card Best so far
0% 20% 40% 60% 80% 100% 2026 Near the ceiling (85%) Qwen3.7-Max Qwen3.5 397B-A17B 0% 20% 40% 60% 80% 100% 2026 Near the ceiling (85%) Qwen3.7-Max

Sources: Official SecCodeBench leaderboard and labs’ model cards

Labs headline it less often now, last in February 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
Feb 16, 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
Feb 28, 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 115 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%
  • CyberBench v1.1 (Vals) In use Agents work on OSS-Fuzz memory-safety bugs from ARVO images in two tracks. They write a proof-of-concept input that crashes the target, or patch the source so the crash stops and tests still pass. Muse Wonder 80.4%
  • SRE-Bench In use Software reverse engineering without source: 262 binary instances from 19 private programs, each with six graded objectives. GPT-6 Astra 56.9%
  • CyScenarioBench In use Scenario-based long-horizon security challenges in sandboxes, organized in task, scenario and campaign tiers. Evaluation set kept private. Gemini 4 Argon 100%
  • ExploitBench - Internal Port In use Agents develop working exploits for recently disclosed vulnerabilities to limit contamination. Scored as arbitrary code execution success rate. GPT-6 Cyber 42%