2026-11-26 15:48 UTC

Endor Labs leaderboard: top coding-agent setup passes 37.4% of security tests

state: seedheat: mediumuncertainty: mediumrelevance: highcoding-agent-security security-benchmark secure-code-generationEndor Labs

What is this?

Endor Labs’ Agent Security League is a public benchmark comparing coding-agent/model combinations on functional and security tests. Its supplied leaderboard reports 33 combinations evaluated on 200 tasks from 108 open-source Python projects across 77 vulnerability classes; the top listed configuration, Claude Code with Claude Fable 5.1, scores 87.2% on functional tests and 37.4% on security tests. Endor Labs says the benchmark extends CMU’s SusVibes and uses anti-cheating safeguards. Results are from Endor Labs, and its leaderboard is updated over time. A linked research-page search result describes an earlier, smaller evaluation with different top scores, so figures should be tied to the specific leaderboard snapshot rather than treated as a fixed benchmark result.

Why it matters

This is a useful warning for anyone choosing or deploying coding agents: passing functional tests is not the same as producing secure code. In Endor Labs’ current leaderboard, the highest-scoring configuration passes security tests on 37.4% of tasks, versus 87.2% on functional tests. The benchmark offers a concrete way to compare that gap, but its results are from Endor Labs and should not be treated as a direct measure of production vulnerability rates.

Current assessment

Endor Labs’ Agent Security League reports 33 coding-agent/model combinations tested on 200 tasks from 108 open-source Python projects across 77 CWE vulnerability classes. The leaderboard defines functional passing as passing the task’s functional test suite and secure passing as also passing security tests. Its top listed configuration, Claude Code with Claude Fable 5.1, scores 87.2% functional and 37.4% secure; Codex with GPT-6 Astra is next on security at 34.6%. This is a newer leaderboard snapshot than the linked research-page search result, which describes an earlier evaluation of 13 combinations and reports a 17.3% top security score and 33.0% securely solved tasks when pooling approaches. Preserve the distinction: the leaderboard says it updates as models and agents ship, so these figures are snapshot-specific, not necessarily contradictory. Endor Labs says the benchmark extends CMU’s SusVibes and uses prompt hardening, workspace sanitization, and automated cheating detection; the supplied evidence does not independently validate the methodology or establish how well benchmark results predict real-world incident rates. Practical implication: compare security outcomes separately from functional performance, and retain code review and security testing rather than relying on a coding agent’s ability to make code work.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady1 platformsage 811h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

10-23 20:08⭐ origin directly observedAI Coding Agent Security Benchmark
espeed on hacker news
—
10-23 20:08amplified on hacker news 👑hn.story.50214606
espeed
peak 1 · 1 comments · 103% of case engagement
10-23 20:25our radar first saw it · +0.3hdiscovery anchor: hn.story.50214606—
pace: p23 vs 879 stories at the 720h mark (now 811h old) — ahead of adap-delegated-authority-protocol-draft (2.0x), behind agentprobe-failure-injection-agent-testing (0.7x)

Evidence (1) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hn ⭐AI Coding Agent Security Benchmark
Retrieved article excerpt

Open article · Retrieved 2026-10-23T20:27:56.868124+00:00

By clicking “Accept”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. View our Privacy Policy for more information.

