Improving Vulnerability Detection with Hybrid Code Graph Representation

计算机科学 脆弱性(计算) 图形 编码(集合论) 代表(政治) 理论计算机科学 程序设计语言 计算机安全 政治学 政治 集合(抽象数据类型) 法学
作者
Xiangxin Meng,Shaoxiao Lu,Xu Wang,Xudong Liu,Chunming Hu
标识
DOI:10.1109/apsec60848.2023.00036
摘要

The increasing richness of software applications contributes to the enhanced productivity and convenience in daily life. However, the growing software complexity simultaneously poses significant challenges to software security. As one of the most important solutions, vulnerability detection technology attracts increasing attention. This paper proposes a novel vulnerability detection method HybridNN based on graph neural networks (GNNs). To begin, we simplify the code property graph (CPG) to design a hybrid code graph (HCG) which is better suitable for the deep semantic extraction via GNN models. Subsequently, the datasets consisting of considerable amount of samples including both artificially synthesized and real-world vulnerabilities are constructed. Next, we leverage a GNN model with a hierarchical attention mechanism which is proficient in extracting deep semantics in heterogeneous graphs, and apply it to the newly designed HCG representation. Moreover, we propose UD-Sampling method, which combines up-sampling and down-sampling methods, to balance the distribution of the training samples. Finally, extensive experiments are conducted, showing that HybridNN outperforms all baseline methods.
最长约 10秒,即可获得该文献文件

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

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
负责冰凡发布了新的文献求助10
刚刚
刚刚
Flori发布了新的文献求助30
2秒前
3秒前
3秒前
5秒前
6秒前
砂糖发布了新的文献求助10
6秒前
haha发布了新的文献求助10
6秒前
8秒前
靓丽白卉完成签到,获得积分10
8秒前
老艺术家发布了新的文献求助10
9秒前
SHASHA完成签到,获得积分10
9秒前
海丽完成签到 ,获得积分10
10秒前
Lost发布了新的文献求助10
10秒前
笨笨松发布了新的文献求助10
10秒前
勤奋幻天完成签到 ,获得积分10
10秒前
11秒前
like发布了新的文献求助10
12秒前
复杂硬币完成签到,获得积分20
12秒前
14秒前
14秒前
14秒前
jjamazing应助负责冰凡采纳,获得10
14秒前
情怀应助Lost采纳,获得10
15秒前
15秒前
CharlotteBlue应助复杂硬币采纳,获得30
16秒前
打打应助帅气的小鸭子采纳,获得10
17秒前
17秒前
18秒前
鸡腿战神完成签到,获得积分10
18秒前
ZQ发布了新的文献求助10
18秒前
大模型应助科研通管家采纳,获得10
18秒前
527应助科研通管家采纳,获得20
18秒前
ceeray23应助科研通管家采纳,获得10
19秒前
共享精神应助科研通管家采纳,获得10
19秒前
共享精神应助科研通管家采纳,获得10
19秒前
19秒前
19秒前
华仔应助科研通管家采纳,获得10
19秒前
高分求助中
The Mother of All Tableaux Order, Equivalence, and Geometry in the Large-scale Structure of Optimality Theory 2400
Ophthalmic Equipment Market by Devices(surgical: vitreorentinal,IOLs,OVDs,contact lens,RGP lens,backflush,diagnostic&monitoring:OCT,actorefractor,keratometer,tonometer,ophthalmoscpe,OVD), End User,Buying Criteria-Global Forecast to2029 2000
Optimal Transport: A Comprehensive Introduction to Modeling, Analysis, Simulation, Applications 800
Official Methods of Analysis of AOAC INTERNATIONAL 600
ACSM’s Guidelines for Exercise Testing and Prescription, 12th edition 588
T/CIET 1202-2025 可吸收再生氧化纤维素止血材料 500
Interpretation of Mass Spectra, Fourth Edition 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 内科学 纳米技术 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 冶金 细胞生物学 免疫学
热门帖子
关注 科研通微信公众号,转发送积分 3951026
求助须知:如何正确求助?哪些是违规求助? 3496458
关于积分的说明 11082124
捐赠科研通 3226913
什么是DOI,文献DOI怎么找? 1784016
邀请新用户注册赠送积分活动 868165
科研通“疑难数据库(出版商)”最低求助积分说明 801003