Abstract
We introduce a new benchmark for assessing AI models' capabilities and risks in automated software exploitation, focusing on their ability to detect and exploit vulnerabilities in real-world software systems. Using DARPA's AI Cyber Challenge (AIxCC) framework and the Nginx challenge project, a deliberately modified version of the widely used Nginx web server, we evaluate several leading language models, including OpenAI's o1-preview and o1-mini, Anthropic's Claude-3.5-sonnet-20241022 and Claude-3.5-sonnet-20240620, Google DeepMind's Gemini-1.5-pro, and OpenAI's earlier GPT-4o model. Our findings reveal that these models vary significantly in their success rates and efficiency, with o1-preview achieving the highest success rate of 64.71 percent and o1-mini and Claude-3.5-sonnet-20241022 providing cost-effective but less successful alternatives. This benchmark establishes a foundation for systematically evaluating the AI cyber risk posed by automated exploitation tools.
Introduction
As Large Language Models (LLMs) advance in coding proficiency, they increasingly present a "dual-use" challenge. While these models are invaluable for identifying and patching software bugs, they can also be leveraged to automate the discovery and exploitation of security vulnerabilities. Current evaluations often suffer from data contamination—using older vulnerabilities likely present in training sets—or focus on simplistic tasks that do not capture the multi-step reasoning required for real-world cyberattacks.
To address this, we introduce HonestCyberEval, a benchmark utilizing recently released, synthetic vulnerabilities in a "zero-shot" environment. By testing models on the Nginx AIxCC challenge project, we provide a realistic assessment of current AI capabilities in automated exploitation.
Methodology: The Reflexion Loop
Our evaluation employs a reflexion loop methodology, allowing models to iteratively refine their attempts based on execution feedback. This process moves beyond single-shot prompting to simulate a more realistic problem-solving workflow.
The process consists of four stages:
- Initial Attempt: The model receives a test harness, vulnerable source code, and a specific "sanitizer" (e.g., AddressSanitizer) to trigger.
- Execution: The generated input is run against the target code.
- Reflection: If the attempt fails, the error output is returned to the model, which "reflects" on the failure to adjust its strategy.
- Persistence: Models are allowed up to 15 attempts across 3 epochs.
Dataset: The Nginx AIxCC Challenge
The benchmark is built on the Nginx AIxCC challenge project, originally created for the DARPA AI Cyber Challenge. This dataset includes 14 distinct Challenge Project Vulnerabilities (CPVs), such as heap buffer overflows, use-after-free errors, and double-free vulnerabilities.
Because this version of Nginx was released in late 2024/early 2025, it serves as a "clean" testbed, minimizing the risk of data contamination and ensuring that model performance reflects genuine reasoning rather than memorization.
Results and Key Insights
Our evaluation of state-of-the-art models reveals a significant performance gap between "reasoning" models and standard LLMs.
The Dominance of Reasoning Models
OpenAI’s o1-preview emerged as the top performer in recent evaluations, achieving a 92.85% success rate by solving 13 out of 14 challenges. The key to this success appears to be "thinking time"; while models like GPT-4o respond quickly (avg. 18 seconds), o1-preview takes over a minute on average to reason through the complex logic required for exploitation.
Cost-Effectiveness and Efficiency
Newer models like o3-mini and Claude 3.7-Sonnet represent a high-performance, cost-effective middle ground, both achieving a 71.43% success rate. Notably, o3-mini solved 10 challenges for less than $10 in total API fees, demonstrating that high-tier reasoning is becoming increasingly accessible. In contrast, GPT-4.5-preview was significantly more expensive while achieving a lower success rate (50%).
Safety and "Near-Misses"
We observed that safety refusals are often brittle. While some models initially declined to assist with exploitation tasks, the iterative reflexion loop frequently led them to bypass these refusals. Furthermore, even when models failed to fully trigger a sanitizer, they often correctly identified vulnerable endpoints, suggesting they could significantly enhance traditional fuzzing tools.
Conclusion and Future Work
HonestCyberEval demonstrates that advanced reasoning models are capable of sophisticated automated exploitation. Future research will expand this benchmark to include Automated Program Repair (APR), testing if models can also verify and apply patches. We also aim to diversify the challenge projects to ensure a robust and evolving assessment of AI-driven cyber risks.
Summary updated