Capture the Flags: Family-Based Evaluation of Agentic LLMs via Semantics-Preserving Transformations
Shahin HonarvarAmber GorzynskiJames Lee-JonesHCHarry Coppock
Marek ReiJoseph Ryan
Alastair F. Donaldson Shahin Honarvar
Amber Gorzynski
James Lee-Jones
HCHarry Coppock

Marek Rei
Joseph Ryan

Alastair F. Donaldson
+7
Evolve-CTF generates families of semantically equivalent capture-the-flag challenges from a single Python challenge using semantics-preserving program transformations. Evaluating 13 agentic LLM configurations on such families reveals that models are robust to renaming and code insertion but degrade under composed transformations and deeper obfuscation, while explicit reasoning barely affects success rates. This provides a controlled technique for assessing agent robustness when the exploit strategy is fixed.

arXiv ·
· February 5, 2026