Cargando…

A Novel Smart Contract Vulnerability Detection Method Based on Information Graph and Ensemble Learning

Blockchain presents a chance to address the security and privacy issues of the Internet of Things; however, blockchain itself has certain security issues. How to accurately identify smart contract vulnerabilities is one of the key issues at hand. Most existing methods require large-scale data suppor...

Descripción completa

Detalles Bibliográficos
Autores principales: Zhang, Lejun, Wang, Jinlong, Wang, Weizheng, Jin, Zilong, Zhao, Chunhui, Cai, Zhennao, Chen, Huiling
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9105394/
https://www.ncbi.nlm.nih.gov/pubmed/35591270
http://dx.doi.org/10.3390/s22093581
_version_ 1784708030013636608
author Zhang, Lejun
Wang, Jinlong
Wang, Weizheng
Jin, Zilong
Zhao, Chunhui
Cai, Zhennao
Chen, Huiling
author_facet Zhang, Lejun
Wang, Jinlong
Wang, Weizheng
Jin, Zilong
Zhao, Chunhui
Cai, Zhennao
Chen, Huiling
author_sort Zhang, Lejun
collection PubMed
description Blockchain presents a chance to address the security and privacy issues of the Internet of Things; however, blockchain itself has certain security issues. How to accurately identify smart contract vulnerabilities is one of the key issues at hand. Most existing methods require large-scale data support to avoid overfitting; machine learning (ML) models trained on small-scale vulnerability data are often difficult to produce satisfactory results in smart contract vulnerability prediction. However, in the real world, collecting contractual vulnerability data requires huge human and time costs. To alleviate these problems, this paper proposed an ensemble learning (EL)-based contract vulnerability prediction method, which is based on seven different neural networks using contract vulnerability data for contract-level vulnerability detection. Seven neural network (NN) models were first pretrained using an information graph (IG) consisting of source datasets, which then were integrated into an ensemble model called Smart Contract Vulnerability Detection method based on Information Graph and Ensemble Learning (SCVDIE). The effectiveness of the SCVDIE model was verified using a target dataset composed of IG, and then its performances were compared with static tools and seven independent data-driven methods. The verification and comparison results show that the proposed SCVDIE method has higher accuracy and robustness than other data-driven methods in the target task of predicting smart contract vulnerabilities.
format Online
Article
Text
id pubmed-9105394
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-91053942022-05-14 A Novel Smart Contract Vulnerability Detection Method Based on Information Graph and Ensemble Learning Zhang, Lejun Wang, Jinlong Wang, Weizheng Jin, Zilong Zhao, Chunhui Cai, Zhennao Chen, Huiling Sensors (Basel) Article Blockchain presents a chance to address the security and privacy issues of the Internet of Things; however, blockchain itself has certain security issues. How to accurately identify smart contract vulnerabilities is one of the key issues at hand. Most existing methods require large-scale data support to avoid overfitting; machine learning (ML) models trained on small-scale vulnerability data are often difficult to produce satisfactory results in smart contract vulnerability prediction. However, in the real world, collecting contractual vulnerability data requires huge human and time costs. To alleviate these problems, this paper proposed an ensemble learning (EL)-based contract vulnerability prediction method, which is based on seven different neural networks using contract vulnerability data for contract-level vulnerability detection. Seven neural network (NN) models were first pretrained using an information graph (IG) consisting of source datasets, which then were integrated into an ensemble model called Smart Contract Vulnerability Detection method based on Information Graph and Ensemble Learning (SCVDIE). The effectiveness of the SCVDIE model was verified using a target dataset composed of IG, and then its performances were compared with static tools and seven independent data-driven methods. The verification and comparison results show that the proposed SCVDIE method has higher accuracy and robustness than other data-driven methods in the target task of predicting smart contract vulnerabilities. MDPI 2022-05-08 /pmc/articles/PMC9105394/ /pubmed/35591270 http://dx.doi.org/10.3390/s22093581 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
Wang, Jinlong
Wang, Weizheng
Jin, Zilong
Zhao, Chunhui
Cai, Zhennao
Chen, Huiling
A Novel Smart Contract Vulnerability Detection Method Based on Information Graph and Ensemble Learning
title A Novel Smart Contract Vulnerability Detection Method Based on Information Graph and Ensemble Learning
title_full A Novel Smart Contract Vulnerability Detection Method Based on Information Graph and Ensemble Learning
title_fullStr A Novel Smart Contract Vulnerability Detection Method Based on Information Graph and Ensemble Learning
title_full_unstemmed A Novel Smart Contract Vulnerability Detection Method Based on Information Graph and Ensemble Learning
title_short A Novel Smart Contract Vulnerability Detection Method Based on Information Graph and Ensemble Learning
title_sort novel smart contract vulnerability detection method based on information graph and ensemble learning
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9105394/
https://www.ncbi.nlm.nih.gov/pubmed/35591270
http://dx.doi.org/10.3390/s22093581
work_keys_str_mv AT zhanglejun anovelsmartcontractvulnerabilitydetectionmethodbasedoninformationgraphandensemblelearning
AT wangjinlong anovelsmartcontractvulnerabilitydetectionmethodbasedoninformationgraphandensemblelearning
AT wangweizheng anovelsmartcontractvulnerabilitydetectionmethodbasedoninformationgraphandensemblelearning
AT jinzilong anovelsmartcontractvulnerabilitydetectionmethodbasedoninformationgraphandensemblelearning
AT zhaochunhui anovelsmartcontractvulnerabilitydetectionmethodbasedoninformationgraphandensemblelearning
AT caizhennao anovelsmartcontractvulnerabilitydetectionmethodbasedoninformationgraphandensemblelearning
AT chenhuiling anovelsmartcontractvulnerabilitydetectionmethodbasedoninformationgraphandensemblelearning
AT zhanglejun novelsmartcontractvulnerabilitydetectionmethodbasedoninformationgraphandensemblelearning
AT wangjinlong novelsmartcontractvulnerabilitydetectionmethodbasedoninformationgraphandensemblelearning
AT wangweizheng novelsmartcontractvulnerabilitydetectionmethodbasedoninformationgraphandensemblelearning
AT jinzilong novelsmartcontractvulnerabilitydetectionmethodbasedoninformationgraphandensemblelearning
AT zhaochunhui novelsmartcontractvulnerabilitydetectionmethodbasedoninformationgraphandensemblelearning
AT caizhennao novelsmartcontractvulnerabilitydetectionmethodbasedoninformationgraphandensemblelearning
AT chenhuiling novelsmartcontractvulnerabilitydetectionmethodbasedoninformationgraphandensemblelearning