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.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
乐观文龙完成签到,获得积分10
刚刚
Bo发布了新的文献求助20
刚刚
斑马兽发布了新的文献求助10
1秒前
1秒前
宋子虎完成签到 ,获得积分10
2秒前
2秒前
1111完成签到,获得积分10
4秒前
田田圈发布了新的文献求助10
4秒前
咋还完成签到,获得积分10
4秒前
xy完成签到 ,获得积分10
4秒前
Kkxx完成签到 ,获得积分10
4秒前
5秒前
996完成签到,获得积分10
5秒前
ZeKaWa应助小蜗采纳,获得10
6秒前
7秒前
帥鸽完成签到,获得积分10
8秒前
8秒前
隐形曼青应助yls采纳,获得10
8秒前
123发布了新的文献求助10
8秒前
未来可期发布了新的文献求助10
8秒前
周明达发布了新的文献求助10
8秒前
张少良完成签到,获得积分20
9秒前
Extreme_jiang完成签到,获得积分10
10秒前
lastleaves关注了科研通微信公众号
10秒前
ZeKaWa应助优雅的雪一采纳,获得10
11秒前
垚垚发布了新的文献求助10
11秒前
李爱国应助ggfygggg采纳,获得10
12秒前
13秒前
14秒前
16秒前
LL完成签到 ,获得积分10
16秒前
酷波er应助ling22采纳,获得10
16秒前
科研大拿完成签到 ,获得积分10
17秒前
澄桦发布了新的文献求助10
18秒前
18秒前
18秒前
霸王柚柚柚完成签到,获得积分10
18秒前
19秒前
墨怡发布了新的文献求助10
20秒前
NexusExplorer应助小椰子采纳,获得10
20秒前
高分求助中
Overcoming Stigma and Bias in Obesity Management 1200
Signals, Systems, and Signal Processing 610
Software that combines deep learning,3D reconstruction and CFD to analyze the state of carotid arteries from ultrasound imaging 500
Bounds for Statistical Estimation in Semiparametric Models 500
Forced degradation and stability indicating LC method for Letrozole: A stress testing guide 500
Ideology and Meaning-Making under the Putin Regime 450
Adhesion Science: Principles & Practice 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6492575
求助须知:如何正确求助?哪些是违规求助? 8290160
关于积分的说明 17690262
捐赠科研通 5584436
什么是DOI,文献DOI怎么找? 2915380
邀请新用户注册赠送积分活动 1892503
关于科研通互助平台的介绍 1750636