亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!身体可是革命的本钱,早点休息,好梦!

CSGVD: A deep learning approach combining sequence and graph embedding for source code vulnerability detection

嵌入 计算机科学 特征学习 图形 源代码 图嵌入 人工智能 机器学习 理论计算机科学 数据挖掘 操作系统
作者
Wei Tang,Mingwei Tang,Minchao Ban,Ziguo Zhao,Mingjun Feng
出处
期刊:Journal of Systems and Software [Elsevier BV]
卷期号:199: 111623-111623 被引量:76
标识
DOI:10.1016/j.jss.2023.111623
摘要

In order to secure software, it is critical to detect potential vulnerabilities. The performance of traditional static vulnerability detection methods is limited by predefined rules, which rely heavily on the expertise of developers. Existing deep learning-based vulnerability detection models usually use only a single sequence or graph embedding approach to extract vulnerability features. Sequence embedding-based models ignore the structured information inherent in the code, and graph embedding-based models lack effective node and graph embedding methods. As a result, we propose a novel deep learning-based approach, CSGVD (Combining Sequence and Graph embedding for Vulnerability Detection), which considers function-level vulnerability detection as a graph binary classification task. Firstly, we propose a PE-BL module, which inherits and enhances the knowledge from the pre-trained language model. It extracts the code’s local semantic features as node embedding in the control flow graph by using sequence embedding. Secondly, CSGVD uses graph neural networks to extract the structured information of the graph. Finally, we propose a mean biaffine attention pooling, M-BFA, to better aggregate node information as a graph’s feature representation. The experimental results show that CSGVD outperforms the existing state-of-the-art models and obtains 64.46% accuracy on the real-world benchmark dataset from CodeXGLUE for vulnerability detection.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
Criminology34应助科研通管家采纳,获得10
1秒前
1秒前
852应助科研通管家采纳,获得10
1秒前
1秒前
传奇3应助科研通管家采纳,获得10
1秒前
Zhou应助科研通管家采纳,获得10
2秒前
Zhou应助科研通管家采纳,获得10
2秒前
伶俐浩轩完成签到 ,获得积分10
3秒前
鱼头完成签到 ,获得积分10
4秒前
wqh完成签到,获得积分10
4秒前
4秒前
碧蓝问玉完成签到,获得积分10
5秒前
拼搏念蕾完成签到 ,获得积分10
6秒前
7秒前
安静怜雪完成签到,获得积分10
10秒前
SciGPT应助威武的小甜瓜采纳,获得10
11秒前
Jasper应助linqishi采纳,获得10
14秒前
Elysia10032完成签到 ,获得积分10
18秒前
21秒前
科研通AI6.4应助livian采纳,获得50
22秒前
23秒前
25秒前
何日寻发布了新的文献求助10
26秒前
27秒前
28秒前
28秒前
耍酷定帮发布了新的文献求助10
29秒前
29秒前
31秒前
nieziyun完成签到 ,获得积分10
31秒前
xiaoyu完成签到 ,获得积分10
32秒前
livian发布了新的文献求助50
35秒前
36秒前
sss完成签到,获得积分10
36秒前
37秒前
linqishi发布了新的文献求助10
38秒前
40秒前
何日寻完成签到,获得积分10
41秒前
科研通AI6.4应助齐靖柔采纳,获得100
41秒前
41秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Autoparametric Resonance in Mechanical Systems 1000
Effects of Two Weeks of Red Light Therapy on Choroidal Thickness and Axial Length in Young Adults 700
Cosmos as Art Object: Studies in Plato's Timaeus and Other Dialogues 600
Management and the Arts 510
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
the fractional Laplacian 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7667438
求助须知:如何正确求助?哪些是违规求助? 9236503
关于积分的说明 19880198
捐赠科研通 7236677
什么是DOI,文献DOI怎么找? 3283926
关于科研通互助平台的介绍 2442762
邀请新用户注册赠送积分活动 2285411