Smart Contract Vulnerability Detection Model Based on Siamese Network (SCVSN): A Case Study of Reentrancy Vulnerability
Open Access
Abstract
Blockchain technology is currently evolving rapidly, and smart contracts are the hallmark of the second generation of blockchains. Currently, smart contracts are gradually being used in power system networks to build a decentralized energy system. Security is very important to power systems and attacks launched against smart contract vulnerabilities occur frequently, seriously affecting the development of the smart contract ecosystem. Current smart contract vulnerability detection tools suffer from low correct rates and high false positive rates, which cannot meet current needs. Therefore, we propose a smart contract vulnerability detection system based on the Siamese network in this paper. We improved the original Siamese network model to perform smart contract vulnerability detection by comparing the similarity of two sub networks with the same structure and shared parameters. We also demonstrate, through extensive experiments, that the model has better vulnerability detection performance and lower false alarm rate compared with previous research results.Keywords
Funding Information
- National Natural Science Foundation of China (62172353, U20B2046, FNSRFP-2021-YB-48, 1221045)
- Future Network Scientific Research Fund Project (62172353, U20B2046, FNSRFP-2021-YB-48, 1221045)
- Innovation Fund Program of the Engineering Research Center for Integration and Application of Digital Learning Technology of Ministry of Education (62172353, U20B2046, FNSRFP-2021-YB-48, 1221045)
This publication has 23 references indexed in Scilit:
- Transductive LSTM for time-series prediction: An application to weather forecastingNeural Networks, 2020
- An exploratory study of smart contracts in the Ethereum blockchain platformEmpirical Software Engineering, 2020
- Towards Automated Reentrancy Detection for Smart Contracts Based on Sequential ModelsIEEE Access, 2020
- SCCNN: A Diagnosis Method for Hepatocellular Carcinoma and Intrahepatic Cholangiocarcinoma Based on Siamese Cross Contrast Neural NetworkIEEE Access, 2020
- Visual Object Tracking by Hierarchical Attention Siamese NetworkIEEE Transactions on Cybernetics, 2019
- DeepCoin: A Novel Deep Learning and Blockchain-Based Energy Exchange Framework for Smart GridsIEEE Transactions on Engineering Management, 2019
- Alzheimer's disease diagnosis from structural MRI using Siamese convolutional neural network2019
- Word2Vec Model Analysis for Semantic Similarities in English WordsProcedia Computer Science, 2019
- Distributed Blockchain-Based Data Protection Framework for Modern Power Systems Against Cyber AttacksIEEE Transactions on Smart Grid, 2018
- Is a ‘smart contract’ really a smart idea? Insights from a legal perspectiveComputer Law & Security Review, 2017