Lune

ISSTA2020顶会

How effective are smart contract analysis tools? evaluating smart contract static analysis tools using bug injection

Asem Ghaleb, Karthik Pattabiraman

摘要

Security attacks targeting smart contracts have been on the rise, which have led to financial loss and erosion of trust. Therefore, it is important to enable developers to discover security vulnerabilities in smart contracts before deployment. A number of static analysis tools have been developed for finding security bugs in smart contracts. However, despite the numerous bug-finding tools, there is no systematic approach to evaluate the proposed tools and gauge their effectiveness. This paper proposes SolidiFI, an automated and systematic approach for evaluating smart contracts' static analysis tools. SolidiFI is based on injecting bugs (i.e., code defects) into all potential locations in a smart contract to introduce targeted security vulnerabilities. SolidiFI then checks the generated buggy contract using the static analysis tools, and identifies the bugs that the tools are unable to detect (false-negatives) along with identifying the bugs reported as false-positives. SolidiFI is used to evaluate six widely-used static analysis tools, namely, Oyente, Securify, Mythril, SmartCheck, Manticore and Slither, using a set of 50 contracts injected by 9369 distinct bugs. It finds several instances of bugs that are not detected by the evaluated tools despite their claims of being able to detect such bugs, and all the tools report many false positives.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 23 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Park: accelerating smart contract vulnerability detection via parallel-fork symbolic execution 引用了 teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
  • Park: accelerating smart contract vulnerability detection via parallel-fork symbolic execution 引用了 Making Smart Contracts Smarter
  • Park: accelerating smart contract vulnerability detection via parallel-fork symbolic execution 引用了 Empirical review of automated analysis tools on 47, 587 Ethereum smart contracts
  • Park: accelerating smart contract vulnerability detection via parallel-fork symbolic execution 引用了 Securify: Practical Security Analysis of Smart Contracts
  • teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts 引用了 Making Smart Contracts Smarter
  • Empirical evaluation of smart contract testing: what is the best choice? 引用了 LAVA: Large-Scale Automated Vulnerability Addition
  • Empirical evaluation of smart contract testing: what is the best choice? 引用了 Making Smart Contracts Smarter
  • Empirical evaluation of smart contract testing: what is the best choice? 引用了 Empirical review of automated analysis tools on 47, 587 Ethereum smart contracts
  • Empirical evaluation of smart contract testing: what is the best choice? 引用了 Securify: Practical Security Analysis of Smart Contracts
  • Demystifying Exploitable Bugs in Smart Contracts 引用了 teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
  • Demystifying Exploitable Bugs in Smart Contracts 引用了 Empirical evaluation of smart contract testing: what is the best choice?
  • Demystifying Exploitable Bugs in Smart Contracts 引用了 Making Smart Contracts Smarter
  • Demystifying Exploitable Bugs in Smart Contracts 引用了 Empirical review of automated analysis tools on 47, 587 Ethereum smart contracts
  • Demystifying Exploitable Bugs in Smart Contracts 引用了 Securify: Practical Security Analysis of Smart Contracts
  • Empirical review of automated analysis tools on 47, 587 Ethereum smart contracts 引用了 teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
  • Empirical review of automated analysis tools on 47, 587 Ethereum smart contracts 引用了 Making Smart Contracts Smarter
  • Empirical review of automated analysis tools on 47, 587 Ethereum smart contracts 引用了 Securify: Practical Security Analysis of Smart Contracts
  • eTainter: detecting gas-related vulnerabilities in smart contracts 引用了 teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
  • eTainter: detecting gas-related vulnerabilities in smart contracts 引用了 Making Smart Contracts Smarter
  • eTainter: detecting gas-related vulnerabilities in smart contracts 引用了 Empirical review of automated analysis tools on 47, 587 Ethereum smart contracts
  • eTainter: detecting gas-related vulnerabilities in smart contracts 引用了 Securify: Practical Security Analysis of Smart Contracts
  • AChecker: Statically Detecting Smart Contract Access Control Vulnerabilities 引用了 teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
  • AChecker: Statically Detecting Smart Contract Access Control Vulnerabilities 引用了 Making Smart Contracts Smarter
  • AChecker: Statically Detecting Smart Contract Access Control Vulnerabilities 引用了 Empirical review of automated analysis tools on 47, 587 Ethereum smart contracts
  • AChecker: Statically Detecting Smart Contract Access Control Vulnerabilities 引用了 eTainter: detecting gas-related vulnerabilities in smart contracts
  • AChecker: Statically Detecting Smart Contract Access Control Vulnerabilities 引用了 Securify: Practical Security Analysis of Smart Contracts
  • Securify: Practical Security Analysis of Smart Contracts 引用了 Making Smart Contracts Smarter
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper23

  1. Empirical evaluation of smart contract testing: what is the best choice?Meng Ren, Zijing Yin, Fuchen Ma, Zhenyang Xu 等ISSTA 2021 · 83 次引用
  2. Demystifying Exploitable Bugs in Smart ContractsZhuo Zhang, Brian Zhang, Wen Xu, Zhiqiang LinICSE 2023 · 80 次引用
  3. AChecker: Statically Detecting Smart Contract Access Control VulnerabilitiesAsem Ghaleb, Julia Rubin, Karthik PattabiramanICSE 2023 · 63 次引用
  4. eTainter: detecting gas-related vulnerabilities in smart contractsAsem Ghaleb, Julia Rubin, Karthik PattabiramanISSTA 2022 · 57 次引用
  5. Park: accelerating smart contract vulnerability detection via parallel-fork symbolic executionPeilin Zheng, Zibin Zheng, Xiapu LuoISSTA 2022 · 46 次引用

