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 BV]
卷期号:242: 110238-110238 被引量:52
标识
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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
程知知发布了新的文献求助10
刚刚
大个应助jimskylxk采纳,获得10
1秒前
小海绵完成签到,获得积分10
2秒前
4秒前
Hzw完成签到,获得积分10
4秒前
zhou_完成签到,获得积分10
5秒前
哈哈哈哈哈完成签到,获得积分10
6秒前
6秒前
leclerc完成签到,获得积分10
9秒前
9秒前
9秒前
cyhisdog发布了新的文献求助10
9秒前
9秒前
VE发布了新的文献求助10
9秒前
10秒前
10秒前
10秒前
CipherSage应助科研通管家采纳,获得10
10秒前
领导范儿应助科研通管家采纳,获得10
10秒前
乐乐应助科研通管家采纳,获得10
10秒前
蓝天应助科研通管家采纳,获得10
10秒前
无极微光应助科研通管家采纳,获得20
10秒前
共享精神应助科研通管家采纳,获得30
10秒前
蓝天应助科研通管家采纳,获得10
10秒前
Rui完成签到,获得积分10
11秒前
急急急发布了新的文献求助30
11秒前
jyy发布了新的文献求助10
12秒前
Marita完成签到,获得积分10
12秒前
科研通AI6.4应助zzyzzyz采纳,获得10
13秒前
13秒前
13秒前
Violet完成签到,获得积分10
14秒前
14秒前
温柔的代芙完成签到,获得积分10
14秒前
科研通AI6.4应助九月采纳,获得10
15秒前
16秒前
177ycd完成签到,获得积分10
16秒前
16秒前
开心完成签到,获得积分10
17秒前
jimskylxk发布了新的文献求助10
18秒前
高分求助中
Metallurgy at high pressures and high temperatures 2000
PowerCascade: A Synthetic Dataset for Cascading Failure Analysis in Power Systems 1000
Relationship between smartphone usage in changes of ocular biometry components and refraction among elementary school children 800
The SAGE Dictionary of Qualitative Inquiry 610
Signals, Systems, and Signal Processing 610
An Introduction to Medicinal Chemistry 第六版习题答案 600
应急管理理论与实践 530
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6335976
求助须知:如何正确求助?哪些是违规求助? 8151924
关于积分的说明 17120332
捐赠科研通 5391555
什么是DOI,文献DOI怎么找? 2857632
邀请新用户注册赠送积分活动 1835186
关于科研通互助平台的介绍 1685919