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)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
甜甜灵槐发布了新的文献求助10
刚刚
刚刚
2秒前
神奇海螺完成签到,获得积分10
2秒前
Njzs完成签到 ,获得积分10
2秒前
oyb完成签到,获得积分10
2秒前
颜凡桃完成签到,获得积分10
4秒前
5秒前
9秒前
yeyuchenfeng发布了新的文献求助10
10秒前
11秒前
11秒前
13秒前
zzznznnn发布了新的文献求助10
14秒前
拉长的菲音完成签到,获得积分10
15秒前
15秒前
15秒前
wangzheng发布了新的文献求助10
16秒前
Annie发布了新的文献求助30
17秒前
雪儿发布了新的文献求助10
18秒前
yoyo完成签到 ,获得积分10
21秒前
Ff完成签到 ,获得积分10
25秒前
26秒前
cuijinru完成签到 ,获得积分10
28秒前
wangzheng完成签到,获得积分20
31秒前
李伟峰完成签到,获得积分10
32秒前
Jodie发布了新的文献求助10
33秒前
NexusExplorer应助donwe采纳,获得10
34秒前
38秒前
春竹完成签到,获得积分20
39秒前
40秒前
小兰花发布了新的文献求助10
41秒前
丢三落四发布了新的文献求助10
42秒前
香香完成签到,获得积分10
42秒前
今后应助幽默火车采纳,获得10
43秒前
44秒前
专注的从筠完成签到,获得积分10
44秒前
44秒前
春竹发布了新的文献求助10
45秒前
Epiphany发布了新的文献求助10
46秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
List of 1,091 Public Pension Profiles by Region 1601
Lloyd's Register of Shipping's Approach to the Control of Incidents of Brittle Fracture in Ship Structures 800
Biology of the Reptilia. Volume 21. Morphology I. The Skull and Appendicular Locomotor Apparatus of Lepidosauria 620
A Guide to Genetic Counseling, 3rd Edition 500
Laryngeal Mask Anesthesia: Principles and Practice. 2nd ed 500
The Composition and Relative Chronology of Dynasties 16 and 17 in Egypt 500
热门求助领域 (近24小时)
化学 材料科学 生物 医学 工程类 计算机科学 有机化学 物理 生物化学 纳米技术 复合材料 内科学 化学工程 人工智能 催化作用 遗传学 数学 基因 量子力学 物理化学
热门帖子
关注 科研通微信公众号,转发送积分 5558022
求助须知:如何正确求助?哪些是违规求助? 4642970
关于积分的说明 14670064
捐赠科研通 4584444
什么是DOI,文献DOI怎么找? 2514849
邀请新用户注册赠送积分活动 1489006
关于科研通互助平台的介绍 1459630