Combine sliced joint graph with graph neural networks for smart contract vulnerability detection

智能合约 计算机科学 图形 程序切片 脆弱性(计算) 依赖关系图 理论计算机科学 计算机安全 软件 程序设计语言 块链
作者
Jie Cai,Bin Li,Jiale Zhang,Xiaobing Sun,Bing Chen
出处
期刊:Journal of Systems and Software [Elsevier]
卷期号:195: 111550-111550 被引量:10
标识
DOI:10.1016/j.jss.2022.111550
摘要

Smart contract security has drawn extensive attention in recent years because of the enormous economic losses caused by vulnerabilities. Even worse, fixing bugs in a deployed smart contract is difficult, so developers must detect security vulnerabilities in a smart contract before deployment. Existing smart contract vulnerability detection efforts heavily rely on fixed rules defined by experts, which are inefficient and inflexible. To overcome the limitations of existing vulnerability detection approaches, we propose a GNN based approach for smart contract vulnerability detection. First, we construct a graph representation for a smart contract function with syntactic and semantic features by combining abstract syntax tree (AST), control flow graph (CFG), and program dependency graph (PDG). To further strengthen the presentation ability of our approach, we perform program slicing to normalize the graph and eliminate the redundant information unrelated to vulnerabilities. Then, we use a Bidirectional Gated Graph Neural-Network model with hybrid attention pooling to identify potential vulnerabilities in smart contract functions. Empirical results show that our approach can achieve 89.2% precision and 92.9% recall in smart contract vulnerability detection on our dataset and reveal the effectiveness and efficiency of our approach.
最长约 10秒,即可获得该文献文件

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

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
缓慢冬天完成签到,获得积分10
刚刚
英俊的铭应助奋斗小兰花采纳,获得10
5秒前
科研小白完成签到,获得积分10
9秒前
13秒前
14秒前
佩奇完成签到,获得积分10
14秒前
英俊的铭应助科研通管家采纳,获得10
15秒前
香蕉觅云应助科研通管家采纳,获得10
15秒前
Ava应助科研通管家采纳,获得10
15秒前
深情安青应助科研通管家采纳,获得10
15秒前
Owen应助科研通管家采纳,获得10
15秒前
15秒前
思源应助科研通管家采纳,获得50
15秒前
小蘑菇应助科研通管家采纳,获得10
15秒前
小蘑菇应助科研通管家采纳,获得10
15秒前
15秒前
隐形曼青应助科研通管家采纳,获得10
15秒前
丘比特应助aman007采纳,获得10
19秒前
缥缈夏寒应助羊不可以采纳,获得10
21秒前
金容完成签到,获得积分10
23秒前
干净菠萝应助狮子座采纳,获得10
23秒前
25秒前
why完成签到 ,获得积分10
28秒前
lll发布了新的文献求助10
29秒前
32秒前
dochx完成签到,获得积分10
36秒前
fiberlaser关注了科研通微信公众号
42秒前
lll完成签到,获得积分10
44秒前
46秒前
COCCUS完成签到 ,获得积分10
46秒前
波波发布了新的文献求助10
47秒前
丘比特应助米儿采纳,获得30
48秒前
HGQ应助狮子座采纳,获得10
49秒前
慧19960418发布了新的文献求助10
50秒前
1分钟前
坚强的广山应助企鹅嗷嗷采纳,获得20
1分钟前
霍山柳发布了新的文献求助10
1分钟前
Emma完成签到,获得积分10
1分钟前
1分钟前
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
india-NATO Dialogue: Addressing International Security and Regional Challenges 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 有机化学 工程类 生物化学 纳米技术 物理 内科学 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 电极 光电子学 量子力学
热门帖子
关注 科研通微信公众号,转发送积分 2469844
求助须知:如何正确求助?哪些是违规求助? 2136988
关于积分的说明 5444974
捐赠科研通 1861323
什么是DOI,文献DOI怎么找? 925714
版权声明 562721
科研通“疑难数据库(出版商)”最低求助积分说明 495151