arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2309.08474cs.CRcs.AI
收藏

VulnSense:基于图神经网络与语言模型多模态学习的高效以太坊智能合约漏洞检测

VulnSense: Efficient Vulnerability Detection in Ethereum Smart Contracts by Multimodal Learning with Graph Neural Network and Language Model

University of Information Technology(信息技术大学);Vietnam National University Ho Chi Minh City(胡志明市越南国家大学)

Phan The Duy, Nghi Hoang Khoa, Nguyen Huu Quyen, Le Cong Trinh, Vu Trung Kien, Trinh Minh Hoang, Van-Hau Pham

AI总结:

本文提出VulnSense框架,结合源代码、操作码序列和控制流图三种特征,利用BERT、BiLSTM和GNN多模态学习高效检测以太坊智能合约漏洞,在1.769个合约上平均准确率达77.96%。

摘要:

本文提出了VulnSense框架,这是一种在基于图的模型和自然语言处理(NLP)模型上使用多模态学习方法来高效检测以太坊智能合约漏洞的综合方法。我们提出的框架结合了来自智能合约的三种特征,包括源代码、操作码序列以及从字节码中提取的控制流图(CFG)。我们采用来自Transformers的双向编码器表示(BERT)、双向长短期记忆(BiLSTM)和图神经网络(GNN)模型来提取和分析这些特征。我们多模态方法的最后一层由一个用于预测以太坊智能合约漏洞的全连接层组成。针对依赖单特征或单模型深度学习技术的现有漏洞检测方法的局限性,我们的方法突破了准确性和有效性的限制。我们使用由三个数据集(Curated、SolidiFI-Benchmark和Smartbugs Wild)组合而成的1.769个智能合约集合来评估VulnSense。然后,我们将其与由GNN、BiLSTM和BERT架构提供的各种单模态和多模态学习技术进行了比较。实验结果证明了我们提出方法的优越性能,在所有三类漏洞智能合约中实现了77.96%的平均准确率。

英文摘要:

This paper presents VulnSense framework, a comprehensive approach to efficiently detect vulnerabilities in Ethereum smart contracts using a multimodal learning approach on graph-based and natural language processing (NLP) models. Our proposed framework combines three types of features from smart contracts comprising source code, opcode sequences, and control flow graph (CFG) extracted from bytecode. We employ Bidirectional Encoder Representations from Transformers (BERT), Bidirectional Long Short-Term Memory (BiLSTM) and Graph Neural Network (GNN) models to extract and analyze these features. The final layer of our multimodal approach consists of a fully connected layer used to predict vulnerabilities in Ethereum smart contracts. Addressing limitations of existing vulnerability detection methods relying on single-feature or single-model deep learning techniques, our method surpasses accuracy and effectiveness constraints. We assess VulnSense using a collection of 1.769 smart contracts derived from the combination of three datasets: Curated, SolidiFI-Benchmark, and Smartbugs Wild. We then make a comparison with various unimodal and multimodal learning techniques contributed by GNN, BiLSTM and BERT architectures. The experimental outcomes demonstrate the superior performance of our proposed approach, achieving an average accuracy of 77.96\% across all three categories of vulnerable smart contracts.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