Towards automated verification of smart contract fairness
Ye Liu, Yi Li, Shang-Wei Lin, Rong Zhao
摘要
Smart contracts are computer programs allowing users to define and execute transactions automatically on top of the blockchain platform. Many of such smart contracts can be viewed as games. A game-like contract accepts inputs from multiple participants, and upon ending, automatically derives an outcome while distributing assets according to some predefined rules. Without clear understanding of the game rules, participants may suffer from fraudulent advertisements and financial losses. In this paper, we present a framework to perform (semi-)automated verification of smart contract fairness, whose results can be used to refute false claims with concrete examples or certify contract implementations with respect to desired fairness properties. We implement FairCon, which is able to check fairness properties including truthfulness, efficiency, optimality, and collusion-freeness for Ethereum smart contracts. We evaluate FairCon on a set of real-world benchmarks and the experiment result indicates that FairCon is effective in detecting property violations and able to prove fairness for common types of contracts.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- FlashSyn: Flash Loan Attack Synthesis via Counter Example Driven Approximation 引用了 Finding permission bugs in smart contracts with role mining
- FlashSyn: Flash Loan Attack Synthesis via Counter Example Driven Approximation 引用了 ZEUS: Analyzing Safety of Smart Contracts
- FlashSyn: Flash Loan Attack Synthesis via Counter Example Driven Approximation 引用了 Making Smart Contracts Smarter
- FlashSyn: Flash Loan Attack Synthesis via Counter Example Driven Approximation 引用了 Securify: Practical Security Analysis of Smart Contracts
- VERISMART: A Highly Precise Safety Verifier for Ethereum Smart Contracts 引用了 ZEUS: Analyzing Safety of Smart Contracts
- VERISMART: A Highly Precise Safety Verifier for Ethereum Smart Contracts 引用了 Making Smart Contracts Smarter
- VERISMART: A Highly Precise Safety Verifier for Ethereum Smart Contracts 引用了 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 引用了 Making Smart Contracts Smarter
- ZEUS: Analyzing Safety of Smart Contracts 引用了 Making Smart Contracts Smarter
- Static Application Security Testing (SAST) Tools for Smart Contracts: How Far Are We? 引用了 VERISMART: A Highly Precise Safety Verifier for Ethereum Smart Contracts
- Static Application Security Testing (SAST) Tools for Smart Contracts: How Far Are We? 引用了 ZEUS: Analyzing Safety of Smart Contracts
- Static Application Security Testing (SAST) Tools for Smart Contracts: How Far Are We? 引用了 Securify: Practical Security Analysis of Smart Contracts
- Towards Automated Safety Vetting of Smart Contracts in Decentralized Applications 引用了 VERISMART: A Highly Precise Safety Verifier for Ethereum Smart Contracts
- Towards Automated Safety Vetting of Smart Contracts in Decentralized Applications 引用了 ZEUS: Analyzing Safety of Smart Contracts
- Towards Automated Safety Vetting of Smart Contracts in Decentralized Applications 引用了 Making Smart Contracts Smarter
- Towards Automated Safety Vetting of Smart Contracts in Decentralized Applications 引用了 Securify: Practical Security Analysis of Smart Contracts
- Safeguarding DeFi Smart Contracts against Oracle Deviations 引用了 FlashSyn: Flash Loan Attack Synthesis via Counter Example Driven Approximation
- Safeguarding DeFi Smart Contracts against Oracle Deviations 引用了 ZEUS: Analyzing Safety of Smart Contracts
- Safeguarding DeFi Smart Contracts against Oracle Deviations 引用了 Making Smart Contracts Smarter
- Safeguarding DeFi Smart Contracts against Oracle Deviations 引用了 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
引用它的顶会 Paper8
- Finding permission bugs in smart contracts with role miningYe Liu, Yi Li, Shang-Wei Lin, Cyrille ArthoISSTA 2022 · 54 次引用
- Static Application Security Testing (SAST) Tools for Smart Contracts: How Far Are We?Kaixuan Li, Yue Xue, Sen Chen, Han Liu 等FSE 2024 · 26 次引用
- Towards Automated Safety Vetting of Smart Contracts in Decentralized ApplicationsYue Duan, Xin Zhao, Yu Pan, Shucheng Li 等CCS 2022 · 22 次引用
- FlashSyn: Flash Loan Attack Synthesis via Counter Example Driven ApproximationZhiyang Chen, Sidi Mohamed Beillahi, Fan LongICSE 2024 · 21 次引用
- Safeguarding DeFi Smart Contracts against Oracle DeviationsXun Deng, Sidi Mohamed Beillahi, Cyrus Minwalla, Han Du 等ICSE 2024 · 12 次引用
它引用的 Paper6
- 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 次引用
- Algorithmic Transparency via Quantitative Input Influence: Theory and Experiments with Learning SystemsAnupam Datta, Shayak Sen, Yair ZickS&P 2016 · 774 次引用
- ZEUS: Analyzing Safety of Smart ContractsSukrit Kalra, Seep Goel, Mohan Dhawan, Subodh SharmaNDSS 2018 · 595 次引用
- VERISMART: A Highly Precise Safety Verifier for Ethereum Smart ContractsSunbeom So, Myungho Lee, Jisu Park, Heejo Lee 等S&P 2020 · 133 次引用
相关 Paper
- VerX: Safety Verification of Smart ContractsAnton Permenev, Dimitar Dimitrov, Petar Tsankov, Dana Drachsler-Cohen 等S&P 2020 · 251 次引用
- TransRacer: Function Dependence-Guided Transaction Race Detection for Smart ContractsChenyang Ma, Wei Song, Jeff HuangFSE 2023 · 11 次引用
- Automated Inference on Financial Security of Ethereum Smart ContractsWansen Wang, Wenchao Huang, Zhaoyi Meng, Yan Xiong 等USENIX Security 2023
- Rich specifications for Ethereum smart contract verificationChristian Bräm, Marco Eilers, Peter Müller, Robin Sierra 等OOPSLA 2021 · 23 次引用
- SmartPulse: Automated Checking of Temporal Properties in Smart ContractsJon Stephens, Kostas Ferles, Benjamin Mariano, Shuvendu K. Lahiri 等S&P 2021 · 70 次引用
