paperbot · PL 论文追踪

全部论文 待读 收藏

P1 VeriExploit: Automatic Bug Reproduction in Smart Contracts via LLMs and Formal Methods

VeriExploit:基于LLM与形式化方法的智能合约漏洞自动复现
ASE 2025 40th IEEE/ACM International Conference on Automated Software Engineering (ASE)2025匹配度 5/10 · 论文结合 LLM 与形式化方法,属于 AI→PL/形式化验证交叉方向,且包含自动化工具与 benchmark 评估;但其任务是智能合约漏洞复现,而非用户核心关注的静态分析、浮点程序分析或贝叶斯程序分析,方向相邻但不正中核心。引用 0 inbox
Chenfeng Wei, Shiyu Cai, Yiannis Charalambous, Tong Wu, Sangharatna Godboley, Lucas Cordeiro
crossref: 2026-09-12

AI 速览

一句话:结合形式化方法与LLM,自动生成并验证智能合约漏洞的复现合约与攻击轨迹。

智能合约漏洞复现需构造攻击者合约与特定交互序列,但现有形式化验证工具虽能检测漏洞,却往往不提供执行轨迹或轨迹不完整,也难反映攻击者合约的行为模式。为此,VeriExploit 结合形式化方法与大型语言模型,以易受攻击的合约及其反例为输入,自动生成、验证并精化复现合约与执行步骤,最终输出能重新触发同一漏洞的合约和具体利用轨迹。实验表明,该框架能有效自动化漏洞复现,在自建基准数据集上成功率达 85.60%。

问题
智能合约漏洞复现需要攻击者合约和交互序列,但现有形式化验证工具只检测漏洞,缺少可执行轨迹和攻击者行为模式。
方法
VeriExploit 以漏洞合约及其反例为输入,用形式化方法与LLM自动生成、验证并精化复现合约与执行步骤,输出重触发漏洞的合约及具体利用轨迹。
评估
在自建基准数据集上评估,漏洞复现成功率达 85.60%。
原文摘要(Abstract)

Bug reproduction is becoming an important task in the security analysis of Solidity smart contracts. By simulating attacks, developers and auditors can better understand how a vulnerability is triggered in practice. To reproduce a bug, one often needs to define an attacker contract and a specific sequence of interactions that exploit the vulnerability. However, in smart contracts, there are rarely automated tools that can generate such contracts and sequences and validate their correctness. Existing security tools, such as formal verifiers, are effective at detecting bugs, but they are not designed for bug reproduction. They often omit execution traces or produce incomplete ones. Moreover, their reports rarely reflect the behaviour patterns of attacker contracts. This gap motivates our work. We propose VeriExploit, a framework that combines formal methods and large language models to automatically generate, validate, and refine reproduction contracts and execution steps. Given a vulnerable contract and its counterexample, VeriExploit produces a contract that re-triggers the same bug and outputs a concrete trace showing how the exploit works. Experiments show that VeriExploit is effective at automating bug reproduction, achieving a success rate of 85.60% on our benchmark dataset.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot9568,
  title = {VeriExploit: Automatic Bug Reproduction in Smart Contracts via LLMs and Formal Methods},
  author = {Chenfeng Wei and Shiyu Cai and Yiannis Charalambous and Tong Wu and Sangharatna Godboley and Lucas Cordeiro},
  booktitle = {ASE},
  year = {2025},
  doi = {10.1109/ase63991.2025.00120}
}