arrow
Return

DelegateTracker: Delegatecall Vulnerability Detection Tool Based on Read-Write Data Flow Capture Algorithm

delete2025-07-14
delete0
delete
OA
AI
W
Wenrui Cao
P
Peixuan Feng
S
Siqi Lu
Y
Yongjuan Wang
王
王祥宇 (Xiangyu Wang)
R
Runnan Yang
DOI:10.1016/j.bcra.2025.100338delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
Delegatecall vulnerability, as one of the most cunning vulnerabilities, has caused great trouble to the development of smart contracts. Aiming at the high false-positive rate of detection results of existing smart contract vulnerability detection tools and the irrationality of delegatecall by discarding, this paper innovatively proposes a delegatecall vulnerability detection tool DelegateTracker. It is based on the delegatecall vulnerability detection logic of the read-write data flow capture algorithm, and through the attack path search module to determine the execution path of the function that can modify the state variables in the called contract, to prove the necessary conditions for the existence of the vulnerability, and then through the attack path validation module to prove the sufficient conditions for the existence of the vulnerability, so as to discover the vulnerability. The tool not only successfully corroborates the existence of delegatecall vulnerabilities in Parity Wallet, but also discovers untriggered delegatecall vulnerabilities and their trigger paths among them. We used DelegateTracker to discover for the first time a caller contract with a delegatecall vulnerability on 1 existing public chain, outputting 3 attack paths with a value of 0.19 ETH. In addition, we use DelegateTracker to analyze 12,402 smart contracts for alerts when called by delegatecall, and find that 215 contracts have delegatecall vulnerabilities and output caller warning messages.
Keywords:
Smart Contract
Delegatecall
Symbolic Execution
Pattern Matching
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

Blockchain-Research and Applications cover
Blockchain-Research and Applications
IF:
5.6
Papers:
316
Citations:
754

Organization

No organization information available
Cited Papers

Cited Papers

Smart Contract Interactions in Coq
err2020-08-13
err0
errOAAI
errJakob Botsch Nielsen; Bas Spitters
errShare
errSave
Formal Verification of Smart Contracts
err2016-10-24
err0
errOAAI
errKarthikeyan Bhargavan; Antoine Delignat-Lavaud; Cédric Fournet; Anitha Gollamudi; Georges Gonthier; Nadim Kobeissi; Natalia Kulatova; Aseem Rastogi; Thomas Sibut-Pinote; Nikhil Swamy; Santiago Zanella-Béguelin
errShare
errSave
Evaluation of Logic-Based Smart Contracts for Blockchain Systems
err2016-06-28
err0
PREAI
errFlorian Idelberger; Guido Governatori; Régis Riveret; Giovanni Sartor
errShare
errSave
SASC: Secure and Authentication-Based Sensor Cloud Architecture for Intelligent Internet of Things
errSENSORS
IF3.5
err2020-04-27
err48
errOAAI
errHaseeb, Khalid; Almogren, Ahmad; Din, Ikram Ud; Islam, Naveed; Altameem, Ayman
errShare
errSave
SmartCheck
err2018-05-27
err0
errOAAI
errSergei Tikhomirov; Ekaterina Voskresenskaya; Ivan Ivanitskiy; Ramil Takhaviev; Evgeny Marchenko; Yaroslav Alexandrov
errShare
errSave
researcher View more