Towards Effective Offensive Security LLM Agents: Hyperparameter Tuning, LLM as a Judge, and a Lightweight CTF Benchmark
Open accessThe DOI matches its Crossref record; 8 of the 8 references it cites were found in a registry or an index.
Abstract
Recent advances in LLM agentic systems have improved the automation of offensive security tasks, particularly for Capture the Flag (CTF) challenges. We systematically investigate the key factors that drive agent success and provide a detailed recipe for building effective LLM-based offensive security agents. First, we present CTFJudge, a framework leveraging LLM as a judge to analyze agent trajectories and provide granular evaluation across CTF solving steps. Second, we propose a novel metric, CTF Competency Index (CCI) for partial correctness, revealing how closely agent solutions align with human-crafted gold standards. Third, we examine how LLM hyperparameters, namely temperature, top-p, and maximum token length, influence agent performance and automated cybersecurity task planning. For rapid evaluation, we present CTFTiny, a curated benchmark of 50 representative CTF challenges across binary exploitation, web, reverse engineering, forensics, and cryptography. Our findings identify optimal multi-agent coordination settings and lay the groundwork for future LLM agent research in cybersecurity.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Gu, J., Jiang, X., Shi, Z., Tan, H., Zhai, X., Xu, C., Li, W., Shen, Y., Ma, S., Liu, H., et al. (2024) · arXiv · doi:10.48550/arxiv.2411.15594 · Cited by 1,781
Large Language Model based Multi-Agents: A Survey of Progress and Challenges
Guo, T., Chen, X., Wang, Y., Chang, R., Pei, S., Chawla, N. V., Wiest, O., & Zhang, X. (2024) · arXiv · doi:10.48550/arxiv.2402.01680 · Cited by 1,713
Dorri, A., Kanhere, S. S., & Jurdak, R. (2018) · IEEE Access · doi:10.1109/access.2018.2831228 · Cited by 1,043
Large Language Models in Cybersecurity: State-of-the-Art
Motlagh, F., Hajizadeh, M., Majd, M., Najafi, P., Cheng, F., & Meinel, C. (2025) · Proceedings of the 11th International Conference on Information Systems Security and Privacy · doi:10.5220/0013377600003899 · Cited by 92
NYU CTF Bench: A Scalable Open-Source Benchmark Dataset for Evaluating LLMs in Offensive Security
Shao, M., Jancheska, S., Udeshi, M., Dolan-Gavitt, B., Xi, H., Milner, K., Chen, B., Yin, M., Garg, S., Krishnamurthy, P., et al. (2024) · arXiv · doi:10.48550/arxiv.2406.05590 · Cited by 18
Self-citationTann, W., Liu, Y., Sim, J. H., Seah, C. M., & Chang, E.-C. (2023) · arXiv · doi:10.48550/arxiv.2308.10443 · Cited by 14
CyberSecEval 2: A Wide-Ranging Cybersecurity Evaluation Suite for Large Language Models
Bhatt, M., Chennabasappa, S., Li, Y., Nikolaidis, C., Song, D., Wan, S., Ahmad, F., Aschermann, C., Chen, Y., Kapil, D., et al. (2024) · arXiv · doi:10.48550/arxiv.2404.13161 · Cited by 12
Audit-LLM: Multi-Agent Collaboration for Log-based Insider Threat Detection
Song, C., Ma, L., Zheng, J., Liao, J., Kuang, H., & Yang, L. (2024) · arXiv · doi:10.48550/arxiv.2408.08902 · Cited by 2
Metadata
- Authors
- Shao, M., Rani, N., Milner, K., Xi, H., Udeshi, M., Aggarwal, S., Putrevu, V. S. C., Shukla, S. K., Krishnamurthy, P., Khorrami, F., Karri, R., & Shafique, M.
- Affiliations
- New York University Abu Dhabi (AE)
- Indian Institute of Technology Kanpur (IN)
- New York University (US)
- International Institute of Information Technology, Hyderabad (IN)
- ORCID
- Venue
- Proceedings of the AAAI Conference on Artificial Intelligence
- Published
- 2026-03-14
- Volume
- 40
- Issue
- 35
- Pages
- 29660-29668
- ISSN
- 2159-5399 (ISSN-L)
- 2374-3468
- OpenAlex
- W7138370235
- Cited by
- 2
- References
- 8
- Citations by year
- 2026: 2
- FWCI
- 18.49
- Type
- conference paper
- Open access
- diamond
- doi.org
- Locations
- Proceedings of the AAAI Conference on Artificial Intelligence (publishedVersion)
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Adversarial Robustness in Machine Learning
- Physical Sciences › Computer Science › Information Systems › Information and Cyber Security
- Physical Sciences › Computer Science › Hardware and Architecture › Security and Verification in Computing
- Keywords
- LLM agents, offensive security, Capture the Flag, LLM-as-a-judge, hyperparameter optimization, multi-agent coordination
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.