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 被引量:8
标识
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
刚刚
cherry bomb完成签到,获得积分10
1秒前
gogogog完成签到 ,获得积分10
1秒前
神勇静枫完成签到,获得积分10
3秒前
优秀扬完成签到,获得积分10
5秒前
卡莎完成签到,获得积分10
6秒前
慧海拾穗完成签到 ,获得积分10
6秒前
江流有声完成签到 ,获得积分10
8秒前
踏水追风完成签到,获得积分10
9秒前
lurenjia009完成签到,获得积分10
11秒前
NexusExplorer应助RPG采纳,获得10
11秒前
夜信完成签到,获得积分10
13秒前
phil完成签到,获得积分10
13秒前
微生完成签到 ,获得积分10
14秒前
滴滴滴完成签到,获得积分10
15秒前
aq22发布了新的文献求助10
16秒前
bubble完成签到 ,获得积分10
16秒前
16秒前
华仔应助Tonald Yang采纳,获得10
16秒前
allia完成签到 ,获得积分10
19秒前
诸葛烤鸭完成签到,获得积分10
20秒前
会撒娇的书白完成签到 ,获得积分10
20秒前
吴荣方发布了新的文献求助10
21秒前
加载文献别卡了完成签到,获得积分10
22秒前
科研执修完成签到,获得积分10
22秒前
23秒前
感动的老虎完成签到,获得积分10
24秒前
Echo1128完成签到 ,获得积分10
24秒前
简单的铃铛完成签到 ,获得积分10
26秒前
可靠之玉完成签到,获得积分10
27秒前
玩命的外套完成签到,获得积分10
28秒前
端庄千琴完成签到,获得积分10
28秒前
落红禹03发布了新的文献求助10
28秒前
28秒前
蓝桉完成签到 ,获得积分10
28秒前
aq22完成签到 ,获得积分10
28秒前
杨江丽完成签到 ,获得积分10
29秒前
2012csc完成签到 ,获得积分0
29秒前
个性的语山完成签到,获得积分10
29秒前
範範完成签到,获得积分10
30秒前
高分求助中
Technologies supporting mass customization of apparel: A pilot project 600
Izeltabart tapatansine - AdisInsight 500
Chinesen in Europa – Europäer in China: Journalisten, Spione, Studenten 500
Arthur Ewert: A Life for the Comintern 500
China's Relations With Japan 1945-83: The Role of Liao Chengzhi // Kurt Werner Radtke 500
Two Years in Peking 1965-1966: Book 1: Living and Teaching in Mao's China // Reginald Hunt 500
Epigenetic Drug Discovery 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 物理 生物化学 纳米技术 计算机科学 化学工程 内科学 复合材料 物理化学 电极 遗传学 量子力学 基因 冶金 催化作用
热门帖子
关注 科研通微信公众号,转发送积分 3815941
求助须知:如何正确求助?哪些是违规求助? 3359417
关于积分的说明 10402560
捐赠科研通 3077261
什么是DOI,文献DOI怎么找? 1690255
邀请新用户注册赠送积分活动 813693
科研通“疑难数据库(出版商)”最低求助积分说明 767743