EVMbench: Evaluating AI Agents on Smart Contract Security
AI 摘要
EVMbench评估AI智能体在智能合约安全方面的能力,包括漏洞检测、修复和利用。
主要贡献
- 提出了EVMbench评估基准
- 评估了AI智能体在智能合约安全上的能力
- 发布了代码、任务和工具
方法论
构建包含117个漏洞的测试集,利用程序化测试和区块链状态判断智能体的漏洞检测、修复和利用能力。
原文摘要
Smart contracts on public blockchains now manage large amounts of value, and vulnerabilities in these systems can lead to substantial losses. As AI agents become more capable at reading, writing, and running code, it is natural to ask how well they can already navigate this landscape, both in ways that improve security and in ways that might increase risk. We introduce EVMbench, an evaluation that measures the ability of agents to detect, patch, and exploit smart contract vulnerabilities. EVMbench draws on 117 curated vulnerabilities from 40 repositories and, in the most realistic setting, uses programmatic grading based on tests and blockchain state under a local Ethereum execution environment. We evaluate a range of frontier agents and find that they are capable of discovering and exploiting vulnerabilities end-to-end against live blockchain instances. We release code, tasks, and tooling to support continued measurement of these capabilities and future work on security.