Lune

ISSTA2021Top-tier venue

Empirical evaluation of smart contract testing: what is the best choice?

Meng Ren, Zijing Yin, Fuchen Ma, Zhenyang Xu, Yu Jiang, Chengnian Sun, Huizhong Li, Yan Cai

Abstract

Security of smart contracts has attracted increasing attention in recent years. Many researchers have devoted themselves to devising testing tools for vulnerability detection. Each published tool has demonstrated its effectiveness through a series of evaluations on their own experimental scenarios. However, the inconsistency of evaluation settings such as different data sets or performance metrics, may result in biased conclusion. In this paper, based on an empirical evaluation of widely used smart contract testing tools, we propose a unified standard to eliminate the bias in the assessment process. First, we collect 46,186 source-available smart contracts from four influential organizations. This comprehensive dataset is open to the public and involves different code characteristics, vulnerability patterns and application scenarios. Then we propose a 4-step evaluation process and summarize the difference among relevant work in these steps. We use nine representative tools to carry out extensive experiments. The results demonstrate that different choices of experimental settings could significantly affect tool performance and lead to misleading or even opposite conclusions. Finally, we generalize some problems of existing testing tools, and propose some possible directions for further improvement.

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.

13 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

  • Smart Contract and DeFi Security Tools: Do They Meet the Needs of Practitioners? cites ZEUS: Analyzing Safety of Smart Contracts
  • Smart Contract and DeFi Security Tools: Do They Meet the Needs of Practitioners? cites Making Smart Contracts Smarter
  • Smart Contract and DeFi Security Tools: Do They Meet the Needs of Practitioners? cites Empirical review of automated analysis tools on 47, 587 Ethereum smart contracts
  • Smart Contract and DeFi Security Tools: Do They Meet the Needs of Practitioners? cites Securify: Practical Security Analysis of Smart Contracts
  • ZEUS: Analyzing Safety of Smart Contracts cites Making Smart Contracts Smarter
  • Are We There Yet? Unraveling the State-of-the-Art Smart Contract Fuzzers cites Making Smart Contracts Smarter
  • Are We There Yet? Unraveling the State-of-the-Art Smart Contract Fuzzers cites Empirical review of automated analysis tools on 47, 587 Ethereum smart contracts
  • Are We There Yet? Unraveling the State-of-the-Art Smart Contract Fuzzers cites Evaluating Fuzz Testing
  • Static Application Security Testing (SAST) Tools for Smart Contracts: How Far Are We? cites Smart Contract and DeFi Security Tools: Do They Meet the Needs of Practitioners?
  • Static Application Security Testing (SAST) Tools for Smart Contracts: How Far Are We? cites ZEUS: Analyzing Safety of Smart Contracts
  • Static Application Security Testing (SAST) Tools for Smart Contracts: How Far Are We? cites Demystifying Exploitable Bugs in Smart Contracts
  • Static Application Security Testing (SAST) Tools for Smart Contracts: How Far Are We? cites Empirical review of automated analysis tools on 47, 587 Ethereum smart contracts
  • Static Application Security Testing (SAST) Tools for Smart Contracts: How Far Are We? cites Securify: Practical Security Analysis of Smart Contracts
  • Demystifying Exploitable Bugs in Smart Contracts cites ZEUS: Analyzing Safety of Smart Contracts
  • 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 ZEUS: Analyzing Safety of 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
  • WASAI: uncovering vulnerabilities in Wasm smart contracts cites Making Smart Contracts Smarter
  • WASAI: uncovering vulnerabilities in Wasm smart contracts cites Empirical review of automated analysis tools on 47, 587 Ethereum smart contracts
  • Securify: Practical Security Analysis of Smart Contracts cites ZEUS: Analyzing Safety 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 papers13

  1. Demystifying Exploitable Bugs in Smart ContractsZhuo Zhang, Brian Zhang, Wen Xu, Zhiqiang LinICSE 2023 · 80 citations
  2. Smart Contract and DeFi Security Tools: Do They Meet the Needs of Practitioners?Stefanos Chaliasos, Marcos Antonios Charalambous, Liyi Zhou, Rafaila Galanopoulou et al.ICSE 2024 · 49 citations
  3. WASAI: uncovering vulnerabilities in Wasm smart contractsWeimin Chen, Zihan Sun, Haoyu Wang, Xiapu Luo et al.ISSTA 2022 · 43 citations
  4. Static Application Security Testing (SAST) Tools for Smart Contracts: How Far Are We?Kaixuan Li, Yue Xue, Sen Chen, Han Liu et al.FSE 2024 · 26 citations
  5. Are We There Yet? Unraveling the State-of-the-Art Smart Contract FuzzersShuohan Wu, Zihao Li, Luyi Yan, Weimin Chen et al.ICSE 2024 · 24 citations

Builds on16

  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. Evaluating Fuzz TestingGeorge Klees, Andrew Ruef, Benji Cooper, Shiyi Wei et al.CCS 2018 · 753 citations
  4. ZEUS: Analyzing Safety of Smart ContractsSukrit Kalra, Seep Goel, Mohan Dhawan, Subodh SharmaNDSS 2018 · 595 citations
  5. Empirical review of automated analysis tools on 47, 587 Ethereum smart contractsThomas Durieux, João F. Ferreira, Rui Abreu, Pedro CruzICSE 2020 · 373 citations

Related papers

  1. Large-Scale Study of Vulnerability Scanners for Ethereum Smart ContractsChristoph Sendner, Lukas Petzi, Jasper Stang, Alexandra DmitrienkoS&P 2024 · 19 citations
  2. Cross-Modality Mutual Learning for Enhancing Smart Contract Vulnerability Detection on BytecodePeng Qian, Zhenguang Liu, Yifang Yin, Qinming HeWWW 2023 · 91 citations
  3. Clone Detection for Smart Contracts: How Far Are We?Zuobin Wang, Zhiyuan Wan, Yujing Chen, Yun Zhang et al.FSE 2025 · 1 citation
  4. FORGE: An LLM-driven Framework for Large-Scale Smart Contract Vulnerability Dataset ConstructionJiachi Chen, Yiming Shen, Jiashuo Zhang, Zihao Li et al.ICSE 2026 · 3 citations
  5. Have We Solved Access Control Vulnerability Detection in Smart Contracts? A Benchmark StudyHan Liu, Daoyuan Wu, Yuqiang Sun, Shuai Wang et al.ASE 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines