1. Vulnerability detection method for blockchain smart contracts based on metamorphic testing
- Author
-
Jinfu CHEN, Zhenxin WANG, Saihua CAI, Qiaowei FENG, Yuhao CHEN, Rongtian XU, and KwakuKudjo Patrick
- Subjects
software testing ,blockchain ,smart contract ,security vulnerability ,metamorphic testing ,Telecommunication ,TK5101-6720 - Abstract
Aimed at the defects of existing test methods, a vulnerability detection method for blockchain smart contracts based on metamorphic testing was proposed, which could generate test cases for specific functions in blockchain smart contracts to detect possible vulnerabilities.According to the possible security vulnerabilities, different metamorphosis relationships were designed and then metamorphic testing was performed.Through verifying whether the metamorphic relationship between the source test case and the subsequent test case was satisfied, whether the smart contract had related security vulnerabilities was judged.The experimental results show that the proposed method can effectively detect the security vulnerabilities in the smart contracts.
- Published
- 2023
- Full Text
- View/download PDF