Skip to main content
CenXiv.org
此网站处于试运行阶段,支持我们!
我们衷心感谢所有贡献者的支持。
贡献
赞助
cenxiv logo > cs > arXiv:2507.05558

帮助 | 高级搜索

计算机科学 > 密码学与安全

arXiv:2507.05558 (cs)
[提交于 2025年7月8日 (v1) ,最后修订 2025年7月9日 (此版本, v2)]

标题: AI代理智能合约漏洞生成

标题: AI Agent Smart Contract Exploit Generation

Authors:Arthur Gervais, Liyi Zhou
摘要: 我们提出A1,一个由代理执行驱动的系统,可将任何大语言模型转化为端到端的漏洞利用生成器。 A1没有手工设计的启发式方法,并为代理提供了六个特定领域的工具,使其能够自主发现漏洞。 代理可以灵活地利用这些工具来理解智能合约行为,生成利用策略,在区块链状态上进行测试,并根据执行反馈优化方法。 所有输出都经过具体验证,以消除误报。 在以太坊和币安智能链上的36个现实世界易受攻击的合约评估中,A1在VERITE基准测试中的成功率为62.96%(27个中有17个)。 除了VERITE数据集外,A1还发现了9个额外的易受攻击的合约,其中5个案例发生在最强模型训练截止日期之后。 在所有26个成功案例中,A1每个案例提取高达859万美元,总计933万美元。 通过在六个大语言模型上的432次实验,我们分析了迭代性能,显示平均边际收益分别为+9.7%、+3.7%、+5.1%和+2.8%,分别对应迭代2-5,每次实验的成本范围为$0.01-$3.59。 对19次历史攻击的蒙特卡洛分析显示,在没有检测延迟的情况下,成功率在85.9%-88.8%之间。 我们研究了攻击者或防御者在部署A1作为持续链上扫描系统时,谁最受益。 我们的模型显示,OpenAI的o3-pro在0.100%的漏洞发生率下,最多可承受30天的扫描延迟仍保持盈利,而更快的模型需要>=1.000%的比率才能收支平衡。 研究结果揭示了一个令人担忧的不对称性:在0.1%的漏洞率下,攻击者在6000美元的漏洞价值下实现链上扫描盈利,而防御者则需要60000美元,这引发了关于AI代理是否必然偏向于利用而非防御的根本性问题。
摘要: We present A1, an agentic execution driven system that transforms any LLM into an end-to-end exploit generator. A1 has no hand-crafted heuristics and provides the agent with six domain-specific tools that enable autonomous vulnerability discovery. The agent can flexibly leverage these tools to understand smart contract behavior, generate exploit strategies, test them on blockchain states, and refine approaches based on execution feedback. All outputs are concretely validated to eliminate false positives. The evaluation across 36 real-world vulnerable contracts on Ethereum and Binance Smart Chain demonstrates a 62.96% (17 out of 27) success rate on the VERITE benchmark. Beyond the VERITE dataset, A1 identified 9 additional vulnerable contracts, with 5 cases occurring after the strongest model's training cutoff date. Across all 26 successful cases, A1 extracts up to 8.59 million USD per case and 9.33 million USD total. Through 432 experiments across six LLMs, we analyze iteration-wise performance showing diminishing returns with average marginal gains of +9.7%, +3.7%, +5.1%, and +2.8% for iterations 2-5 respectively, with per-experiment costs ranging $0.01-$3.59. A Monte Carlo analysis of 19 historical attacks shows success probabilities of 85.9%-88.8% without detection delays. We investigate whether an attacker or a defender benefits most from deploying A1 as a continuous on-chain scanning system. Our model shows that OpenAI's o3-pro maintains profitability up to a 30.0 days scanning delay at 0.100% vulnerability incidence rates, while faster models require >=1.000% rates to break-even. The findings exposes a troubling asymmetry: at 0.1% vulnerability rates, attackers achieve an on-chain scanning profitability at a \$6000 exploit value, while defenders require \$60000, raising fundamental questions about whether AI agents inevitably favor exploitation over defense.
主题: 密码学与安全 (cs.CR) ; 人工智能 (cs.AI)
引用方式: arXiv:2507.05558 [cs.CR]
  (或者 arXiv:2507.05558v2 [cs.CR] 对于此版本)
  https://doi.org/10.48550/arXiv.2507.05558
通过 DataCite 发表的 arXiv DOI

提交历史

来自: Liyi Zhou [查看电子邮件]
[v1] 星期二, 2025 年 7 月 8 日 00:45:26 UTC (1,615 KB)
[v2] 星期三, 2025 年 7 月 9 日 11:25:39 UTC (1,615 KB)
全文链接:

获取论文:

    查看标题为《》的 PDF
  • 查看中文 PDF
  • 查看 PDF
  • HTML(实验性)
  • TeX 源代码
  • 其他格式
许可图标 查看许可
当前浏览上下文:
cs.CR
< 上一篇   |   下一篇 >
新的 | 最近的 | 2025-07
切换浏览方式为:
cs
cs.AI

参考文献与引用

  • NASA ADS
  • 谷歌学术搜索
  • 语义学者
a 导出 BibTeX 引用 加载中...

BibTeX 格式的引用

×
数据由提供:

收藏

BibSonomy logo Reddit logo

文献和引用工具

文献资源探索 (什么是资源探索?)
连接的论文 (什么是连接的论文?)
Litmaps (什么是 Litmaps?)
scite 智能引用 (什么是智能引用?)

与本文相关的代码,数据和媒体

alphaXiv (什么是 alphaXiv?)
CatalyzeX 代码查找器 (什么是 CatalyzeX?)
DagsHub (什么是 DagsHub?)
Gotit.pub (什么是 GotitPub?)
Hugging Face (什么是 Huggingface?)
带有代码的论文 (什么是带有代码的论文?)
ScienceCast (什么是 ScienceCast?)

演示

复制 (什么是复制?)
Hugging Face Spaces (什么是 Spaces?)
TXYZ.AI (什么是 TXYZ.AI?)

推荐器和搜索工具

影响之花 (什么是影响之花?)
核心推荐器 (什么是核心?)
IArxiv 推荐器 (什么是 IArxiv?)
  • 作者
  • 地点
  • 机构
  • 主题

arXivLabs:与社区合作伙伴的实验项目

arXivLabs 是一个框架,允许合作伙伴直接在我们的网站上开发和分享新的 arXiv 特性。

与 arXivLabs 合作的个人和组织都接受了我们的价值观,即开放、社区、卓越和用户数据隐私。arXiv 承诺这些价值观,并且只与遵守这些价值观的合作伙伴合作。

有一个为 arXiv 社区增加价值的项目想法吗? 了解更多关于 arXivLabs 的信息.

这篇论文的哪些作者是支持者? | 禁用 MathJax (什么是 MathJax?)
  • 关于
  • 帮助
  • contact arXivClick here to contact arXiv 联系
  • 订阅 arXiv 邮件列表点击这里订阅 订阅
  • 版权
  • 隐私政策
  • 网络无障碍帮助
  • arXiv 运营状态
    通过...获取状态通知 email 或者 slack

京ICP备2025123034号