Felix: A Model of Detecting Off-chain Abnormal States in Decentralized Applications

Lianhai Wang, Qihao Huang, Wei Shao, Jinpeng Wang, Xiaoqian Liu, Fansheng Wang · 2023

With the rapid development of blockchain technology, the use of decentralized applications (DApps) has experienced significant growth. However, current testing methods for DApps primarily focus on testing the smart contracts on the blockchain, which are the foundation of DApps, but lack a comprehensive approach to effectively detect off-chain abnormal states. To address this issue, this paper proposes a generic abnormal state detection model based on off-chain transaction data. The model leverages the DApp program code logic to set up test oracles to analyze off-chain transaction data. Experimental results demonstrate that the model achieves high accuracy in detecting off-chain abnormal states, with a prediction accuracy as high as 96.3%. Furthermore, a comparison with other related vulnerability detection methods shows the advantages of the proposed approach.

Read the paper · More papers on PaperTik