Software Engineering · arXiv:2508.18370 v3 · submitted 25 Aug 2025
Training Language Model Agents to Find Vulnerabilities with CTF-Dojo
The paper says
“By framing CTF-style tasks as a benchmark for executable-agent learning, CTF-Dojo demonstrates that execution-grounded training signals are not only effective but pivotal in advancing high-performance ML agents without dependence on costly proprietary systems.”
from the abstract · picked out as the main claim by a classifier
Reviews
Reviews by people
No person has reviewed this paper on Pith yet. A scientist listed on Pith can review it for a fee, and their review is published here whatever it concludes.
The paper
Abstract
Large language models (LLMs) have demonstrated exceptional capabilities when trained within executable runtime environments, notably excelling at software engineering tasks through verified feedback loops. Yet, scalable and generalizable execution-grounded environments remain scarce, limiting progress in training more capable ML agents. We introduce CTF-Dojo, the first large-scale executable runtime tailored for training LLMs with verifiable feedback, featuring 658 fully functional Capture-The-Flag (CTF)-style challenges containerized in Docker with guaranteed reproducibility. To enable rapid scaling without manual intervention, we develop CTF-Forge, an automated pipeline that transforms publicly available artifacts into ready-to-use execution environments in minutes, eliminating weeks of expert configuration traditionally required. We trained LLM-based agents on just 486 high-quality, execution-verified trajectories from CTF-Dojo, achieving up to 9.9% absolute gains over strong baselines across three competitive benchmarks: InterCode-CTF, NYU CTF Bench, and Cybench. Our best-performing 32B model reaches 31.9% Pass@1, establishing a new open-weight state-of-the-art that rivals frontier models like DeepSeek-V3-0324 and Gemini-2.5-Flash. By framing CTF-style tasks as a benchmark for executable-agent learning, CTF-Dojo demonstrates that execution-grounded training signals are not only effective but pivotal in advancing high-performance ML agents without dependence on costly proprietary systems.
The paper's own sentences, arranged. Each label is drawn from a closed vocabulary; the number beside it is the probability the classifier gave that label. No sentence in this record was written by a model.
abstract compiled · 2026-11-16 · no language-model review
How the main claim is stated: asserted 1.00
What the abstract itself states, as probabilities: claims first 0.93 · states limitation 0.19 · human participants 0.05 · controlled comparison 0.88 · randomized assignment 0.02 · states quantitative result 0.99 · compares with prior results 0.98 · mentions code or data availability 0.18
The abstract, sentence by sentence
This table labels the abstract only (arXiv listing abstract v3). The number is the probability the classifier gave the label.
| Sentence | Role | The authors' own work | States the main conclusion | Strength |
|---|---|---|---|---|
| Large language models (LLMs) have demonstrated exceptional capabilities when trained within executable runtime environments, notably excelling at software engineering tasks through verified feedback loops. | background 1.00 | 0.08 | 0.04 | asserted 1.00 |
| Yet, scalable and generalizable execution-grounded environments remain scarce, limiting progress in training more capable ML agents. | gap 0.98 | 0.08 | 0.03 | asserted 1.00 |
| We introduce CTF-Dojo, the first large-scale executable runtime tailored for training LLMs with verifiable feedback, featuring 658 fully functional Capture-The-Flag (CTF)-style challenges containerized in Docker with guaranteed reproducibility. | contribution 0.97 | 0.96 | 0.11 | asserted 1.00 |
| To enable rapid scaling without manual intervention, we develop CTF-Forge, an automated pipeline that transforms publicly available artifacts into ready-to-use execution environments in minutes, eliminating weeks of expert configuration traditionally required. | method 0.64 | 0.96 | 0.06 | asserted 1.00 |
| We trained LLM-based agents on just 486 high-quality, execution-verified trajectories from CTF-Dojo, achieving up to 9.9% absolute gains over strong baselines across three competitive benchmarks: InterCode-CTF, NYU CTF Bench, and Cybench. | result 0.99 | 0.98 | 0.16 | asserted 1.00 |
| Our best-performing 32B model reaches 31.9% Pass@1, establishing a new open-weight state-of-the-art that rivals frontier models like DeepSeek-V3-0324 and Gemini-2.5-Flash. | result 1.00 | 0.96 | 0.14 | asserted 1.00 |
| By framing CTF-style tasks as a benchmark for executable-agent learning, CTF-Dojo demonstrates that execution-grounded training signals are not only effective but pivotal in advancing high-performance ML agents without dependence on costly proprietary systems. | interpretation 1.00 | 0.80 | 0.87 | asserted 1.00 |
What kind of paper the classifier reports this is: method or tool 0.60 · evidence from observation or experiment 0.98
What was examined, and what was not
Sources read
- arXiv listing abstract v3
Not examined
- full text
- figures and tables
- references and citing sentences
- relations to other papers
Levels run
- P abstract
Not run
- S sections
- T body sentences
- C citations
- R cross-paper relations
How the labels were made
Compiled by classifier-1.13.0 via TypeSafe API, question bank abstract-p1-20260923, 2026-11-16: 1 request, 5,905 input tokens.
Every quoted sentence on this record is the authors'. Every label is from Pith's closed vocabulary, with the probability shown beside it. This record as JSON
How the literature uses it
12 arXiv papers cite this in 16 sentences
Papers citing it · 11 sentences without a confident label
Uses its data or values 1 paper
-
CTF-Dojo packages 658 containerized challenges generated automatically from public artifacts, then trains agents on 486 execution-verified trajectories for gains of up to 11.6% absolute [ref] .
How Do LLM Agents Actually Get the Flag? Trace-Level Provenance for Agentic Offensive Security Evaluation · CTFs as the Unit of Evaluation · 0.84
Cites it as background 4 papers
-
CyberSecEval [ref] , CyBench [ref] , the NYU CTF benchmark [ref] , and related CTF suites [ref] measure related capabilities in different settings (Table [ref]).
Cyber-Capable AI Agents: Vulnerabilities, Evaluation Containment, and Defensive Response · Background and methodology · 0.93
-
CTF benchmarks have consequently become a central testbed for comparing cyber agents, evaluating planning architectures, and reasoning about their security implications [ref] .
How Do LLM Agents Actually Get the Flag? Trace-Level Provenance for Agentic Offensive Security Evaluation · Introduction · 0.82
-
Complementary to inference-time augmentation, CTF-Dojo provides an execution-grounded training environment for CTF agents and studies the impact of training with verifiable feedback [ref] .
KryptoPilot: An Open-World Knowledge-Augmented LLM Agent for Automated Cryptographic Exploitation · Related Work · 0.80
Challenges and discussion
Know something about this paper? Leave a comment.
Come back by email
A short list of the week's newly reviewed papers. Nothing is sent until you confirm from your inbox, and every email has a link that stops it. No account.
No comments yet.
Sign in to comment