Characterizing Ethereum Upgradable Smart Contracts and Their Security Implications

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Li, Xiaofan, Yang, Jin, Chen, Jiaqi, Tang, Yuzhe, Gao, Xing
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866929262848638976
author Li, Xiaofan
Yang, Jin
Chen, Jiaqi
Tang, Yuzhe
Gao, Xing
author_facet Li, Xiaofan
Yang, Jin
Chen, Jiaqi
Tang, Yuzhe
Gao, Xing
contents Upgradeable smart contracts (USCs) have been widely adopted to enable modifying deployed smart contracts. While USCs bring great flexibility to developers, improper usage might introduce new security issues, potentially allowing attackers to hijack USCs and their users. In this paper, we conduct a large-scale measurement study to characterize USCs and their security implications in the wild. We summarize six commonly used USC patterns and develop a tool, USCDetector, to identify USCs without needing source code. Particularly, USCDetector collects various information such as bytecode and transaction information to construct upgrade chains for USCs and disclose potentially vulnerable ones. We evaluate USCDetector using verified smart contracts (i.e., with source code) as ground truth and show that USCDetector can achieve high accuracy with a precision of 96.26%. We then use USCDetector to conduct a large-scale study on Ethereum, covering a total of 60,251,064 smart contracts. USCDetecor constructs 10,218 upgrade chains and discloses multiple real-world USCs with potential security issues.
format Preprint
id arxiv_https___arxiv_org_abs_2403_01290
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Characterizing Ethereum Upgradable Smart Contracts and Their Security Implications
Li, Xiaofan
Yang, Jin
Chen, Jiaqi
Tang, Yuzhe
Gao, Xing
Cryptography and Security
Computational Engineering, Finance, and Science
Upgradeable smart contracts (USCs) have been widely adopted to enable modifying deployed smart contracts. While USCs bring great flexibility to developers, improper usage might introduce new security issues, potentially allowing attackers to hijack USCs and their users. In this paper, we conduct a large-scale measurement study to characterize USCs and their security implications in the wild. We summarize six commonly used USC patterns and develop a tool, USCDetector, to identify USCs without needing source code. Particularly, USCDetector collects various information such as bytecode and transaction information to construct upgrade chains for USCs and disclose potentially vulnerable ones. We evaluate USCDetector using verified smart contracts (i.e., with source code) as ground truth and show that USCDetector can achieve high accuracy with a precision of 96.26%. We then use USCDetector to conduct a large-scale study on Ethereum, covering a total of 60,251,064 smart contracts. USCDetecor constructs 10,218 upgrade chains and discloses multiple real-world USCs with potential security issues.
title Characterizing Ethereum Upgradable Smart Contracts and Their Security Implications
topic Cryptography and Security
Computational Engineering, Finance, and Science
url https://arxiv.org/abs/2403.01290