[Deny](https://www.endorlabs.com/research/ai-code-security-benchmark)[Accept](https://www.endorlabs.com/research/ai-code-security-benchmark)

18px\_cookie

e-remove

[Malware Protection From the Registry to the Developer Workstation

Learn More](https://www.endorlabs.com/learn/introducing-threat-center-and-package-firewall-for-vs-code-extensions-malware-protection-from-the-registry-to-the-developer-workstation)

# AI Coding Agent Security Benchmark

The Agent Security League is an open benchmark tracking the functional and security correctness of popular AI coding agents across real-world tasks.

[Download paper](https://www.endorlabs.com/learn/agent-security-league-evaluating-the-security-of-ai-coded-software)

87.2%

highest functional correctness score (Claude Code with Claude Fable 5.1)

33

agent + model combos independently benchmarked

37.4%

highest security correctness score (Claude Code with Claude Fable 5.1)

## Agent Security League

Updated as new commercial agents and models ship. Sorted by security correctness.

HARNESS:

AllClaude CodeCodexCursorSWE-Agent

MODEL:

All ModelsClaude Fable 5.1GPT-6 AstraGPT-6.1 SolClaude Opus 5.5Claude Opus 5Gemini 4 ArgonClaude Fable 5GPT-6 SolGPT-5.5GPT 5.6 SolGPT-5.4Claude Opus 4.8Claude Sonnet 5Claude Opus 4.7Gemini 3.5 FlashGemini 3.1 ProGPT-5.3Composer 2.5Claude Sonnet 4.6GLM 5.2Claude Opus 4.6Gemini 3 ProClaude Opus 4.5Claude Sonnet 4Gemini 2.5 Pro

#

HARNESS

MODEL

FUNCTIONAL (%)\*

SECURE (%)†

DATE

01

Claude Code

Claude Fable 5.1

87.2

37.4

2026-09-04

02

Codex

GPT-6 Astra

82.1

34.6

2026-09-09

03

Codex

GPT-6.1 Sol

77.7

34.1

2026-10-01

04

Claude Code

Claude Opus 5.5

68.7

33.5

2026-09-24

05

Claude Code

Claude Opus 5

73.7

32.4

2026-07-31

06

Cursor

Gemini 4 Argon

78.8

29.0

2026-10-16

07

Cursor

Claude Fable 5

72.6

29.0

2026-06-12

08

Codex

GPT-6 Sol

72.1

25.1

2026-09-29

09

Cursor

GPT-5.5

84.9

24.0

2026-04-25

10

Codex

GPT 5.6 Sol

70.9

23.5

2026-07-17

11

Codex

GPT-5.5

62.6

22.4

2026-04-25

12

Codex

GPT-5.4

63.1

21.8

2026-03-18

13

Cursor

Claude Opus 4.8

75.4

20.7

2026-05-30

14

Claude Code

Claude Sonnet 5

83.2

19.6

2026-07-02

15

Claude Code

Claude Fable 5

59.8

19.0

2026-06-10

16

Cursor

Claude Opus 4.7

79.9

18.4

2026-04-17

17

Cursor

Gemini 3.5 Flash

79.3

17.9

2026-05-20

18

Claude Code

Claude Opus 4.7

76.5

16.8

2026-04-16

19

Cursor

Gemini 3.1 Pro

73.2

15.1

2026-03-24

20

Claude Code

Claude Opus 4.8

73.7

14.5

2026-05-29

21

Cursor

GPT-5.3

48.0

14.5

2026-02-27

22

Cursor

Composer 2.5

75.4

14.0

2026-05-19

23

Claude Code

Claude Sonnet 4.6

69.8

12.3

2026-02-20

24

Cursor

GLM 5.2

82.5

12.0

2026-07-09

25

Cursor

Claude Opus 4.6

84.9

11.2

2026-03-19

26

Claude Code

Claude Opus 4.6

78.2

10.6

2026-03-16

27

Claude Code

Gemini 3 Pro

44.1

9.5

2026-02-23

28

Claude Code

Claude Opus 4.5

68.7

8.4

2026-02-25

29

Cursor

Gemini 3 Pro

27.9

5.6

2026-02-24

30

Claude Code

Claude Sonnet 4

45.3

6.1

2026-02-11

31

Claude Code

Gemini 2.5 Pro

19.6

5.0

2026-02-11

32

SWE-Agent

Claude Sonnet 4

55.3

7.8

2026-02-19

33

SWE-Agent

Gemini 2.5 Pro

20.7

4.5

2026-02-19

\*Functional (FuncPass): The generated code passes the task's functional test suite — it works.

†Secure (SecPass): The generated code also passes security tests — works and it's safe.

## Methodology

### Peer-reviewed research

The Agent Security League extends [SusVibes](https://arxiv.org/pdf/2512.03262), a foundational benchmark developed at Carnegie Mellon University.

### Real-world tasks

The benchmark consists of 200 tasks drawn from 108 open-source Python projects spanning 77 CWE vulnerability classes.

### Anti-cheating safeguards

Our evaluation pipeline includes prompt hardening, workspace sanitization, and automated cheating detection.

## Resources

[Research

How AI coding agents cheat benchmarks

Read More](https://www.endorlabs.com/learn/recall-not-reasoning-how-ai-coding-agents-cheat-security-benchmarks)

[Whitepaper

Evaluating the Security of AI Coding Agents

Read More](https://www.endorlabs.com/learn/agent-security-league-evaluating-the-security-of-ai-coded-software)

[Blog Post

Introducing the Agent Code Security Leaderboard

Read More](https://www.endorlabs.com/learn/is-ai-coding-safe-introducing-the-agent-security-league)

## Security in every line, so you can code without compromise.

AI coding agents can write code, but they lack security context. AURI is the security harness your coding agent is missing.   
Always free for developers.

[Start Now](https://www.endorlabs.com/platform/developer)[Book a Demo](https://www.endorlabs.com/demo-request)
espeed11

Interpretation history

Decision trace