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.
最长约 10秒,即可获得该文献文件

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

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
汉堡包应助chenyutong采纳,获得10
1秒前
Akim应助逐月采纳,获得50
1秒前
1秒前
烟花应助冷酷夜梦采纳,获得10
2秒前
CHENGJIAO发布了新的文献求助10
2秒前
Antil发布了新的文献求助10
3秒前
勤劳的代柔完成签到,获得积分20
3秒前
3秒前
3秒前
michal发布了新的文献求助10
3秒前
5秒前
wanci应助ncjdoi采纳,获得10
5秒前
李健应助123456采纳,获得10
6秒前
6秒前
yeerenn完成签到 ,获得积分10
6秒前
7秒前
7秒前
8秒前
良辰应助加菲丰丰采纳,获得10
8秒前
FashionBoy应助zhangjianing采纳,获得30
8秒前
liyuheng完成签到,获得积分10
8秒前
9秒前
紫色翡翠完成签到,获得积分10
9秒前
9秒前
h7nho发布了新的文献求助10
9秒前
10秒前
充电宝应助科研通管家采纳,获得10
10秒前
香蕉觅云应助科研通管家采纳,获得10
10秒前
美好乐松应助科研通管家采纳,获得10
10秒前
小蘑菇应助科研通管家采纳,获得10
10秒前
小蘑菇应助张英俊采纳,获得10
10秒前
李爱国应助科研通管家采纳,获得10
11秒前
11秒前
打打应助科研通管家采纳,获得10
11秒前
斯文败类应助科研通管家采纳,获得10
11秒前
华仔应助科研通管家采纳,获得10
11秒前
竹筏过海应助科研通管家采纳,获得30
11秒前
所所应助科研通管家采纳,获得10
11秒前
今后应助科研通管家采纳,获得10
11秒前
燕燕发布了新的文献求助10
11秒前
高分求助中
Evolution 10000
Sustainability in Tides Chemistry 2800
юрские динозавры восточного забайкалья 800
English Wealden Fossils 700
A new species of Coccus (Homoptera: Coccoidea) from Malawi 500
A new species of Velataspis (Hemiptera Coccoidea Diaspididae) from tea in Assam 500
Diagnostic immunohistochemistry : theranostic and genomic applications 6th Edition 500
热门求助领域 (近24小时)
化学 医学 生物 材料科学 工程类 有机化学 生物化学 物理 内科学 纳米技术 计算机科学 化学工程 复合材料 基因 遗传学 催化作用 物理化学 免疫学 量子力学 细胞生物学
热门帖子
关注 科研通微信公众号,转发送积分 3155565
求助须知:如何正确求助?哪些是违规求助? 2806679
关于积分的说明 7870461
捐赠科研通 2465012
什么是DOI,文献DOI怎么找? 1312079
科研通“疑难数据库(出版商)”最低求助积分说明 629860
版权声明 601892