Capture the Flags: Family-Based Evaluation of Agentic LLMs via Semantics-Preserving Transformations
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
Agentic large language models (LLMs) are increasingly evaluated on cybersecurity tasks using capture-the-flag (CTF) benchmarks, yet existing pointwise benchmarks offer limited insight into agent robustness and generalisation across alternative versions of the source code. We introduce CTF challenge families, whereby a single CTF is used to generate a family of semantically-equivalent challenges via semantics-preserving program transformations, enabling controlled evaluation of robustness while keeping the underlying exploit strategy fixed. We present Evolve-CTF, a tool that generates CTF families from Python challenges using a range of transformations. Using Evolve-CTF to derive families from Cybench and Intercode challenges, we evaluate 13 agentic LLM configurations with tool access. We find that models are remarkably robust to renaming and code insertion, but that composed transformations and deeper obfuscation degrade performance by requiring more sophisticated tool use. Enabling explicit reasoning has little effect on success rates. Our work contributes a technique and tool for future LLM evaluations, and a large dataset characterising the capabilities of current state-of-the-art models in this domain.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 24 of its 49 references that are in the map. First posted on arXiv 5 Feb 2026.
Builds on
24 of 49 references.
Closest ancestors · 2
Same direction, newest first
- 2025Improving LLM Agents with Reinforcement Learning on Cryptographic CTF Challenges1 Jun
- 2024Hacking CTFs with Plain Agents3 Dec
Other references · 22
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2024GSM-Symbolic: Understanding the Limitations of Mathematical Reasoning in Large Language Modelscited by 533
- 2023InterCode: Standardizing and Benchmarking Interactive Coding with Execution Feedbackcited by 229
- 2024A Careful Examination of Large Language Model Performance on Grade School Arithmeticcited by 188
- 2024Cybench: A Framework for Evaluating Cybersecurity Capabilities and Risks of Language Modelscited by 156
- 2024NYU CTF Bench: A Scalable Open-Source Benchmark Dataset for Evaluating LLMs in Offensive Securitycited by 90
- 2020Metamorphic Testing: A New Approach for Generating Next Test Casescited by 71
- 2024CyberMetric: A Benchmark Dataset based on Retrieval-Augmented Generation for Evaluating LLMs in Cybersecurity Knowledgecited by 55
- 2025Inverse Scaling in Test-Time Computecited by 49
- 2023SecQA: A Concise Question-Answering Dataset for Evaluating Large Language Models in Computer Securitycited by 37
- 2019Misleading Authorship Attribution of Source Code using Adversarial Learningcited by 33
- 2025Hallucination Detection in Large Language Models with Metamorphic Relationscited by 24
10 more
- 2024SEvenLLM: Benchmarking, Eliciting, and Enhancing Abilities of Large Language Models in Cyber Threat Intelligencecited by 20
- 2024Generative AI in Cybersecurity: A Comprehensive Review of LLM Applications and Vulnerabilitiescited by 20
- 2024Dataset and Lessons Learned from the 2024 SaTML LLM Capture-the-Flag Competitioncited by 20
- 2025Measuring and Augmenting Large Language Models for Solving Capture-the-Flag Challengescited by 14
- 2023Turbulence: Systematically and Automatically Testing Instruction-Tuned Large Language Models for Codecited by 9
- 2024An Empirical Study on Capability of Large Language Models in Understanding Code Semanticscited by 7
- 2021Cybersecurity Knowledge and Skills Taught in Capture the Flag Challengescited by 6
- 2025CyberLLMInstruct: A Pseudo-malicious Dataset Revealing Safety-performance Trade-offs in Cyber Security LLM Fine-tuningcited by 3
- 2025Metamorphic Testing of Deep Code Models: A Systematic Literature Reviewcited by 3
- 2025Autonomous Penetration Testing: Solving Capture-the-Flag Challenges with LLMscited by 2
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026Autonomous LLM Agents & CTFs: A Second Look
- 2026CTFusion: A CTF-based Benchmark for LLM Agent Evaluation
- 2024EnIGMA: Interactive Tools Substantially Assist LM Agents in Finding Security Vulnerabilities
- 2026Do Agents Dream of Root Shells? Partial-Credit Evaluation of LLM Agents in Capture the Flag Challenges
- 2025DefenderBench: A Toolkit for Evaluating Language Agents in Cybersecurity Environments
- 2025Towards Effective Offensive Security LLM Agents: Hyperparameter Tuning, LLM as a Judge, and a Lightweight CTF Benchmark
- 2025SEC-bench: Automated Benchmarking of LLM Agents on Real-World Software Security Tasks
- 2026ZeroDayBench: Evaluating LLM Agents on Unseen Zero-Day Vulnerabilities for Cyberdefense