paperbot · PL 论文追踪

全部论文 待读 收藏

P1 One Signature, Multiple Payments: Demystifying and Detecting Signature Replay Vulnerabilities in Smart Contracts

一个签名,多次支付:智能合约中签名重放漏洞的揭示与检测
ICSE Proceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering2026匹配度 6/10 · 该论文用 LLM 辅助静态污点分析与符号执行检测智能合约漏洞,属于“AI→PL:利用 LLM 改进静态分析”的方向,方法上有一定相关性;但其应用领域是智能合约签名重放安全,与用户核心关注的 ML/Agent 程序静态分析、浮点程序分析和贝叶斯程序分析没有直接交集。引用 2 inbox
Zexu Wang, Jiachi Chen, Zewei Lin, Wenqing Chen, Kaiwen Ning, Jianxing Yu, Yuming Feng, Yu Zhang, Weizhe Zhang, Zibin Zheng
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:首次实证研究智能合约签名重放漏洞,并提出 LLM 辅助静态污点分析结合符号执行的检测工具 LASiR。

数字签名是智能合约权限验证的关键机制,但若合约未检查签名的使用条件,同一签名可能被反复验证,导致权限滥用与资产风险,作者将此定义为签名重放漏洞(SRV)。本文首次对 SRV 进行实证研究:从 37 家区块链安全公司的 1,419 份审计报告中筛选出 108 份含详细 SRV 描述的样本,归纳出五类 SRV。为自动检测该漏洞,作者设计了 LASiR,利用大语言模型(LLM)的通用语义理解能力辅助签名状态的静态污点分析,识别签名重用行为,并通过符号执行进行路径可达性验证以保证检测的有效性与可靠性。评估在 Ethereum、Binance Smart Chain、Polygon 和 Arbitrum 四条链的 918,964 份合约中筛出的 15,383 份含签名验证的合约上展开,发现 SRV 广泛存在,受影响合约持有 476 万美元活跃资产,以太坊上 19.63% 的签名使用合约含 SRV;人工验证显示 LASiR 检测 F1 达 87.90%,消融与对比实验表明 LLM 提供的语义信息能显著提升检测性能。

问题
智能合约若缺乏对签名使用条件的检查,会导致同一签名被重复验证,从而引发权限滥用并威胁合约资产安全,即签名重放漏洞(SRV)。
方法
作者从大量审计报告中归纳出五类 SRV,并设计 LASiR:利用 LLM 的语义理解辅助签名状态的静态污点分析以识别签名重用行为,再结合符号执行进行路径可达性验证。
评估
在四条区块链上从 918,964 份合约中筛出 15,383 份含签名验证的合约进行大规模实验,并通过人工验证、消融与对比实验评估检测性能。
原文摘要(Abstract)

Smart contracts have significantly advanced blockchain technology, and digital signatures are crucial for reliable verification of contract authority. Through signature verification, smart contracts can ensure that signers possess the required permissions, thus enhancing security and scalability. However, lacking checks on signature usage conditions can lead to repeated verifications, increasing the risk of permission abuse and threatening contract assets. We define this issue as the Signature Replay Vulnerability (SRV). In this paper, we conducted the first empirical study to investigate the causes and characteristics of the SRVs. From 1,419 audit reports across 37 blockchain security companies, we identified 108 with detailed SRV descriptions and classified five types of SRVs. To detect these vulnerabilities automatically, we designed LASiR, which utilizes the general semantic understanding ability of Large Language Models (LLMs) to assist in the static taint analysis of the signature state and identify the signature reuse behavior. It also employs path reachability verification via symbolic execution to ensure effective and reliable detection. To evaluate the performance of LASiR, we conducted large-scale experiments on 15,383 contracts involving signature verification, selected from the initial dataset of 918,964 contracts across four blockchains: Ethereum, Binance Smart Chain, Polygon, and Arbitrum. The results indicate that SRVs are widespread, with affected contracts holding $4.76 million in active assets. Among these, 19.63% of contracts that use signatures on Ethereum contain SRVs. Furthermore, manual verification demonstrates that LASiR achieves an F1-score of 87.90% for detection. Ablation studies and comparative experiments reveal that the semantic information provided by LLMs aids static taint analysis, significantly enhancing LASiR’s detection performance.

链接与引用

DOI 原文 · arXiv · DBLP

BibTeX
@inproceedings{abs-2511-09134,
  title = {One Signature, Multiple Payments: Demystifying and Detecting Signature Replay Vulnerabilities in Smart Contracts},
  author = {Zexu Wang and Jiachi Chen and Zewei Lin and Wenqing Chen and Kaiwen Ning and Jianxing Yu and Yuming Feng and Yu Zhang and Weizhe Zhang and Zibin Zheng},
  booktitle = {ICSE},
  year = {2026},
  doi = {10.1145/3744916.3773198}
}