Suppr超能文献

基于信息图和集成学习的新型智能合约漏洞检测方法。

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

机构信息

College of Information Engineering, Yangzhou University, Yangzhou 225127, China.

Research and Development Center for E-Learning, Ministry of Education, Beijing 100039, China.

出版信息

Sensors (Basel). 2022 May 8;22(9):3581. doi: 10.3390/s22093581.

Abstract

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.

摘要

区块链为解决物联网的安全和隐私问题提供了契机;然而,区块链本身也存在一定的安全问题。如何准确识别智能合约漏洞是当前亟待解决的关键问题之一。大多数现有的方法需要大规模的数据支持来避免过拟合;在智能合约漏洞预测中,使用小规模漏洞数据训练的机器学习 (ML) 模型往往难以产生令人满意的结果。然而,在现实世界中,收集合约漏洞数据需要巨大的人力和时间成本。为了缓解这些问题,本文提出了一种基于集成学习 (EL) 的合约漏洞预测方法,该方法基于使用合约漏洞数据进行合约级漏洞检测的七个不同神经网络。首先使用由源数据集组成的信息图 (IG) 对七个神经网络 (NN) 模型进行预训练,然后将它们集成到一个称为基于信息图和集成学习的智能合约漏洞检测方法 (SCVDIE) 的集成模型中。使用由 IG 组成的目标数据集验证了 SCVDIE 模型的有效性,然后将其性能与静态工具和七个独立的数据驱动方法进行了比较。验证和比较结果表明,在所提出的目标任务中,即预测智能合约漏洞,SCVDIE 方法比其他数据驱动方法具有更高的准确性和鲁棒性。

https://cdn.ncbi.nlm.nih.gov/pmc/blobs/63b6/9105394/7b0dba1a6783/sensors-22-03581-g001.jpg

文献AI研究员

20分钟写一篇综述,助力文献阅读效率提升50倍。

立即体验

用中文搜PubMed

大模型驱动的PubMed中文搜索引擎

马上搜索

文档翻译

学术文献翻译模型,支持多种主流文档格式。

立即体验