CoChat

Rethinking Smart Contract Fuzzing: Fuzzing With Invocation Ordering and Important Branch Revisiting

Open access
Liu, Zhenguang, Qian, Peng, Yang, Jiaxu, Liu, Lingfeng, Xu, Xiaojun, He, Qinming, Zhang, Xiaosong · 2023 · IEEE Transactions on Information Forensics and Security

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

Abstract

Blockchain smart contracts have given rise to a variety of interesting and compelling applications and emerged as a revolutionary force for the Internet. Smart contracts from various fields now hold over one trillion dollars worth of virtual coins, attracting numerous attacks. Quite a few practitioners have devoted themselves to developing tools for detecting bugs in smart contracts. One line of efforts revolve around static analysis techniques, which heavily suffer from high false positive rates. Another line of works concentrate on fuzzing techniques. Unfortunately, current fuzzing approaches for smart contracts tend to conduct fuzzing starting from the initial state of the contract, which expends too much energy revolving around the initial state of the contract and thus is usually unable to unearth bugs triggered by other states. Moreover, most existing methods treat each branch equally, failing to take care of the branches that are rare or more likely to possess bugs. This might lead to resources wasted on normal branches. In this paper, we try to tackle these challenges from three aspects: 1) generating function invocation sequences, we explicitly consider data dependencies between functions to facilitate exploring richer states. We further prolong a function invocation sequence$\mathcal {S}_{1}$by appending a new sequence$\mathcal {S}_{2}$, so that the appended sequence$\mathcal {S}_{2}$can start fuzzing from states that are different from the initial state; 2) we incorporate a branch distance-based measure to evolve test cases iteratively towards a target branch; 3) we engage a branch search algorithm to discover rare and vulnerable branches, and design an energy allocation mechanism to take care of exercising these crucial branches. We implement IR-Fuzz and extensively evaluate it over 12K real-world contracts. Empirical results show that: (i) IR-Fuzz achieves 28% higher branch coverage than state-of-the-art fuzzing approaches, (ii) IR-Fuzz detects more vulnerabilities and increases the average accuracy of vulnerability detection by 7% over current methods, and (iii) IR-Fuzz is fast, generating an average of 350 test cases per second. Our implementation and dataset are released athttps://github.com/Messi-Q/IR-Fuzz, hoping to facilitate future research.

Overview

Integrity signals

Registry

Crossref · 10.1109/tifs.2023.3237370

Cites

41 of 41 references verified0 citation errors · 0 not checkable

Statistics

Recomputing p-values needs the paper’s full text.

Verification

Claims the paper makes

We couldn’t retrieve this paper’s full text, so its claims and self-check weren’t run. The registry and citation checks still apply.

Citations

Cites

Show all 41 references

Research works printed but not linked: 6

  1. 2021, Reentrancy Attack on Cream Finance
  2. Palladino, 2017, The Parity Wallet Hack Explained
  3. Liu, ReGuard: Finding reentrancy bugs in smart contracts, 65
  4. 2022, Technical ‘Whitepaper’ for AFL
  5. Mueller, 2017, A Framework for Bug Hunting on the Ethereum Blockchain
  6. 2022, Etherscan

Cited by

See all 142

Metadata

Authors
Liu, Z., Qian, P., Yang, J., Liu, L., Xu, X., He, Q., & Zhang, X.
Affiliations
  • Zhejiang University (CN)
  • Zhejiang Gongshang University (CN)
  • University of Electronic Science and Technology of China (CN)
Venue
IEEE Transactions on Information Forensics and Security
Published
2023
Volume
18
Pages
1237-1251
ISSN
  • 1556-6013 (ISSN-L)
  • 1556-6021
OpenAlex
W4316661173
Cited by
138
References
41
Citations by year
2026: 30 · 2025: 50 · 2024: 44 · 2023: 14
FWCI
95.80
Type
journal article
Language
en
Open access
Locations
  • IEEE Transactions on Information Forensics and Security (publishedVersion)
  • arXiv (Cornell University) (submittedVersion)
  • arXiv (Cornell University)
Funders
  • National Key Research and Development Program of China (2021YFB2700500)
  • Key Research and Development Program of Zhejiang Province (2022C01086, 2021C01104)
  • Scientific Research Fund of Zhejiang Provincial Education Department (Y202250832)
Topics
  • Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
  • Physical Sciences › Computer Science › Information Systems › Blockchain Technology Applications and Security
  • Physical Sciences › Computer Science › Computational Theory and Mathematics › Formal Methods in Verification
Keywords
smart contracts, energy allocation, vulnerability detection, test case generation

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

How to cite

Cite CoChat for the checks on this page, and the paper for its own findings.

This page
CoChat. (2026). Citation check: Rethinking Smart Contract Fuzzing: Fuzzing With Invocation Ordering and Important Branch Revisiting. https://app.cochat.ai/papers/10.1109/tifs.2023.3237370
The paper
Liu, Z., Qian, P., Yang, J., Liu, L., Xu, X., He, Q., & Zhang, X. (2023). Rethinking Smart Contract Fuzzing: Fuzzing With Invocation Ordering and Important Branch Revisiting. IEEE Transactions on Information Forensics and Security. https://doi.org/10.1109/tifs.2023.3237370

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.