DA-GNN: A smart contract vulnerability detection method based on Dual Attention Graph Neural Network

计算机科学 对偶(语法数字) 脆弱性(计算) 人工神经网络 图形 人工智能 计算机安全 机器学习 理论计算机科学 艺术 文学类
作者
Zixian Zhen,Xiangfu Zhao,J. Zhang,Yichen Wang,Haiyue Chen
出处
期刊:Computer Networks [Elsevier]
卷期号:: 110238-110238
标识
DOI:10.1016/j.comnet.2024.110238
摘要

A smart contract is an automated computer program based on blockchain technology. In recent years, the security incidents of smart contracts have caused serious economic losses. However, existing smart contract vulnerability detection methods rely on fixed expert rules, resulting in reduced detection accuracy and scalability. Therefore, addressing the issues of low accuracy in traditional smart contract vulnerability detection methods and the insufficient feature extraction in neural network-based approaches for smart contracts, this paper introduces an intelligent contract vulnerability identification method, Dual Attention Graph Neural Network (DA-GNN). Firstly, DA-GNN transforms the operation code sequence of nodes in the smart contract Control Flow Graph (CFG) into a feature matrix of semantic features and relationships between nodes based on the five types of instructions we propose. Secondly, our proposed dual attention mechanism introduces node semantic features and relationship features between nodes into the GAT to achieve node embedding updates. The updated graph node information is fused through self-attention mechanism to obtain the graph features. Then, the classification and prediction of vulnerabilities are achieved through the classification module. Finally, we evaluated our method on 17,670 real smart contracts. The experimental results show that the precision in detecting integer overflow vulnerabilities, self-destruct vulnerabilities, and transaction sequence dependency vulnerabilities reaches 72.17%, 67.03%, and 73.66%, respectively.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
大幅提高文件上传限制,最高150M (2024-4-1)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
5秒前
小潘同学完成签到,获得积分10
5秒前
9秒前
75986686完成签到,获得积分10
9秒前
美年达完成签到,获得积分10
11秒前
赘婿应助科研通管家采纳,获得10
13秒前
Lucas应助科研通管家采纳,获得10
13秒前
搜集达人应助科研通管家采纳,获得100
13秒前
benben应助科研通管家采纳,获得10
13秒前
Cactus应助科研通管家采纳,获得10
13秒前
赘婿应助科研通管家采纳,获得10
13秒前
benben应助科研通管家采纳,获得10
13秒前
852应助科研通管家采纳,获得10
13秒前
orixero应助科研通管家采纳,获得10
13秒前
不碰发布了新的文献求助10
14秒前
syne完成签到,获得积分10
17秒前
luochen完成签到,获得积分10
23秒前
xbo完成签到,获得积分10
24秒前
Ava应助xinru采纳,获得10
27秒前
博士搏斗完成签到 ,获得积分10
32秒前
妖娆的菊花完成签到,获得积分10
33秒前
香蕉觅云应助Singularity采纳,获得10
37秒前
好好学习完成签到 ,获得积分10
39秒前
czj完成签到,获得积分10
39秒前
雨水完成签到,获得积分10
41秒前
浩浩完成签到 ,获得积分10
42秒前
43秒前
危机的泥猴桃完成签到 ,获得积分10
45秒前
莫华龙完成签到,获得积分10
45秒前
大模型应助Singularity采纳,获得10
46秒前
TT完成签到 ,获得积分10
47秒前
鲜于白玉完成签到 ,获得积分10
49秒前
cr4zy411完成签到,获得积分10
56秒前
58秒前
莫华龙发布了新的文献求助10
1分钟前
laii完成签到,获得积分10
1分钟前
wuzhoumeng完成签到,获得积分10
1分钟前
缓慢新梅完成签到,获得积分10
1分钟前
复杂念梦发布了新的文献求助10
1分钟前
陶醉的妖丽完成签到 ,获得积分10
1分钟前
高分求助中
请在求助之前详细阅读求助说明!!!! 20000
Sphäroguß als Werkstoff für Behälter zur Beförderung, Zwischen- und Endlagerung radioaktiver Stoffe - Untersuchung zu alternativen Eignungsnachweisen: Zusammenfassender Abschlußbericht 1500
One Man Talking: Selected Essays of Shao Xunmei, 1929–1939 1000
Yuwu Song, Biographical Dictionary of the People's Republic of China 700
[Lambert-Eaton syndrome without calcium channel autoantibodies] 520
The Three Stars Each: The Astrolabes and Related Texts 500
A radiographic standard of reference for the growing knee 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 有机化学 工程类 生物化学 纳米技术 物理 内科学 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 电极 光电子学 量子力学
热门帖子
关注 科研通微信公众号,转发送积分 2468984
求助须知:如何正确求助?哪些是违规求助? 2136224
关于积分的说明 5442941
捐赠科研通 1860822
什么是DOI,文献DOI怎么找? 925477
版权声明 562694
科研通“疑难数据库(出版商)”最低求助积分说明 495093