已入深夜,您辛苦了!由于当前在线用户较少,发布求助请尽量完整的填写文献信息,科研通机器人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 被引量:26
标识
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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
传奇3应助QQ采纳,获得10
6秒前
科研通AI5应助尹懿子采纳,获得10
9秒前
CodeCraft应助寒冷手链采纳,获得10
12秒前
无心的星月完成签到,获得积分20
15秒前
Hyp完成签到 ,获得积分10
17秒前
科研通AI5应助小布丁采纳,获得10
19秒前
19秒前
20秒前
23秒前
Cope完成签到 ,获得积分10
24秒前
寒冷手链发布了新的文献求助10
25秒前
26秒前
26秒前
大豹子发布了新的文献求助10
28秒前
尹懿子发布了新的文献求助10
29秒前
30秒前
喜悦夏青发布了新的文献求助10
30秒前
小布丁完成签到,获得积分10
31秒前
寒冷手链完成签到 ,获得积分20
31秒前
32秒前
小王同学完成签到 ,获得积分10
34秒前
Bowman完成签到,获得积分10
36秒前
开心小咕噜给开心小咕噜的求助进行了留言
41秒前
DEF完成签到,获得积分10
42秒前
星辰大海应助喜悦夏青采纳,获得10
43秒前
笑笑完成签到,获得积分10
45秒前
Nefelibata完成签到,获得积分10
46秒前
ww960517发布了新的文献求助10
48秒前
雷蕾发布了新的文献求助10
49秒前
53秒前
zhangzhenwen1204完成签到 ,获得积分10
55秒前
辉辉完成签到,获得积分10
56秒前
Kashing完成签到,获得积分10
56秒前
笑面客完成签到,获得积分10
58秒前
笑笑发布了新的文献求助10
59秒前
qqdm完成签到 ,获得积分10
1分钟前
程子完成签到,获得积分10
1分钟前
Limerencia完成签到,获得积分10
1分钟前
雷蕾完成签到,获得积分10
1分钟前
科研fw完成签到 ,获得积分10
1分钟前
高分求助中
Les Mantodea de Guyane Insecta, Polyneoptera 2500
Mobilization, center-periphery structures and nation-building 600
Introduction to Strong Mixing Conditions Volumes 1-3 500
Technologies supporting mass customization of apparel: A pilot project 450
China—Art—Modernity: A Critical Introduction to Chinese Visual Expression from the Beginning of the Twentieth Century to the Present Day 430
Multichannel rotary joints-How they work 400
A Field Guide to the Amphibians and Reptiles of Madagascar - Frank Glaw and Miguel Vences - 3rd Edition 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 物理 生物化学 纳米技术 计算机科学 化学工程 内科学 复合材料 物理化学 电极 遗传学 量子力学 基因 冶金 催化作用
热门帖子
关注 科研通微信公众号,转发送积分 3795454
求助须知:如何正确求助?哪些是违规求助? 3340477
关于积分的说明 10300344
捐赠科研通 3057032
什么是DOI,文献DOI怎么找? 1677368
邀请新用户注册赠送积分活动 805385
科研通“疑难数据库(出版商)”最低求助积分说明 762491