Definition and Detection of Centralization Defects in Smart Contracts
Zewei Lin, Jiachi Chen, Jiajing Wu, Weizhe Zhang, Zibin Zheng
摘要
In recent years, security incidents stemming from centralization defects in smart contracts have led to substantial financial losses. A centralization defect refers to any error, flaw, or fault in a smart contract's design or development stage that introduces a single point of failure. Such defects allow a specific account or user to disrupt the normal operations of smart contracts, potentially causing malfunctions or even complete project shutdowns. Despite the significance of this issue, most current smart contract analyses overlook centralization defects, focusing primarily on other types of defects. To address this gap, our paper introduces six types of centralization defects in smart contracts by manually analyzing 597 Stack Exchange posts and 117 audit reports. For each defect, we provide a detailed description and code examples to illustrate its characteristics and potential impacts. Additionally, we introduce a tool named CDRipper (Centralization Defects Ripper) designed to identify the defined centralization defects. Specifically, CDRipper constructs a permission dependency graph (PDG) and extracts the permission dependencies of functions from the source code of smart contracts. It then detects the sensitive operations in functions and identifies centralization defects based on predefined patterns. We conduct a large-scale experiment using CDRipper on 244,424 real-world smart contracts and evaluate the results based on a manually labeled dataset. Our findings reveal that 82,446 contracts contain at least one of the six centralization defects, with our tool achieving an overall precision of 93.7%.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- SSR: Safeguarding Staking Rewards by Defining and Detecting Logical Defects in DeFi Staking 引用了 ZEUS: Analyzing Safety of Smart Contracts
- SSR: Safeguarding Staking Rewards by Defining and Detecting Logical Defects in DeFi Staking 引用了 Ethainter: a smart contract security analyzer for composite vulnerabilities
- SSR: Safeguarding Staking Rewards by Defining and Detecting Logical Defects in DeFi Staking 引用了 Making Smart Contracts Smarter
- SSR: Safeguarding Staking Rewards by Defining and Detecting Logical Defects in DeFi Staking 引用了 Securify: Practical Security Analysis of Smart Contracts
- Finding permission bugs in smart contracts with role mining 引用了 ZEUS: Analyzing Safety of Smart Contracts
- Finding permission bugs in smart contracts with role mining 引用了 Ethainter: a smart contract security analyzer for composite vulnerabilities
- Finding permission bugs in smart contracts with role mining 引用了 Making Smart Contracts Smarter
- ZEUS: Analyzing Safety of Smart Contracts 引用了 Making Smart Contracts Smarter
- Ethainter: a smart contract security analyzer for composite vulnerabilities 引用了 ZEUS: Analyzing Safety of Smart Contracts
- Ethainter: a smart contract security analyzer for composite vulnerabilities 引用了 Making Smart Contracts Smarter
- Ethainter: a smart contract security analyzer for composite vulnerabilities 引用了 Securify: Practical Security Analysis of Smart Contracts
- SymGPT: Auditing Smart Contracts via Combining Symbolic Execution with Large Language Models 引用了 Finding permission bugs in smart contracts with role mining
- SymGPT: Auditing Smart Contracts via Combining Symbolic Execution with Large Language Models 引用了 ZEUS: Analyzing Safety of Smart Contracts
- SymGPT: Auditing Smart Contracts via Combining Symbolic Execution with Large Language Models 引用了 Making Smart Contracts Smarter
- SymGPT: Auditing Smart Contracts via Combining Symbolic Execution with Large Language Models 引用了 Securify: Practical Security Analysis of Smart Contracts
- Securify: Practical Security Analysis of Smart Contracts 引用了 ZEUS: Analyzing Safety of Smart Contracts
- Securify: Practical Security Analysis of Smart Contracts 引用了 Making Smart Contracts Smarter
引用它的顶会 Paper2
- SSR: Safeguarding Staking Rewards by Defining and Detecting Logical Defects in DeFi StakingZewei Lin, Jiachi Chen, Jingwen Zhang, Zexu Wang 等ASE 2025 · 1 次引用
- SymGPT: Auditing Smart Contracts via Combining Symbolic Execution with Large Language ModelsShihao Xia, Mengting He, Shuai Shao, Tingting Yu 等OOPSLA 2026
它引用的 Paper10
- Making Smart Contracts SmarterLoi Luu, Duc-Hiep Chu, Hrishi Olickel, Prateek Saxena 等CCS 2016 · 2,306 次引用
- Securify: Practical Security Analysis of Smart ContractsPetar Tsankov, Andrei Marian Dan, Dana Drachsler-Cohen, Arthur Gervais 等CCS 2018 · 1,108 次引用
- ZEUS: Analyzing Safety of Smart ContractsSukrit Kalra, Seep Goel, Mohan Dhawan, Subodh SharmaNDSS 2018 · 595 次引用
- Ethainter: a smart contract security analyzer for composite vulnerabilitiesLexi Brent, Neville Grech, Sifis Lagouvardos, Bernhard Scholz 等PLDI 2020 · 163 次引用
- Finding permission bugs in smart contracts with role miningYe Liu, Yi Li, Shang-Wei Lin, Cyrille ArthoISSTA 2022 · 54 次引用
相关 Paper
- Definition and Detection of Defects in NFT Smart ContractsShuo Yang, Jiachi Chen, Zibin ZhengISSTA 2023 · 35 次引用
- Demystifying and Detecting Cryptographic Defects in Ethereum Smart ContractsJiashuo Zhang, Yiming Shen, Jiachi Chen, Jianzhong Su 等ICSE 2025 · 2 次引用
- Towards Finding Accounting Errors in Smart ContractsBrian ZhangICSE 2024 · 8 次引用
- PrettySmart: Detecting Permission Re-delegation Vulnerability for Token Behaviors in Smart ContractsZhijie Zhong, Zibin Zheng, Hong-Ning Dai, Qing Xue 等ICSE 2024 · 12 次引用
- DeFiWarder: Protecting DeFi Apps from Token Leaking VulnerabilitiesJianzhong Su, Xingwei Lin, Zhiyuan Fang, Zhirong Zhu 等ASE 2023 · 17 次引用
