Lune

ISSTA2020Top-tier venue

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

Asem Ghaleb, Karthik Pattabiraman

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

23 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Park: accelerating smart contract vulnerability detection via parallel-fork symbolic execution cites teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
  • Park: accelerating smart contract vulnerability detection via parallel-fork symbolic execution cites Making Smart Contracts Smarter
  • Park: accelerating smart contract vulnerability detection via parallel-fork symbolic execution cites Empirical review of automated analysis tools on 47, 587 Ethereum smart contracts
  • Park: accelerating smart contract vulnerability detection via parallel-fork symbolic execution cites Securify: Practical Security Analysis of Smart Contracts
  • teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts cites Making Smart Contracts Smarter
  • Empirical evaluation of smart contract testing: what is the best choice? cites LAVA: Large-Scale Automated Vulnerability Addition
  • Empirical evaluation of smart contract testing: what is the best choice? cites Making Smart Contracts Smarter
  • Empirical evaluation of smart contract testing: what is the best choice? cites Empirical review of automated analysis tools on 47, 587 Ethereum smart contracts
  • Empirical evaluation of smart contract testing: what is the best choice? cites Securify: Practical Security Analysis of Smart Contracts
  • Demystifying Exploitable Bugs in Smart Contracts cites teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
  • Demystifying Exploitable Bugs in Smart Contracts cites Empirical evaluation of smart contract testing: what is the best choice?
  • Demystifying Exploitable Bugs in Smart Contracts cites Making Smart Contracts Smarter
  • Demystifying Exploitable Bugs in Smart Contracts cites Empirical review of automated analysis tools on 47, 587 Ethereum smart contracts
  • Demystifying Exploitable Bugs in Smart Contracts cites Securify: Practical Security Analysis of Smart Contracts
  • Empirical review of automated analysis tools on 47, 587 Ethereum smart contracts cites teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
  • Empirical review of automated analysis tools on 47, 587 Ethereum smart contracts cites Making Smart Contracts Smarter
  • Empirical review of automated analysis tools on 47, 587 Ethereum smart contracts cites Securify: Practical Security Analysis of Smart Contracts
  • eTainter: detecting gas-related vulnerabilities in smart contracts cites teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
  • eTainter: detecting gas-related vulnerabilities in smart contracts cites Making Smart Contracts Smarter
  • eTainter: detecting gas-related vulnerabilities in smart contracts cites Empirical review of automated analysis tools on 47, 587 Ethereum smart contracts
  • eTainter: detecting gas-related vulnerabilities in smart contracts cites Securify: Practical Security Analysis of Smart Contracts
  • AChecker: Statically Detecting Smart Contract Access Control Vulnerabilities cites teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
  • AChecker: Statically Detecting Smart Contract Access Control Vulnerabilities cites Making Smart Contracts Smarter
  • AChecker: Statically Detecting Smart Contract Access Control Vulnerabilities cites Empirical review of automated analysis tools on 47, 587 Ethereum smart contracts
  • AChecker: Statically Detecting Smart Contract Access Control Vulnerabilities cites eTainter: detecting gas-related vulnerabilities in smart contracts
  • AChecker: Statically Detecting Smart Contract Access Control Vulnerabilities cites Securify: Practical Security Analysis of Smart Contracts
  • Securify: Practical Security Analysis of Smart Contracts cites Making Smart Contracts Smarter
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers23

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

Builds on6

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

Related papers

  1. SmartDagger: a bytecode-based static analysis approach for detecting cross-contract vulnerabilityZeqin Liao, Zibin Zheng, Xiao Chen, Yuhong NanISSTA 2022 · 64 citations
  2. SAILFISH: Vetting Smart Contract State-Inconsistency Bugs in SecondsPriyanka Bose, Dipanjan Das, Yanju Chen, Yu Feng et al.S&P 2022 · 142 citations
  3. Towards Understanding the Bugs in Solidity CompilerHaoyang Ma, Wuqi Zhang, Qingchao Shen, Yongqiang Tian et al.ISSTA 2024 · 9 citations
  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 et al.FSE 2025 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines