paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Smartreco: Detecting Read-Only Reentrancy via Fine-Grained Cross-DApp Analysis

SmartReco:通过细粒度跨 DApp 分析检测只读重入漏洞
ICSE 2025 IEEE/ACM 47th International Conference on Software Engineering (ICSE)2025匹配度 1/10 · 该论文研究智能合约只读重入漏洞的静态分析与模糊测试,属于程序分析与安全领域,但并未涉及用户关注的 PL↔AI/LLM、Agentic 程序、浮点程序分析或贝叶斯程序分析等核心方向。引用 8 inbox
Jingwen Zhang, Zibin Zheng, Yuhong Nan, Mingxi Ye, Kaiwen Ning, Yu Zhang, Weizhe Zhang
crossref: 2026-09-12

AI 速览

一句话:提出 SmartReco,结合静态分析与跨 DApp 模糊测试,检测智能合约中的只读重入漏洞。

去中心化应用(DApp)间的复杂交互催生了只读重入(ROR)漏洞,近三年造成约 3000 万美元损失;现有合约漏洞检测技术因难以跟踪跨 DApp 交互而漏检。SmartReco 结合静态与动态分析:先从耦合的跨合约交互中划分 DApp 边界;再通过细粒度静态分析定位可能触发 ROR 的入口函数;最后利用链上交易数据,跨 DApp 对入口函数与受害函数进行多函数模糊测试以验证漏洞。在 45 个手工标注 ROR 上,精确率 88.64%、召回率 86.67%;并从 123 个流行 DApp 新发现 43 个 ROR,影响资产约 52 万美元。

问题
只读重入(ROR)源于多个 DApp 间复杂交互,现有智能合约漏洞检测技术缺乏跨 DApp 的跟踪与分析,难以发现此类漏洞。
方法
SmartReco 结合静态分析与动态 fuzzing:划分 DApp 边界、静态定位入口函数,并利用链上交易数据跨 DApp 执行多函数模糊测试以验证 ROR。
评估
在 45 个手工标注 ROR 数据集上达到 88.64% 精确率和 86.67% 召回率,并从 123 个流行 DApp 中新检测到 43 个 ROR,涉及资产约 52 万美元。
原文摘要(Abstract)

Despite the increasing popularity of Decentralized Applications (DApps), they are suffering from various vulnerabilities that can be exploited by adversaries for profits. Among such vulnerabilities, Read-Only Reentrancy (called ROR in this paper), is an emerging type of vulnerability that arises from the complex interactions between DApps. In the recent three years, attack incidents of ROR have already caused around 30M USD losses to the DApp ecosystem. Existing techniques for vulnerability detection in smart contracts can hardly detect Read-Only Reentrancy attacks, due to the lack of tracking and analyzing the complex interactions between multiple DApps. In this paper, we propose SmartReco, a new framework for detecting Read-Only Reentrancy vulnerability in DApps through a novel combination of static and dynamic analysis (i.e., fuzzing) over smart contracts. The key design behind SmartReco is threefold: (1) SmartReco identifies the boundary between different DApps from the heavy-coupled cross-contract interactions. (2) SmartReco performs fine-grained static analysis to locate points of interest (i.e., entry functions) that may lead to ROR. (3) SmartReco utilizes the on-chain transaction data and performs multi-function fuzzing (i.e., the entry function and victim function) across different DApps to verify the existence of ROR. Our evaluation of a manual-labeled dataset with 45 RORs shows that SmartReco achieves a precision of 88.64 % and a recall of 86.67 %. In addition, SmartReco successfully detects 43 new RORs from 123 popular DApps. The total assets affected by such RORs reach around 520,000 USD.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot8730,
  title = {Smartreco: Detecting Read-Only Reentrancy via Fine-Grained Cross-DApp Analysis},
  author = {Jingwen Zhang and Zibin Zheng and Yuhong Nan and Mingxi Ye and Kaiwen Ning and Yu Zhang and Weizhe Zhang},
  booktitle = {ICSE},
  year = {2025},
  doi = {10.1109/icse55347.2025.00057}
}