CyberChainBench: Can AI Agents Secure Smart Contracts Against Real-World On-Chain Vulnerabilities?
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
We present CyberChainBench, a benchmark for evaluating LLM-based agents on smart contract security across three complementary tasks: vulnerability detection, exploit generation, and patch synthesis. Built from 541 real-world exploit incidents from DeFiHackLabs spanning 9 EVM chains, the benchmark provides end-to-end on-chain evaluation where agents interact with historical blockchain state through isolated evaluation environments orchestrated by Harbor, using tools to read code, trace transactions, and validate exploits on mainnet forks. Each case is anchored to a specific block and includes structured ground truth covering vulnerability type, localization, and attacker profit. Exploits are graded by economic impact on historical forks; patches are validated by replaying historical attacks and legitimate transactions as fail-to-pass test oracles on a proxy-upgradeable subset. We define a five-type vulnerability taxonomy and evaluate multiple agent--model configurations. Results reveal a clear difficulty gradient: the best configuration scores 37.5% on detection, 43.7% on exploitation, but only 23.4% on patching, with the top agent (Codex with GPT-5.5) realizing 57.4M in total exploit profit across the 200-case exploit set at a cost of 2.39 per case.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 12 of its 31 references that are in the map. First posted on arXiv 24 Jun 2026.
Builds on
12 of 31 references.
Closest ancestors · 4
Same direction, newest first
- 2026ExploitGym: Can AI Agents Turn Security Vulnerabilities into Real Attacks?11 May
- 2025LISA Technical Report: An Agentic Framework for Smart Contract Auditing29 Sep
- 2025AI Agent Smart Contract Exploit Generation8 Jul
- 2025BountyBench: Dollar Impact of AI Agent Attackers and Defenders on Real-World Cybersecurity Systems21 May
Other references · 8
- 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 515
- 2019Slither: A Static Analysis Framework For Smart Contractscited by 88
- 2025CyberGym: Evaluating AI Agents' Real-World Cybersecurity Capabilities at Scalecited by 71
- 2023GPTScan: Detecting Logic Vulnerabilities in Smart Contracts by Combining GPT with Program Analysiscited by 65
- 2022SoK: Decentralized Finance (DeFi) Attackscited by 28
- 2026EVMbench: Evaluating AI Agents on Smart Contract Securitycited by 7
- 2025SmartPoC: Generating Executable and Validated PoCs for Smart Contract Bug Reportscited by 5
- 2024SC-Bench: A Large-Scale Dataset for Smart Contract Auditingcited by 4
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Beyond Detection: Agentic Attack Synthesis and Simulation for Smart Contracts
- 2026When Verified Source Becomes Attack Input: Defending Smart Contracts Against LLM-Based Vulnerability Scanning ↗
- 2025LLM-BSCVM: An LLM-Based Blockchain Smart Contract Vulnerability Management Framework
- 2026EvoPoC: Automated Exploit Synthesis for DeFi Smart Contracts via Hierarchical Knowledge Graphs ↗
- 2025Multi-Agent Collaborative Fuzzing with Continuous Reflection for Smart Contracts Vulnerability Detection
- 2024LLM-SmartAudit: Advanced Smart Contract Vulnerability Detection
- 2025Securing Smart Contract Languages with a Unified Agentic Framework for Vulnerability Repair in Solidity and Move
- 2026Autonomous Agents on Blockchains: Standards, Execution Models, and Trust Boundaries