TokenAuditor: Detecting Manipulation Risk in Token Smart Contract by Fuzzing
Abstract
Decentralized cryptocurrencies are influential smart contract applications in the blockchain, drawing interest from industry and academia. The capacity to govern and manage token behavior provided by the token smart contract adds to thriving decentralized applications. However, token smart contracts face security challenges in technology weakness and manipulation risks. In this work, we briefly describe the manipulation risk and propose TokenAuditor, a fuzzing framework detecting those risks in token smart contracts. TokenAuditor constructs basic blocks based on the contract bytecodes and adopts the rarity selection and mutation strategy to generate test cases. The main idea is to select the test cases that have hit rare basic blocks since the fuzzing started as candidates and perform mutation operations on them. In our evaluation, TokenAudiotr discovered 664 manipulation risks of four types in 4021 real-world token contracts.
BibTeX
@inproceedings{cao2022tokenauditor,
author = {Mingpei Cao and Yueze Zhang and Zhenxuan Feng and Jiahao Hu and Yuesheng Zhu},
title = {{TokenAuditor: Detecting Manipulation Risk in Token Smart Contract by Fuzzing}},
booktitle = {QRS},
year = {2022},
url = {https://openreview.net/forum?id=oPV59ZpCJ-U},
}Ask Althea to put this paper to the test.
Loading related content...