A vulnerability detection framework by focusing on critical execution paths

脆弱性(计算) 计算机科学 风险分析(工程) 计算机安全 业务
作者
Jianxin Cheng,Yizhou Chen,Yongzhi Cao,Hanpin Wang
出处
期刊:Information & Software Technology [Elsevier]
卷期号:174: 107517-107517
标识
DOI:10.1016/j.infsof.2024.107517
摘要

Vulnerability detection is critical to ensure software security, and detecting vulnerabilities in smart contract code is currently gaining massive attention. Existing deep learning-based vulnerability detection methods represent the code as a code structure graph and eliminate vulnerability-irrelevant nodes. Then, they learn vulnerability-related code features from the simplified graph for vulnerability detection. However, this simplified graph struggles to represent relatively complete structural information of code, which may affect the performance of existing vulnerability detection methods. In this paper, we present a novel Vulnerability Detection framework based on Critical Execution Paths (VDCEP), which aims to improve smart contract vulnerability detection. Firstly, given a code structure graph, we deconstruct it into multiple execution paths that reflect rich structural information of code. To reduce irrelevant code information, a path selection strategy is employed to identify critical execution paths that may contain vulnerable code information. Secondly, a feature extraction module is adopted to learn feature representations of critical paths. Finally, we feed all path feature representations into a classifier for vulnerability detection. Also, the feature weights of paths are provided to measure their importance in vulnerability detection. We evaluate VDCEP on a large dataset with four types of smart contract vulnerabilities. Results show that VDCEP outperforms 14 representative vulnerability detection methods by 5.34%–60.88% in F1-score. The ablation studies analyze the effects of our path selection strategy and feature extraction module on VDCEP. Moreover, VDCEP still outperforms ChatGPT by 34.46% in F1-score. Compared to existing vulnerability detection methods, VDCEP is more effective in detecting smart contract vulnerabilities by utilizing critical execution paths. Besides, we can provide interpretable details about vulnerability detection by analyzing the path feature weights.

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
wanci应助丘奇采纳,获得10
1秒前
qwe完成签到,获得积分10
1秒前
zyx完成签到,获得积分10
3秒前
够苟完成签到 ,获得积分10
4秒前
gb完成签到 ,获得积分10
4秒前
碧蓝的幻悲完成签到 ,获得积分10
4秒前
5秒前
甜甜圈完成签到 ,获得积分10
5秒前
1_1完成签到,获得积分10
5秒前
慕山完成签到 ,获得积分10
6秒前
poly完成签到,获得积分10
6秒前
侯侯完成签到,获得积分10
7秒前
7秒前
LJ_2完成签到 ,获得积分10
9秒前
妩媚的问丝完成签到 ,获得积分10
9秒前
李爱国应助文艺尔柳采纳,获得10
10秒前
芹菜完成签到 ,获得积分10
10秒前
srz楠楠完成签到,获得积分10
10秒前
量子星尘发布了新的文献求助10
10秒前
leuchten完成签到,获得积分10
11秒前
克偃统统完成签到,获得积分10
13秒前
丘奇发布了新的文献求助10
13秒前
qry完成签到,获得积分10
14秒前
YUYI完成签到,获得积分10
14秒前
娃哈哈完成签到,获得积分10
14秒前
15秒前
开心完成签到 ,获得积分10
17秒前
天天开心完成签到 ,获得积分10
18秒前
18秒前
19秒前
叶光大完成签到 ,获得积分10
19秒前
Yinglin完成签到 ,获得积分10
19秒前
王佳豪完成签到,获得积分10
20秒前
XiLin完成签到,获得积分10
22秒前
风清扬应助丘奇采纳,获得10
22秒前
化工牛马发布了新的文献求助10
23秒前
23秒前
wenwenwang完成签到 ,获得积分10
25秒前
Hoodie完成签到,获得积分10
25秒前
leclerc完成签到,获得积分10
26秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Predation in the Hymenoptera: An Evolutionary Perspective 1800
List of 1,091 Public Pension Profiles by Region 1561
Binary Alloy Phase Diagrams, 2nd Edition 1200
Holistic Discourse Analysis 600
Beyond the sentence: discourse and sentential form / edited by Jessica R. Wirth 600
Atlas of Liver Pathology: A Pattern-Based Approach 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 纳米技术 计算机科学 内科学 化学工程 复合材料 物理化学 基因 遗传学 催化作用 冶金 量子力学 光电子学
热门帖子
关注 科研通微信公众号,转发送积分 5510147
求助须知:如何正确求助?哪些是违规求助? 4604792
关于积分的说明 14490231
捐赠科研通 4539813
什么是DOI,文献DOI怎么找? 2487706
邀请新用户注册赠送积分活动 1469989
关于科研通互助平台的介绍 1442453