它引用的 Paper6

  1. Making Smart Contracts SmarterLoi Luu, Duc-Hiep Chu, Hrishi Olickel, Prateek Saxena 等CCS 2016 · 2,306 次引用
  2. Securify: Practical Security Analysis of Smart ContractsPetar Tsankov, Andrei Marian Dan, Dana Drachsler-Cohen, Arthur Gervais 等CCS 2018 · 1,108 次引用
  3. Empirical review of automated analysis tools on 47, 587 Ethereum smart contractsThomas Durieux, João F. Ferreira, Rui Abreu, Pedro CruzICSE 2020 · 373 次引用
  4. LAVA: Large-Scale Automated Vulnerability AdditionBrendan Dolan-Gavitt, Patrick Hulin, Engin Kirda, Tim Leek 等S&P 2016 · 354 次引用
  5. teEther: Gnawing at Ethereum to Automatically Exploit Smart ContractsJohannes Krupp, Christian RossowUSENIX Security 2018 · 345 次引用

相关 Paper

  1. SmartDagger: a bytecode-based static analysis approach for detecting cross-contract vulnerabilityZeqin Liao, Zibin Zheng, Xiao Chen, Yuhong NanISSTA 2022 · 64 次引用
  2. SAILFISH: Vetting Smart Contract State-Inconsistency Bugs in SecondsPriyanka Bose, Dipanjan Das, Yanju Chen, Yu Feng 等S&P 2022 · 142 次引用
  3. Towards Understanding the Bugs in Solidity CompilerHaoyang Ma, Wuqi Zhang, Qingchao Shen, Yongqiang Tian 等ISSTA 2024 · 9 次引用
  4. FairChecker: Detecting Fund-Stealing Bugs in DeFi Protocols via Fairness ValidationYi Sun, Zhuo Zhang, Xiangyu ZhangICSE 2025
  5. SmartShot: Hunt Hidden Vulnerabilities in Smart Contracts using Mutable SnapshotsRuichao Liang, Jing Chen, Ruochen Cao, Kun He 等FSE 2025 · 2 次引用
黄昏的海面,两侧是细线勾勒的悬崖