CoChat

Empirical review of automated analysis tools on 47,587 Ethereum smart contracts

Open access
Durieux, Thomas, Ferreira, João F., Abreu, Rui, Cruz, Pedro · 2020 · Proceedings of the ACM/IEEE 42nd International Conference on Software Engineering

The DOI matches its Crossref record; 39 of the 39 references it cites were found in a registry or an index.

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.

Overview

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1145/3377811.3380364

Cites

39 of 39 references verified0 citation errors · 0 not checkable

Statistics

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

  • Making Smart Contracts Smarter

    Luu, L., Chu, D.-H., Olickel, H., Saxena, P., & Hobor, A. (2016) · Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security · doi:10.1145/2976749.2978309 · Cited by 2,249 · cited 4×

    “There has been some effort from the research community to develop automated analysis tools that locate and eliminate vulnerabilities in smart contracts [18, 27, 39, 42].”
    BackgroundMethodInfluential
  • Securify: Practical Security Analysis of Smart Contracts

    Tsankov, P., Dan, A., Drachsler-Cohen, D., Gervais, A., Bünzli, F., & Vechev, M. (2018) · Proceedings of the 2018 ACM SIGSAC Conference on Computer and Communications Security · doi:10.1145/3243734.3243780 · Cited by 1,043 · cited 3×

    “There has been some effort from the research community to develop automated analysis tools that locate and eliminate vulnerabilities in smart contracts [18, 27, 39, 42].”
    BackgroundMethod
  • Slither: A Static Analysis Framework for Smart Contracts

    Feist, J., Grieco, G., & Groce, A. (2019) · 2019 IEEE/ACM 2nd International Workshop on Emerging Trends in Software Engineering for Blockchain (WETSEB) · doi:10.1109/wetseb.2019.00008 · Cited by 872 · cited 2×

    “tic information about the contract using the Souffle Datalog solver. It then checks compliance and violation patterns that capture sufficient conditions for proving if a property holds or not. Slither[16], developed by TrailOfBits, is a static analysis framework that converts Solidity smart contracts into an intermedi…”
    Method
  • ZEUS: Analyzing Safety of Smart Contracts

    Kalra, S., Goel, S., Dhawan, M., & Sharma, S. (2018) · Proceedings 2018 Network and Distributed System Security Symposium · doi:10.14722/ndss.2018.23082 · Cited by 702

  • SmartCheck: static analysis of ethereum smart contracts

    Tikhomirov, S., Voskresenskaya, E., Ivanitskiy, I., Takhaviev, R., Marchenko, E., & Alexandrov, Y. (2018) · Proceedings of the 1st International Workshop on Emerging Trends in Software Engineering for Blockchain · doi:10.1145/3194113.3194115 · Cited by 672 · cited 3×

    “/A 23 Remix https://github.com/ethereum/remix 24 SASC [43] N/A 25 sCompile [6] N/A 26 Securify [42] https://github.com/eth-sri/securify 27 Slither [16] https://github.com/crytic/slither 28 Smartcheck [39] https://github.com/smartdec/smartcheck 29 Solgraph https://github.com/raineorshine/solgraph 30 Solhint https://git…”
    BackgroundMethodInfluential
  • Finding The Greedy, Prodigal, and Suicidal Contracts at Scale

    Nikolić, I., Kolluri, A., Sergey, I., Saxena, P., & Hobor, A. (2018) · Proceedings of the 34th Annual Computer Security Applications Conference · doi:10.1145/3274694.3274743 · Cited by 660 · cited 3×

    “In a preliminary study performed on nearly one million Ethereum smart contracts, using one analysis framework for verifying correctness, 34,200 of them were flagged as vulnerable [32].”
    MethodResultInfluential
  • Formal Verification of Smart Contracts: Short Paper

    Bhargavan, K., Delignat-Lavaud, A., Fournet, C., Gollamudi, A., Gonthier, G., Kobeissi, N., Kulatova, N., Rastogi, A., Sibut-Pinote, T., Swamy, N., et al. (2016) · Proceedings of the 2016 ACM Workshop on Programming Languages and Analysis for Security · doi:10.1145/2993600.2993611 · Cited by 626 · cited 1×

    “cts written in Solidity are compiled to bytecode that can be executed on the Ethereum Virtual Machine (EVM). Smart contracts are at the core of Ethereum’s value. However, as noted by some researchers [3, 27], due to the idiosyncrasies of the EVM, writing secure smart contracts is far from trivial. In a preliminary stu…”
    Method
  • A Survey on Ethereum Systems Security: Vulnerabilities, Attacks, and Defenses

    Chen, H., Pendleton, M., Njilla, L., & Xu, S. (2021) · ACM Computing Surveys · doi:10.1145/3391195 · Cited by 480 · cited 1×

    “f Honeypots as defined by Torreset al. [41] (since Ether becomes locked, except for the attacker). Our findings suggest new categories comparable to those proposed in the recent survey by Chen et al. [7] (available online on August 13, 2019). 4.2 Threats to Validity A potential threat to the internal validity is that,…”
    ResultInfluential
  • Osiris: Hunting for Integer Bugs in Ethereum Smart Contracts

    Torres, C. F., Schütte, J., & State, R. (2018) · Proceedings of the 34th Annual Computer Security Applications Conference · doi:10.1145/3274694.3274737 · Cited by 440 · cited 2×

    “com/MAIAN-tool/MAIAN 15 Manticore [30] https://github.com/trailofbits/manticore/ 16 Mythril [31] https://github.com/ConsenSys/mythril-classic 17 Octopus https://github.com/quoscient/octopus 18 Osiris [40] https://github.com/christoftorres/Osiris 19 Oyente [27] https://github.com/melonproject/oyente 20 Porosity [38] ht…”
    Background
  • KEVM: A Complete Formal Semantics of the Ethereum Virtual Machine

    Hildenbrandt, E., Saxena, M., Rodrigues, N., Zhu, X., Daian, P., Guth, D., Moore, B., Park, D., Zhang, Y., Stefanescu, A., et al. (2018) · 2018 IEEE 31st Computer Security Foundations Symposium (CSF) · doi:10.1109/csf.2018.00022 · Cited by 418 · cited 1×

    “12 KEVM [21] https://github.”

