TL;DR
This paper re-evaluates EVMBench, a benchmark for AI agents in smart contract security, finding that current AI agents have real but limited capabilities. Their performance is unstable across different configurations and datasets, and they struggle with real-world exploits, suggesting that fully automated AI auditing is not yet imminent.
What Problem Does This Paper Address?
The release of EVMBench by OpenAI, Paradigm, and OtterSec sparked excitement about AI's potential to automate smart contract security audits. EVMBench's results suggested that AI agents could detect a significant portion of vulnerabilities and exploit them effectively, leading to predictions of AI replacing human auditors. However, this paper argues that EVMBench's experimental design has limitations, specifically a narrow evaluation scope and the potential for data contamination (models might have been trained on the audit data). This raises questions about the generalizability and reliability of EVMBench's findings and whether AI agents are truly ready for robust smart contract security. The authors aim to provide a more comprehensive and contamination-free evaluation to better understand the current state of AI agents in this domain.
Methods
The researchers built upon EVMBench's infrastructure but expanded its scope significantly. They increased the number of agent configurations tested from 14 to 26, covering four model families and three different "scaffolds" (tooling and environments that AI agents use). Crucially, they introduced a new dataset called "INCIDENTS," comprising 22 real-world security incidents that occurred after the release of all evaluated AI models. This contamination-free dataset is designed to assess how well AI agents perform on unseen, real-world exploits, unlike EVMBench's reliance on past audit contest data. They focused on two core tasks: DETECT (identifying vulnerabilities) and EXPLOIT (demonstrating how to leverage them).
Datasets
- EVMBENCH Dataset: Consists of 120 vulnerabilities from 40 Code4rena audit repositories. A significant portion of this data predates the release of the evaluated AI models, raising concerns about potential training data contamination.
- INCIDENTS Dataset: A newly introduced dataset of 22 real-world security incidents that occurred after mid-February 2026. This dataset is designed to be contamination-free, ensuring that the AI models have not been exposed to this data during training.
Key Insights and Ideas
- Unstable Performance: AI agent performance is highly sensitive to the evaluation setup. Rankings shift dramatically when changing models, scaffolds, or even the dataset (audit contests vs. real-world incidents). This means conclusions drawn from a single benchmark might not be reliable.
- Exploitation Gap: While AI agents can detect a decent number of vulnerabilities, their ability to exploit them in real-world scenarios is severely limited. This directly contradicts EVMBench's claim that discovery is the main bottleneck.
- Scaffolding Matters: The environment or "scaffold" an AI agent uses significantly impacts its performance. An open-source scaffold even outperformed vendor-provided ones in several comparisons, highlighting that the tooling is as important as the AI model itself.
- Human-in-the-Loop is Key: The findings suggest that AI agents are best used as a first-pass filter or assistant to human auditors, rather than a complete replacement. They excel at finding common patterns but lack the deep, protocol-specific reasoning needed for complex exploits.
Key Results
- Detection: The best AI agent detected 47.5% of vulnerabilities on the EVMBENCH dataset and 65.0% on the contamination-free INCIDENTS dataset. However, this still means over half of vulnerabilities go undetected.
- Exploitation: On EVMBENCH's curated tasks, agents achieved up to 61.1% exploit success. In stark contrast, on the real-world INCIDENTS dataset, no agent could successfully perform an end-to-end exploit across all 110 agent-incident pairs (0% success rate).
- Scaffold Impact: Using the OpenCode scaffold improved performance by up to 5 percentage points compared to vendor scaffolds for certain models.
- Model Ranking Shifts: The top-ranked agent on EVMBENCH's DETECT task (Claude Opus 4.6) was not the top performer on the INCIDENTS dataset, highlighting the instability of rankings.
Limitations and Future Work
- Dataset Limitations: Both datasets have limitations. EVMBENCH's data might be contaminated. The INCIDENTS dataset, while contamination-free, is relatively small (22 incidents), limiting statistical power. Certain vulnerability types (e.g., cross-chain interactions, zero-knowledge circuits) are underrepresented.
- Evaluation Design: Most configurations were tested only once, limiting confidence intervals. The DETECT grader, being model-based, might miss novel findings not present in the ground truth and doesn't penalize false positives.
- Infrastructure: All model calls were routed through OpenRouter, which might introduce variations in model performance. Container timeouts could also lead to failures that aren't indicative of capability limitations.
- Future Work: The authors suggest future evaluations should control for scaffolding and reasoning effort. Incorporating precision (penalizing false positives) into scoring is crucial for practical usefulness. They advocate for human-in-the-loop agentic workflows, where AI agents augment human auditors, and for building infrastructure to support this collaboration.
Summary updated