CBGRU: A Detection Method of Smart Contract Vulnerability Based on a Hybrid Model
Open Access
Abstract
In the context of the rapid development of blockchain technology, smart contracts have also been widely used in the Internet of Things, finance, healthcare, and other fields. There has been an explosion in the number of smart contracts, and at the same time, the security of smart contracts has received widespread attention because of the financial losses caused by smart contract vulnerabilities. Existing analysis tools can detect many smart contract security vulnerabilities, but because they rely too heavily on hard rules defined by experts when detecting smart contract vulnerabilities, the time to perform the detection increases significantly as the complexity of the smart contract increases. In the present study, we propose a novel hybrid deep learning model named CBGRU that strategically combines different word embedding (Word2Vec, FastText) with different deep learning methods (LSTM, GRU, BiLSTM, CNN, BiGRU). The model extracts features through different deep learning models and combine these features for smart contract vulnerability detection. On the currently publicly available dataset SmartBugs Dataset-Wild, we demonstrate that the CBGRU hybrid model has great smart contract vulnerability detection performance through a series of experiments. By comparing the performance of the proposed model with that of past studies, the CBGRU model has better smart contract vulnerability detection performance.Keywords
Funding Information
- National Key Research and Development Program of China (2021YFE0102100, 62172353, FNSRFP-2021-YB-48, YZU202003, XYDXX-108)
- National Natural Science Foundation of China (2021YFE0102100, 62172353, FNSRFP-2021-YB-48, YZU202003, XYDXX-108)
- Future Network Scientific Research Fund (2021YFE0102100, 62172353, FNSRFP-2021-YB-48, YZU202003, XYDXX-108)
- Science and Technology Program of Yangzhou City (2021YFE0102100, 62172353, FNSRFP-2021-YB-48, YZU202003, XYDXX-108)
- Six Talent Peaks Project in Jiangsu Province (2021YFE0102100, 62172353, FNSRFP-2021-YB-48, YZU202003, XYDXX-108)
This publication has 33 references indexed in Scilit:
- Towards Automated Reentrancy Detection for Smart Contracts Based on Sequential ModelsIEEE Access, 2020
- Optimal Dispatching of Electric Vehicles Based on Smart Contract and Internet of ThingsIEEE Access, 2019
- Deep Air Quality Forecasting Using Hybrid Deep Learning FrameworkIEEE Transactions on Knowledge and Data Engineering, 2019
- LSTM Learning With Bayesian and Gaussian Processing for Anomaly Detection in Industrial IoTIEEE Transactions on Industrial Informatics, 2019
- Smart Contract Development: Challenges and OpportunitiesIEEE Transactions on Software Engineering, 2019
- A Survey on Security Verification of Blockchain Smart ContractsIEEE Access, 2019
- A Novel Deep Learning Method for Intelligent Fault Diagnosis of Rotating Machinery Based on Improved CNN-SVM and Multichannel Data FusionSensors, 2019
- Predicting DNA Methylation States with Hybrid Information Based Deep-Learning ModelIEEE/ACM Transactions on Computational Biology and Bioinformatics, 2019
- Blockchain-Enabled Smart Contracts: Architecture, Applications, and Future TrendsIEEE Transactions on Systems, Man, and Cybernetics: Systems, 2019
- Application of Blockchain to Supply Chain: Flexible Blockchain TechnologyProcedia Computer Science, 2019