ContractFuzzer: fuzzing smart contracts for vulnerability detection
Open accessThe DOI matches its Crossref record; 12 of the 12 references it cites were found in a registry or an index.
Abstract
Decentralized cryptocurrencies feature the use of blockchain to transfer values among peers on networks without central agency. Smart contracts are programs running on top of the blockchain consensus protocol to enable people make agreements while minimizing trusts. Millions of smart contracts have been deployed in various decentralized applications. The security vulnerabilities within those smart contracts pose significant threats to their applications. Indeed, many critical security vulnerabilities within smart contracts on Ethereum platform have caused huge financial losses to their users. In this work, we present ContractFuzzer, a novel fuzzer to test Ethereum smart contracts for security vulnerabilities. ContractFuzzer generates fuzzing inputs based on the ABI specifications of smart contracts, defines test oracles to detect security vulnerabilities, instruments the EVM to log smart contracts runtime behaviors, and analyzes these logs to report security vulnerabilities. Our fuzzing of 6991 smart contracts has flagged more than 459 vulnerabilities with high precision. In particular, our fuzzing tool successfully detects the vulnerability of the DAO contract that leads to USD 60 million loss and the vulnerabilities of Parity Wallet that have led to the loss of USD 30 million and the freezing of USD 150 million worth of Ether.
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.
Integrity signals
Registry
Cites
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.
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
Bitcoin: A Peer-to-Peer Electronic Cash System
Wright, C. S. (2008) · SSRN Electronic Journal · doi:10.2139/ssrn.3440802 · Cited by 13,922
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
A Survey of Attacks on Ethereum Smart Contracts (SoK)
Atzei, N., Bartoletti, M., & Cimoli, T. (2017) · Lecture Notes in Computer Science · doi:10.1007/978-3-662-54455-6_8 · Cited by 1,553 · cited 4×
“foreach segin codeSeg: //iterate over code segments 11 foreach line in seg: //iterate each line 12 if line.startswith("PUSH4") 13 //extract one function selector 14 selector.add(line.split()[1]) 15 if len(selector) >0: //ensure selector not empty 16 M[f]=selector 17 return M //return the map As discussed…”
BackgroundInfluentialFinding 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
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
Why3 — Where Programs Meet Provers
Filliâtre, J.-C., & Paskevich, A. (2013) · Lecture Notes in Computer Science · doi:10.1007/978-3-642-37036-6_8 · Cited by 538
Step by Step Towards Creating a Safe Smart Contract: Lessons and Insights from a Cryptocurrency Lab
Delmolino, K., Arnett, M., Kosba, A., Miller, A., & Shi, E. (2016) · Lecture Notes in Computer Science · doi:10.1007/978-3-662-53357-4_6 · Cited by 505
Dependent types and multi-monadic effects in F*
Swamy, N., Hriţcu, C., Keller, C., Rastogi, A., Delignat-Lavaud, A., Forest, S., Bhargavan, K., Fournet, C., Strub, P.-Y., Kohlweiss, M., et al. (2016) · Proceedings of the 43rd Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages · doi:10.1145/2837614.2837655 · Cited by 314
A survey of attacks on Ethereum smart contracts.Preprint
Atzei, N., Bartoletti, M., & Cimoli, T. (2016) · IACR Cryptology ePrint Archive · Cited by 187
A sentence generator for testing parsers
Purdom, P. (1972) · BIT · doi:10.1007/bf01932975 · Cited by 177
Cited by
Blockchain smart contracts: Applications, challenges, and future trends
Khan, S. N., Loukil, F., Ghedira-Guegan, C., Benkhelifa, E., & Bani-Hani, A. (2021) · Peer-to-Peer Networking and Applications · doi:10.1007/s12083-021-01127-0 · Cited by 841
Smart Contract Development: Challenges and Opportunities
Zou, W., Lo, D., Kochhar, P. S., Le, X.-B. D., Xia, X., Feng, Y., Chen, Z., & Xu, B. (2021) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2019.2942301 · Cited by 727
Survey on blockchain based smart contracts: Applications, opportunities and challenges
Hewa, T., Ylianttila, M., & Liyanage, M. (2021) · Journal of Network and Computer Applications · doi:10.1016/j.jnca.2020.102857 · Cited by 437
The Roadmap to 6G Security and Privacy
Porambage, P., Gur, G., Osorio, D. P. M., Liyanage, M., Gurtov, A., & Ylianttila, M. (2021) · IEEE Open Journal of the Communications Society · doi:10.1109/ojcoms.2021.3078081 · Cited by 416
Smart Contract Vulnerability Detection using Graph Neural Network
Zhuang, Y., Liu, Z., Qian, P., Liu, Q., Wang, X., & He, Q. (2020) · Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence · doi:10.24963/ijcai.2020/454 · Cited by 405
ContractWard: Automated Vulnerability Detection Models for Ethereum Smart Contracts
Wang, W., Song, J., Xu, G., Li, Y., Wang, H., & Su, C. (2021) · IEEE Transactions on Network Science and Engineering · doi:10.1109/tnse.2020.2968505 · Cited by 364
Blockchain Security Attacks, Challenges, and Solutions for the Future Distributed IoT Network
Singh, S., Hosen, A. S. M. S., & Yoon, B. (2021) · IEEE Access · doi:10.1109/access.2021.3051602 · Cited by 354
Systematic Review of Security Vulnerabilities in Ethereum Blockchain Smart Contract
Kushwaha, S. S., Joshi, S., Singh, D., Kaur, M., & Lee, H.-N. (2022) · IEEE Access · doi:10.1109/access.2021.3140091 · Cited by 350
Zhu, X., Wen, S., Camtepe, S., & Xiang, Y. (2022) · ACM Computing Surveys · doi:10.1145/3512345 · Cited by 334
Smart Contract: Attacks and Protections
Sayeed, S., Marco-Gisbert, H., & Caira, T. (2020) · IEEE Access · doi:10.1109/access.2020.2970495 · Cited by 322
Blockchain Technology: Security Issues, Healthcare Applications, Challenges and Future Trends
Wenhua, Z., Qamar, F., Abdali, T.-A. N., Hassan, R., Jafri, S. T. A., & Nguyen, Q. N. (2023) · Electronics · doi:10.3390/electronics12030546 · Cited by 282
sFuzz: an efficient adaptive fuzzer for solidity smart contracts
Nguyen, T. D., Pham, L. H., Sun, J., Lin, Y., & Minh, Q. T. (2020) · Proceedings of the ACM/IEEE 42nd International Conference on Software Engineering · doi:10.1145/3377811.3380334 · Cited by 275
Learning to Fuzz from Symbolic Execution with Application to Smart Contracts
He, J., Balunović, M., Ambroladze, N., Tsankov, P., & Vechev, M. (2019) · Proceedings of the 2019 ACM SIGSAC Conference on Computer and Communications Security · doi:10.1145/3319535.3363230 · Cited by 269
Superion: Grammar-Aware Greybox Fuzzing
Wang, J., Chen, B., Wei, L., & Liu, Y. (2019) · 2019 IEEE/ACM 41st International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2019.00081 · Cited by 260
Self-citationCombining Graph Neural Networks with Expert Knowledge for Smart Contract Vulnerability Detection
Liu, Z., Qian, P., Wang, X., Zhuang, Y., Qiu, L., & Wang, X. (2021) · IEEE Transactions on Knowledge and Data Engineering · doi:10.1109/tkde.2021.3095196 · Cited by 259
Attacking the DeFi Ecosystem with Flash Loans for Fun and Profit
Qin, K., Zhou, L., Livshits, B., & Gervais, A. (2021) · Lecture Notes in Computer Science · doi:10.1007/978-3-662-64322-8_1 · Cited by 255
XBlock-ETH: Extracting and Exploring Blockchain Data From Ethereum
Zheng, P., Zheng, Z., Wu, J., & Dai, H.-N. (2020) · IEEE Open Journal of the Computer Society · doi:10.1109/ojcs.2020.2990458 · Cited by 252
“For example, Oyente [7], Zeus [36], teEther [37], S-gram [38], and ContractFuzzer [39] propose the tools of vulnerability detection on smart contracts.”
BackgroundTransaction-based classification and detection approach for Ethereum smart contract
Hu, T., Liu, X., Chen, T., Zhang, X., Huang, X., Niu, W., Lu, J., Zhou, K., & Liu, Y. (2021) · Information Processing & Management · doi:10.1016/j.ipm.2020.102462 · Cited by 232
Self-citationTowards Automated Reentrancy Detection for Smart Contracts Based on Sequential Models
Qian, P., Liu, Z., He, Q., Zimmermann, R., & Wang, X. (2020) · IEEE Access · doi:10.1109/access.2020.2969429 · Cited by 227
“Existing methods for automatically vulnerability detection have applied symbolic execution [9], [10] and dynamic analysis [11], [12].”
MethodUnderstanding Security Issues in the NFT Ecosystem
Das, D., Bose, P., Ruaro, N., Kruegel, C., & Vigna, G. (2022) · Proceedings of the 2022 ACM SIGSAC Conference on Computer and Communications Security · doi:10.1145/3548606.3559342 · Cited by 195
“Dynamic tools [16, 67, 72] employ various fuzzing strategies to generate interesting inputs, but typically fail to achieve good coverage.”
BackgroundSMARTIAN: Enhancing Smart Contract Fuzzing with Static and Dynamic Data-Flow Analyses
Choi, J., Kim, D., Kim, S., Grieco, G., Groce, A., & Cha, S. K. (2021) · 2021 36th IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase51524.2021.9678888 · Cited by 192
“For the rest of the bug classes, we implemented the same bug oracle as ContractFuzzer [36] (FE) and Harvey [70] (AW).”
BackgroundMethodInfluentialSurvey on Blockchain-Based Smart Contracts: Technical Aspects and Future Research
Hewa, T. M., Hu, Y., Liyanage, M., Kanhare, S. S., & Ylianttila, M. (2021) · IEEE Access · doi:10.1109/access.2021.3068178 · Cited by 189
“[95] presented ContractFuzzer, a comprehensive fuzzing framework to detect seven types of vulnerabilities in Ethereum smart contracts.”
MethodRethinking Smart Contract Fuzzing: Fuzzing With Invocation Ordering and Important Branch Revisiting
Liu, Z., Qian, P., Yang, J., Liu, L., Xu, X., He, Q., & Zhang, X. (2023) · IEEE Transactions on Information Forensics and Security · doi:10.1109/tifs.2023.3237370 · Cited by 138
“tracts, such as [18], [19], [20], [16], [21], [22], and [23], we obtain the following observations.”
BackgroundAutomated Smart Contract Vulnerability Detection using Fine-tuned Large Language Models
Yang, Z., Man, G., & Yue, S. (2023) · Proceedings of the 2023 6th International Conference on Blockchain Technology and Applications · doi:10.1145/3651655.3651658 · Cited by 10
“Alongside these automated tools, a wide range of static analysis approaches have also been investigated, for example, fuzz testing [18, 19], symbolic execution [20–22], model checking [23], and formal verification [24–26].”
MethodDepFuzz: Efficient Smart Contract Fuzzing with Function Dependence Guidance
Ma, C., Song, W., & Huang, J. (2025) · Proceedings of the ACM on Programming Languages · doi:10.1145/3763185 · Cited by 4
Peng, C., Jiang, M., Zhou, Y., & Wu, L. (2026) · Proceedings of the ACM on Software Engineering · doi:10.1145/3808141
Metadata
- Authors
- Jiang, B., Liu, Y., & Chan, W. K.
- Venue
- Proceedings of the 33rd ACM/IEEE International Conference on Automated Software Engineering
- Publisher
- ACM
- Published
- 2018-09-03
- Pages
- 259-269
- OpenAlex
- W2846896781
- Cited by
- 820
- References
- 12
- FWCI
- 42.65
- Type
- conference paper
- Language
- en
- Open access
- green
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.