Journal of Applied Sciences ›› 2024, Vol. 42 ›› Issue (2): 364-374.doi: 10.3969/j.issn.0255-8297.2024.02.016

• Computer Science and Applications • Previous Articles    

Smart Contract Vulnerability Detection of Symbol Execution with Critical Path Pre-searching

WANG Zexu1,2,3, WEN Bin1,3   

  1. 1. Key Laboratory of Data Science and Smart Education, Ministry of Education, Hainan Normal University, Haikou 571158, Hainan, China;
    2. School of Software Engineering, Sun Yat-sen University, Zhuhai 519082, Guangdong, China;
    3. School of Information Science and Technology, Hainan Normal University, Haikou 571158, Hainan, China
  • Received:2022-08-14 Online:2024-03-31 Published:2024-03-28

Abstract: This paper proposes a pre-searching paths for symbolic execution method to guide the critical path symbol execution of scanning smart contract vulnerabilities through static detection. This approach aims to avoid unnecessary resource consumption of path search, thereby achieving accurate and fast smart contract vulnerability detection. This method is compared with existing mainstream detection tools. The results show that the Gas exhaustion denial of service vulnerability coverage reaches 98%, with a detection accuracy of 84.3%, which is far higher than the average value of 37.2%. Furthermore, the full coverage of storage coverage vulnerability contracts is realized with a detection accuracy of 86.1%, which validates the efficiency and stability of this method.

Key words: smart contract, vulnerability detection, symbol execution, pre-search of critical path, blockchain security

CLC Number: