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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
赘婿的应助被158zzz采纳,获得10
刚刚
fangyiwen发布了新的文献求助10
刚刚
1秒前
1秒前
滚滚日记完成签到,获得积分10
1秒前
TYLZ的应助被小月月采纳,获得30
1秒前
安静天思完成签到,获得积分10
1秒前
酷波er的应助被自然自行车采纳,获得10
2秒前
2秒前
2秒前
达达利亚完成签到,获得积分10
2秒前
2秒前
orixero的应助被小包谷采纳,获得10
3秒前
我能私信骂你吗的应助被F。采纳,获得10
3秒前
zhj发布了新的文献求助10
3秒前
3秒前
学术文献互助的应助被Danke采纳,获得200
3秒前
科研通AI6.2的应助被楚留殇采纳,获得10
3秒前
wst1988完成签到,获得积分10
3秒前
娇娇尔完成签到,获得积分10
3秒前
牛油果完成签到,获得积分10
3秒前
NexusExplorer的应助被楚留殇采纳,获得10
4秒前
xnz完成签到,获得积分20
4秒前
深情安青的应助被楚留殇采纳,获得10
4秒前
能干的静枫完成签到,获得积分10
4秒前
DYY完成签到,获得积分10
4秒前
乐乐的应助被小土豆采纳,获得10
4秒前
4秒前
4秒前
执着夜南完成签到,获得积分10
4秒前
hx完成签到,获得积分20
4秒前
满意的聋五完成签到,获得积分10
5秒前
ZZsimon完成签到,获得积分10
5秒前
豆豆完成签到,获得积分10
5秒前
微微发布了新的文献求助10
5秒前
汪爷爷完成签到,获得积分10
6秒前
tony完成签到,获得积分10
6秒前
辣条机会有限完成签到 ,获得积分10
6秒前
呱呱乐完成签到,获得积分10
6秒前
Clef完成签到,获得积分10
6秒前
高分求助中
(应助此贴封号)通过应助OA文献获取积分 10000
Organizational Behavior 510
A Silent Apostrophe:The Fayum Portraits 350
Sing with Understanding: Introduction to Theology in Christian Congregational Song, 3rd ed 330
Fractal analysis evaluation of regenerated bone in grafted and graftless maxillary sinus elevation procedures 300
Protection enhancement strategies of potential outbreaks during Hajj 300
Management of a religious mass gathering in North India: Parkash Utsav 550 300
热门求助领域 (近24小时)
化学 材料科学 医学 生物 计算机科学 工程类 纳米技术 有机化学 化学工程 内科学 物理 生物化学 复合材料 催化作用 细胞生物学 人工智能 心理学 无机化学 基因 遗传学
热门帖子
关注 科研通微信公众号,转发送积分 7841383
求助须知:如何正确求助?哪些是违规求助? 9363021
关于积分的说明 20629153
捐赠科研通 7436090
什么是DOI,文献DOI怎么找? 3339896
关于科研通互助平台的介绍 2484518
邀请新用户注册赠送积分活动 2361879