NYU CTF Bench
Agents solve 200 capture the flag challenges from seven years of CSAW competitions. Six categories cover crypto, forensics, pwn, reverse, web and misc. Each runs in Docker.
NeurIPS 2024 Datasets and Benchmarks track. Selected from 528 CSAW challenges over a decade. Earlier arXiv versions used the name NYU CTF Dataset. Used beside Cybench and InterCode-CTF in later work.
- Made by
- New York University (NYU Tandon)
- Released
- June 2024
- Kind
- Capture-the-flag challenges
- Level
- University
- Scored
- Checked automatically
- Answers
- Agent task
- Tasks
- All public
- Measures
- Capability
- Risk
- Cyber offence
- Language
- English
- Interaction
- Agentic
- Environment
- Terminal
- Items from
- Exams and contests
- Refresh
- One fixed set
- Run by
- Anyone
- In views
- Agents, Dangerous capabilities
- Strongest model tested
- Claude 3.7 Sonnet #120 on the capability index
- Last model added
- April 2025
- Updated automatically
- Yes, daily
- Scores refreshed
- November 24th, 2026
In the authors’ words
Large Language Models (LLMs) are being deployed across various domains today. However, their capacity to solve Capture the Flag (CTF) challenges in cybersecurity has not been thoroughly evaluated. To address this, we develop a novel method to assess LLMs in solving CTF challenges by creating a scalable, open-source benchmark database specifically designed for these applications. This database includes metadata for LLM testing and adaptive learning, compiling a diverse range of CTF challenges from popular competitions. Utilizing the advanced function calling capabilities of LLMs, we build a fully automated system with an enhanced workflow and support for external tool calls. Our benchmark dataset and automated framework allow us to evaluate the performance of five LLMs, encompassing both black-box and open-source models. This work lays the foundation for future research into improving the efficiency of LLMs in interactive cybersecurity tasks and automated task planning. By providing a specialized benchmark, our project offers an ideal platform for developing, testing, and refining LLM-based approaches to vulnerability detection and resolution. Evaluating LLMs on these challenges and comparing with human performance yields insights into their potential for AI-driven cybersecurity solutions to perform real-world threat management. We make our benchmark dataset open source to public https://github.com/NYU-LLM-CTF/NYU_CTF_Bench along with our playground automated framework https://github.com/NYU-LLM-CTF/llm_ctf_automation.
Claude 3.5 Sonnet leads with 22% among models released by April 2025 Claude 3.5 Sonnet leads with 22% among models released by April 2025
Best score per entry from the benchmark's own leaderboard, read on November 24th, 2026. Where a model ran with several settings or harnesses, we keep its best. Names in gray aren't in our model list: fine-tunes, agent systems, products and older models. They don't count toward leaders. This view shows only models we track, each at its best.
The newest model with a score here came out in April 2025, and nobody has tested a newer one. Among the 20 highest-ranked models on the capability index, these have no score yet:
- Claude Fable 5.2
- GPT-6.2 Astra
-
Gemini 4 Carbon
- GPT-6 Astra
- and 16 more
- 1 Claude 3.5 Sonnet pass@1 22%
- 2 Claude 3.7 Sonnet pass@1 18.5%
- 3 GPT-4.1 pass@1 13.5%
- 4 gpt-4o (snapshot unspecified) pass@1 11.5%
- 5 GPT-4 Turbo Nov 2023, pass@1 7.00%
- 6 GPT-4 Turbo (Jan 2024) pass@5 5.00%
- 7 GPT-3.5 Turbo Nov 2023, pass@5 4.00%
- 8 Claude 3 Haiku pass@5 4.00%
Source: Official NYU CTF Bench leaderboard
- 1 Claude 3.5 Sonnet pass@1 22%
- 2 Claude 3.7 Sonnet pass@1 18.5%
- 3 GPT-4.1 pass@1 13.5%
- 4 GPT-4 Turbo Nov 2023, pass@1 7.00%
- 5 GPT-4 Turbo (Jan 2024) pass@5 5.00%
- 6 GPT-3.5 Turbo Nov 2023, pass@5 4.00%
- 7 Claude 3 Haiku pass@5 4.00%
Source: Official NYU CTF Bench leaderboard
| # | Entry | Score | Setting | Released | Run on | Source |
|---|---|---|---|---|---|---|
| 1 | Claude 3.5 Sonnet | 22% | pass@1, CRAKEN (Self-RAG + Graph-RAG) | Jun 2024 | Aug 2025 | Official leaderboard |
| 2 | Claude 3.7 Sonnet | 18.5% | pass@1, CRAKEN (Self-RAG) | Feb 2025 | Aug 2025 | Official leaderboard |
| 3 | GPT-4.1 | 13.5% | pass@1, D-CIPHER | Apr 2025 | Aug 2025 | Official leaderboard |
| 4 | gpt-4o (snapshot unspecified) | 11.5% | pass@1, CRAKEN (Self-RAG) | Aug 2025 | Official leaderboard | |
| 5 | GPT-4 Turbo Nov 2023 | 7.00% | pass@1, EnIGMA | Nov 2023 | Oct 2024 | Official leaderboard |
| 6 | GPT-4 Turbo (Jan 2024) | 5.00% | pass@5, NYU CTF Baseline | Jan 2024 | Sep 2024 | Official leaderboard |
| 7 | GPT-3.5 Turbo Nov 2023 | 4.00% | pass@5, NYU CTF Baseline | Nov 2023 | Sep 2024 | Official leaderboard |
| 8 | Claude 3 Haiku | 4.00% | pass@5, NYU CTF Baseline | Mar 2024 | Sep 2024 | Official leaderboard |
| # | Model | Score | Setting | Released | Run on | Source |
|---|---|---|---|---|---|---|
| 1 | Claude 3.5 Sonnet | 22% | pass@1, CRAKEN (Self-RAG + Graph-RAG) | Jun 2024 | Aug 2025 | Official leaderboard |
| 2 | Claude 3.7 Sonnet | 18.5% | pass@1, CRAKEN (Self-RAG) | Feb 2025 | Aug 2025 | Official leaderboard |
| 3 | GPT-4.1 | 13.5% | pass@1, D-CIPHER | Apr 2025 | Aug 2025 | Official leaderboard |
| 4 | GPT-4 Turbo Nov 2023 | 7.00% | pass@1, EnIGMA | Nov 2023 | Oct 2024 | Official leaderboard |
| 5 | GPT-4 Turbo (Jan 2024) | 5.00% | pass@5, NYU CTF Baseline | Jan 2024 | Sep 2024 | Official leaderboard |
| 6 | GPT-3.5 Turbo Nov 2023 | 4.00% | pass@5, NYU CTF Baseline | Nov 2023 | Sep 2024 | Official leaderboard |
| 7 | Claude 3 Haiku | 4.00% | pass@5, NYU CTF Baseline | Mar 2024 | Sep 2024 | Official leaderboard |
Rankings by part
We read 6 parts from the benchmark’s own leaderboard, each ranking models on one part of the test, such as crypto, forensics and misc. Claude 3.5 Sonnet leads every one of them. Arrows show how far a model moved from its overall rank among the models we track.
crypto
7 models we track have a score here.
- 1 Claude 3.5 Sonnet 15.4%
- 2 Claude 3.7 Sonnet 13.5%
- 3 GPT-4.1 9.62%
- 4 Claude 3 Haiku ↑3 5.77%
- 5 GPT-3.5 Turbo Nov 2023 ↑1 1.92%
- 6 GPT-4 Turbo Nov 2023 ↓2 1.92%
- 7 GPT-4 Turbo (Jan 2024) ↓2 0%
forensics
7 models we track have a score here.
- 1 Claude 3.5 Sonnet 26.7%
- 2 Claude 3.7 Sonnet 20%
- 3 GPT-4.1 20%
- 4 GPT-4 Turbo Nov 2023 13.3%
- 5 GPT-4 Turbo (Jan 2024) 6.67%
- 6 GPT-3.5 Turbo Nov 2023 0%
- 7 Claude 3 Haiku 0%
misc
7 models we track have a score here.
- 1 Claude 3.5 Sonnet 29.2%
- 2 Claude 3.7 Sonnet 29.2%
- 3 GPT-4.1 20.8%
- 4 GPT-4 Turbo Nov 2023 16.7%
- 5 GPT-3.5 Turbo Nov 2023 ↑1 12.5%
- 6 Claude 3 Haiku ↑1 8.33%
- 7 GPT-4 Turbo (Jan 2024) ↓2 0%
pwn
7 models we track have a score here.
- 1 Claude 3.5 Sonnet 20.5%
- 2 Claude 3.7 Sonnet 15.4%
- 3 GPT-4.1 12.8%
- 4 GPT-4 Turbo (Jan 2024) ↑1 7.69%
- 5 GPT-4 Turbo Nov 2023 ↓1 5.13%
- 6 GPT-3.5 Turbo Nov 2023 2.56%
- 7 Claude 3 Haiku 2.56%
rev
7 models we track have a score here.
- 1 Claude 3.5 Sonnet 33.3%
- 2 Claude 3.7 Sonnet 25.5%
- 3 GPT-4.1 17.6%
- 4 GPT-4 Turbo Nov 2023 9.80%
- 5 GPT-4 Turbo (Jan 2024) 9.80%
- 6 GPT-3.5 Turbo Nov 2023 5.88%
- 7 Claude 3 Haiku 3.92%
web
7 models we track have a score here.
- 1 Claude 3.5 Sonnet 15.8%
- 2 Claude 3.7 Sonnet 10.5%
- 3 GPT-4.1 10.5%
- 4 GPT-4 Turbo (Jan 2024) ↑1 5.26%
- 5 GPT-3.5 Turbo Nov 2023 ↑1 0%
- 6 GPT-4 Turbo Nov 2023 ↓2 0%
- 7 Claude 3 Haiku 0%
Everything the board measures
The benchmark’s own leaderboard publishes 16 numbers for each entry: the headline score, 6 parts of the test and 9 other measures. Rank entries by any one, compare them all in the table, or plot any two. Each row is the entry’s best run on the headline score.
- Headline
- Headline score
- Parts
- crypto
- forensics
- misc
- pwn
- rev
- web
- Other measures
- Solved challenges
- Total challenges
- Pass@5
- Crypto challenges solved
- Forensics challenges solved
- Miscellaneous challenges solved
- Pwn challenges solved
- Reverse engineering challenges solved
- Web challenges solved
Nothing matches.
- Headline
- Headline score
- Parts
- crypto
- forensics
- misc
- pwn
- rev
- web
- Other measures
- Solved challenges
- Total challenges
- Pass@5
- Crypto challenges solved
- Forensics challenges solved
- Miscellaneous challenges solved
- Pwn challenges solved
- Reverse engineering challenges solved
- Web challenges solved
Nothing matches.
- Headline
- Headline score
- Parts
- crypto
- forensics
- misc
- pwn
- rev
- web
- Other measures
- Solved challenges
- Total challenges
- Pass@5
- Crypto challenges solved
- Forensics challenges solved
- Miscellaneous challenges solved
- Pwn challenges solved
- Reverse engineering challenges solved
- Web challenges solved
Nothing matches.
- OpenAI
- Anthropic
- not in our model list
2 models have held number one on the official leaderboard since its release in June 2024
Lab claims count from the day the card came out, independent runs from the model’s release.
Source: Official NYU CTF Bench leaderboard
Scores over time
All the scores we have, one dot each, so a model tested at several settings appears more than once.
Source: Official NYU CTF Bench leaderboard
No lab model card reports it yet
We read the headline results of 546 launch posts from 59 labs, and none of them list this benchmark.
More 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%
- 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.2 Astra 53.5%
- Atomic Challenges In use Agents solve 22 skill-level offensive security challenges in vulnerability research, network attack simulation and evasion. Scored as challenges solved. GPT-6 Astra 90.9%
- MiMo Cyber Bench In use Agents do in-house cybersecurity tasks that add to public vulnerability reproduction and exploitation benchmarks. The report gives no task count or grading details. MiMo-V2.6 Pro 81.7%
- PatchBench (OpenAI) In use Models patch security flaws. Automated tests and model-based review check that each patch fixes the flaw, keeps the intended behavior and is ready to merge. GPT-6.2 Astra 79.7%
Data audit
9 of 10 checks pass, 1 warning. Look first at the Newest score check. The newest came 19 months ago, in April 2025, for GPT-4.1. Every benchmark
Catalog record 2 pass
- Pass Task access All tasks are public.
- Pass Confidence Checked against a primary source.
Scores 1 warning 3 pass 1 note
- Pass Independent runs Scores from the official leaderboard (8 entries).
- Pass Models scored 7 models we track, plus 1 other entry on its leaderboard.
- Warning Newest score The newest came 19 months ago, in April 2025, for GPT-4.1.
- Note Frontier models None of the top 10 has a score. The strongest tested is Claude 3.7 Sonnet (#120).
- Pass Headroom The best is 22%, under 85%, so it still separates models.
Leaderboard import 3 pass
- Pass Importer We read the board on nyu-llm-ctf.github.io: 12 rows for models we track and 1 other entry at the last read.
- Pass Last read November 24th, 2026.
- Pass Read worked The last read worked.
Consistency 1 pass 2 notes
- Note Lab claims No model has both a lab number and an independent run.
- Pass Known issues No published audit found problems.
- Note Epoch AI review Epoch AI hasn’t reviewed it.