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

📅 2025-11-12
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This paper presents the first systematic empirical study of Signature Replay Vulnerabilities (SRVs) in smart contracts—security flaws arising from insufficient contextual constraints on digital signatures, enabling unauthorized privilege escalation. To address this, the authors analyze 1,419 professional security audit reports to categorize five distinct SRV patterns. They then propose LASiR, a novel detection framework integrating large language model–enhanced static taint analysis, symbolic execution, and path-reachability verification to precisely identify signature state contamination and illicit reuse. Evaluated on 15,383 real-world Ethereum smart contracts featuring signature verification, LASiR detects SRVs in 19.63% of them—impacting $4.76M in actively deployed assets. The framework achieves an F1-score of 87.90%, significantly improving both accuracy and reliability over prior approaches. This work advances smart contract security by establishing the first taxonomy of SRVs and delivering a robust, scalable, and empirically validated detection methodology.

Technology Category

Application Category

📝 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.
Problem

Research questions and friction points this paper is trying to address.

Identifying signature replay vulnerabilities in smart contracts through empirical analysis
Automating detection using LLM-assisted static analysis and symbolic execution
Quantifying widespread financial impact across major blockchain platforms
Innovation

Methods, ideas, or system contributions that make the work stand out.

Uses LLMs for semantic understanding in static analysis
Employs symbolic execution for path reachability verification
Detects signature replay vulnerabilities in smart contracts
🔎 Similar Papers
No similar papers found.
Z
Zexu Wang
Sun Yat-sen University, Zhuhai, China; Peng Cheng Laboratory, Shenzhen, China
Jiachi Chen
Jiachi Chen
Associate Professor, Sun Yat-Sen University
Smart ContractsBlockchainLarge Language ModelsSoftware SecuritySoftware Engineering
Z
Zewei Lin
Sun Yat-sen University, Zhuhai, China; Peng Cheng Laboratory, Shenzhen, China
W
Wenqing Chen
Sun Yat-sen University, Zhuhai, China
K
Kaiwen Ning
Sun Yat-sen University, Zhuhai, China; Peng Cheng Laboratory, Shenzhen, China
J
Jianxing Yu
Sun Yat-sen University, Zhuhai, China
Y
Yuming Feng
Peng Cheng Laboratory, Shenzhen, China
Y
Yu Zhang
Harbin Institute of Technology, Harbin, China; Peng Cheng Laboratory, Shenzhen, China
Weizhe Zhang
Weizhe Zhang
Professor of Peng Cheng Laboratory & Harbin Institute of Technology
Parallel and Distributed SystemCloud ComputingRealtime SchedulingComputer Network
Zibin Zheng
Zibin Zheng
IEEE Fellow, Highly Cited Researcher, Sun Yat-sen University, China
BlockchainSmart ContractServices ComputingSoftware Reliability