sFuzz
Authors:
Open Access
- 27 June 2020
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 778-788
Abstract
Smart contracts are Turing-complete programs that execute on the infrastructure of the blockchain, which often manage valuable digital assets. Solidity is one of the most popular programming languages for writing smart contracts on the Ethereum platform. Like traditional programs, smart contracts may contain vulnerabilities. Unlike traditional programs, smart contracts cannot be easily patched once they are deployed. It is thus important that smart contracts are tested thoroughly before deployment. In this work, we present an adaptive fuzzer for smart contracts on the Ethereum platform called sFuzz. Compared to existing Solidity fuzzers, sFuzz combines the strategy in the AFL fuzzer and an efficient lightweight multi-objective adaptive strategy targeting those hard-to-cover branches. sFuzz has been applied to more than 4 thousand smart contracts and the experimental results show that (1) sFuzz is efficient, e.g., two orders of magnitude faster than state-of-the-art tools; (2) sFuzz is effective in achieving high code coverage and discovering vulnerabilities; and (3) the different fuzzing strategies in sFuzz complement each other.Keywords
Funding Information
- Singapore Ministry of Education (MOE)
This publication has 15 references indexed in Scilit:
- ZEUS: Analyzing Safety of Smart Contracts2018
- In Code We Trust?2017
- Automated Test Case Generation as a Many-Objective Optimisation Problem with Dynamic Selection of the TargetsIEEE Transactions on Software Engineering, 2017
- Under-optimized smart contracts devour your money2017
- Making Smart Contracts Smarter2016
- Formal Verification of Smart Contracts2016
- Step by Step Towards Creating a Safe Smart Contract: Lessons and Insights from a Cryptocurrency Lab2016
- Setting Standards for Altering and Undoing Smart Contracts2016
- A Theoretical and Empirical Study of Search-Based Testing: Local, Global, and Hybrid SearchIEEE Transactions on Software Engineering, 2009
- DART2005