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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
evy完成签到,获得积分10
刚刚
吴谷杂粮发布了新的文献求助10
刚刚
刚刚
刚刚
现代的烤鸡完成签到,获得积分10
刚刚
hanqing完成签到,获得积分20
1秒前
尧尧完成签到,获得积分10
1秒前
正直的过客完成签到,获得积分10
1秒前
molihuakai的应助被静静采纳,获得10
1秒前
科研通AI6.2的应助被谦让静槐采纳,获得10
2秒前
我是老大的应助被天晴采纳,获得10
2秒前
稳重的灯泡完成签到,获得积分10
2秒前
寒冷的煜祺完成签到,获得积分10
2秒前
2秒前
2秒前
开心孟发布了新的文献求助10
3秒前
123456发布了新的文献求助10
3秒前
ww发布了新的文献求助10
3秒前
小二郎的应助被曾业辉采纳,获得10
3秒前
香蕉觅云的应助被123Y采纳,获得10
3秒前
4秒前
rftyfu发布了新的文献求助10
4秒前
共享精神的应助被赵小坤堃采纳,获得10
4秒前
4秒前
4秒前
4秒前
土土b发布了新的文献求助30
5秒前
顾矜的应助被comm采纳,获得10
5秒前
5秒前
gqb完成签到,获得积分10
5秒前
CodeCraft的应助被cw采纳,获得10
6秒前
7秒前
7秒前
Wizzz发布了新的文献求助10
7秒前
7秒前
周七七完成签到,获得积分10
7秒前
ww发布了新的文献求助10
8秒前
温乘云发布了新的文献求助10
8秒前
8秒前
snow1109发布了新的文献求助10
8秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Encyclopedia of Reagents for Organic Synthesis, 14 Volume Set, 2nd Edition(本书共14册,本求助8volume-14volume共7册,独立harcover版本,非网络版本e-EROS 版,不能网络版转化PDF或提取PDF) 2000
Essentials of Carbohydrate Chemistry and Biochemistry, 4th Edition 1000
Электротехническая система магнитожидкостной герметизации валов регулируемых электродвигателей 800
日本語と中国語及びチベット・ビルマ語の語源関連性に関する分析 800
Practical Manual of Forensic Psychophysiology: Methodology, Execution, and Fields of Application 800
Holistic Discourse Analysis, Second Edition by Robert E. Longacre 666
热门求助领域 (近24小时)
化学 材料科学 医学 生物 计算机科学 工程类 纳米技术 有机化学 物理 生物化学 化学工程 内科学 复合材料 催化作用 心理学 人工智能 细胞生物学 光电子学 无机化学 量子力学
热门帖子
关注 科研通微信公众号,转发送积分 7949035
求助须知:如何正确求助?哪些是违规求助? 9427463
关于积分的说明 20986898
捐赠科研通 7532597
什么是DOI,文献DOI怎么找? 3368603
关于科研通互助平台的介绍 2504949
邀请新用户注册赠送积分活动 2400618