Detecting Rug-Pull: Analyzing Smart Contract Backdoor Codes in Ethereum

Citations

WEB OF SCIENCE

1
Citations

SCOPUS

1

초록

Smart contracts enable autonomous execution between contracting parties without a centralized authority, thereby reducing contract management costs and enhancing the transparency and reliability of contracts. However, the absence of such a certification authority increases the risk of fraud. Rug-pull, a typical form of fraud, involves developers hiding backdoor codes in smart contracts to steal funds under certain conditions, causing significant damage to users. A Rug-pull list warns users of potential fraud, but it only identifies risks after damage has occurred. Additionally, existing backdoor code analysis tools are limited in their ability to detect backdoor codes hidden through modifications to existing patterns or suffer from low accuracy because they rely on comparisons with predefined backdoor codes. Therefore, this paper proposes a balance-tracking-based backdoor code detection model to identify backdoor codes in smart contracts. The proposed model detects backdoor codes by extracting functions from Ethereum bytecodes and inspecting the extracted functions to track balance changes. This approach allows for the detection of balance changes even when backdoor codes are concealed. Experimental results verifying the effectiveness of this model demonstrate 98% accuracy, 0.96 recall, and 0.98 precision. These results are expected to contribute significantly to effectively reducing fraud risks such as Rug-pull.

키워드

rug-pull detectionEthereum smart contractsEthereum blockchainDeFi
제목
Detecting Rug-Pull: Analyzing Smart Contract Backdoor Codes in Ethereum
저자
Yu, Kwan WooLee, Byung Mun
DOI
10.3390/app15010450
발행일
2025-01
유형
Article
저널명
APPLIED SCIENCES-BASEL
15
1