Show all 39 references

Research works printed but not linked: 4

  1. A Semantic Framework for the Security Analysis of Ethereum Smart Contracts. Ilya Grishchenko, Matteo Maffei, Clara Schneidewind, Principles of Security and Trust. Lujo Bauer, Ralf Küsters, ChamSpringer International Publishing2018
  2. Smashing ethereum smart contracts for fun and real profit. Bernhard Mueller, 9th Annual HITB Security Conference (HITBSecConf). HITB, Amsterdam, Netherlands201854
  3. 10.5555/3291291.3291303 · doi:10.5555/3291291.3291303
  4. Porosity: A decompiler for blockchain-based smart contracts bytecode. Matt Suiche, DEF con. 25112017. 2017

Cited by

See all 470

Metadata

Authors
Durieux, T., Ferreira, J. F., Abreu, R., & Cruz, P.
Affiliations
University of Lisbon (PT)
Venue
Proceedings of the ACM/IEEE 42nd International Conference on Software Engineering
Publisher
ACM
Published
2020-06-27
Pages
530-541
ISSN
0270-5257 (ISSN-L)
OpenAlex
W2982275082
Cited by
409
References
37
Citations by year
2026: 54 · 2025: 101 · 2024: 87 · 2023: 78 · 2022: 42 · 2021: 35 · 2020: 12
FWCI
31.86
Type
conference paper
Language
en
Open access
Locations
  • ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) (publishedVersion)
  • arXiv (Cornell University) (submittedVersion)
  • arXiv (Cornell University)
Funders
  • Fundação para a Ciência e a Tecnologia (PTDC/CCI-COM/29300/2017)
  • Horizon 2020 (822404)
Topics
  • Physical Sciences › Computer Science › Information Systems › Blockchain Technology Applications and Security
  • Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
  • Physical Sciences › Computer Science › Information Systems › Software Engineering Research
Keywords
Ethereum smart contracts, automated analysis tool, vulnerability detection, Solidity, Mythril, false positives, tool comparison, Etherscan, smart contract security

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.