Empirical Review of Automated Analysis Tools on 47,587 Ethereum Smart Contracts

Thomas Durieux, João F. Ferreira, Rui Abreu, Pedro Cruz
10/23/2019
cs.SE

Official code: smartbugs/smartbugs (684 stars, Apache-2.0, last commit 2026-04-20). 2 more implementations below.

Abstract

Over the last few years, there has been substantial research on automated analysis, testing, and debugging of Ethereum smart contracts. However, it is not trivial to compare and reproduce that research. To address this, we present an empirical evaluation of 9 state-of-the-art automated analysis tools using two new datasets: i) a dataset of 69 annotated vulnerable smart contracts that can be used to evaluate the precision of analysis tools; and ii) a dataset with all the smart contracts in the Ethereum Blockchain that have Solidity source code available on Etherscan (a total of 47,518 contracts). The datasets are part of SmartBugs, a new extendable execution framework that we created to facilitate the integration and comparison between multiple analysis tools and the analysis of Ethereum smart contracts. We used SmartBugs to execute the 9 automated analysis tools on the two datasets. In total, we ran 428,337 analyses that took approximately 564 days and 3 hours, being the largest experimental setup to date both in the number of tools and in execution time. We found that only 42% of the vulnerabilities from our annotated dataset are detected by all the tools, with the tool Mythril having the higher accuracy (27%). When considering the largest dataset, we observed that 97% of contracts are tagged as vulnerable, thus suggesting a considerable number of false positives. Indeed, only a small number of vulnerabilities (and of only two categories) were detected simultaneously by four or more tools.

View on arXivView PDF

Code Implementations(3)

Apache-2.0

SmartBugs: A Framework to Analyze Ethereum Smart Contracts

684163Nix, ShellMay 14, 20196 months agoApache-2.0
blockchainethereumsolidityvulnerability
Apache-2.0

This repository contains 47,398 smart contracts extracted from the Ethereum network.

21248PythonAug 21, 20196 years agoApache-2.0
benchmarkblockchaindatasetethereumsolidity
Apache-2.0

This repository contains the RAW results of the vulnerability analysis of 9 tools on 47,587 smart contracts. These results are presented and discussed in Durieux et al. (ICSE 2020)

8626Jul 18, 20196 years agoApache-2.0

Similar Papers

Cite this paper

@article{durieux2019empirical,
  title  = {Empirical Review of Automated Analysis Tools on 47,587 Ethereum Smart Contracts},
  author = {Thomas Durieux and João F. Ferreira and Rui Abreu and Pedro Cruz},
  year   = {2019},
  eprint = {1910.10601},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1910.10601}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1910.10601.svg)](https://codeofpaper.com/paper/1910.10601)

Discussion