Cargando…
CBGRU: A Detection Method of Smart Contract Vulnerability Based on a Hybrid Model
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 recei...
Autores principales: | , , , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
MDPI
2022
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9104336/ https://www.ncbi.nlm.nih.gov/pubmed/35591263 http://dx.doi.org/10.3390/s22093577 |
_version_ | 1784707769614467072 |
---|---|
author | Zhang, Lejun Chen, Weijie Wang, Weizheng Jin, Zilong Zhao, Chunhui Cai, Zhennao Chen, Huiling |
author_facet | Zhang, Lejun Chen, Weijie Wang, Weizheng Jin, Zilong Zhao, Chunhui Cai, Zhennao Chen, Huiling |
author_sort | Zhang, Lejun |
collection | PubMed |
description | 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. |
format | Online Article Text |
id | pubmed-9104336 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | MDPI |
record_format | MEDLINE/PubMed |
spelling | pubmed-91043362022-05-14 CBGRU: A Detection Method of Smart Contract Vulnerability Based on a Hybrid Model Zhang, Lejun Chen, Weijie Wang, Weizheng Jin, Zilong Zhao, Chunhui Cai, Zhennao Chen, Huiling Sensors (Basel) Article 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. MDPI 2022-05-07 /pmc/articles/PMC9104336/ /pubmed/35591263 http://dx.doi.org/10.3390/s22093577 Text en © 2022 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). |
spellingShingle | Article Zhang, Lejun Chen, Weijie Wang, Weizheng Jin, Zilong Zhao, Chunhui Cai, Zhennao Chen, Huiling CBGRU: A Detection Method of Smart Contract Vulnerability Based on a Hybrid Model |
title | CBGRU: A Detection Method of Smart Contract Vulnerability Based on a Hybrid Model |
title_full | CBGRU: A Detection Method of Smart Contract Vulnerability Based on a Hybrid Model |
title_fullStr | CBGRU: A Detection Method of Smart Contract Vulnerability Based on a Hybrid Model |
title_full_unstemmed | CBGRU: A Detection Method of Smart Contract Vulnerability Based on a Hybrid Model |
title_short | CBGRU: A Detection Method of Smart Contract Vulnerability Based on a Hybrid Model |
title_sort | cbgru: a detection method of smart contract vulnerability based on a hybrid model |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9104336/ https://www.ncbi.nlm.nih.gov/pubmed/35591263 http://dx.doi.org/10.3390/s22093577 |
work_keys_str_mv | AT zhanglejun cbgruadetectionmethodofsmartcontractvulnerabilitybasedonahybridmodel AT chenweijie cbgruadetectionmethodofsmartcontractvulnerabilitybasedonahybridmodel AT wangweizheng cbgruadetectionmethodofsmartcontractvulnerabilitybasedonahybridmodel AT jinzilong cbgruadetectionmethodofsmartcontractvulnerabilitybasedonahybridmodel AT zhaochunhui cbgruadetectionmethodofsmartcontractvulnerabilitybasedonahybridmodel AT caizhennao cbgruadetectionmethodofsmartcontractvulnerabilitybasedonahybridmodel AT chenhuiling cbgruadetectionmethodofsmartcontractvulnerabilitybasedonahybridmodel |