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

VUDENC: Vulnerability Detection with Deep Learning on a Natural Codebase for Python

代码库 计算机科学 Python(编程语言) 文字2vec 源代码 人工智能 安全编码 机器学习 软件 软件错误 计算机安全 软件安全保证 程序设计语言 信息安全 保安服务 嵌入
作者
Laura Wartschinski,Yannic Noller,Thomas Vogel,Timo Kehrer,Lars Grunske
出处
期刊:Information & Software Technology [Elsevier]
卷期号:144: 106809-106809 被引量:59
标识
DOI:10.1016/j.infsof.2021.106809
摘要

Identifying potential vulnerable code is important to improve the security of our software systems. However, the manual detection of software vulnerabilities requires expert knowledge and is time-consuming, and must be supported by automated techniques. Such automated vulnerability detection techniques should achieve a high accuracy, point developers directly to the vulnerable code fragments, scale to real-world software, generalize across the boundaries of a specific software project, and require no or only moderate setup or configuration effort. In this article, we present Vudenc (Vulnerability Detection with Deep Learning on a Natural Codebase), a deep learning-based vulnerability detection tool that automatically learns features of vulnerable code from a large and real-world Python codebase. Vudenc applies a word2vec model to identify semantically similar code tokens and to provide a vector representation. A network of long-short-term memory cells (LSTM) is then used to classify vulnerable code token sequences at a fine-grained level, highlight the specific areas in the source code that are likely to contain vulnerabilities, and provide confidence levels for its predictions. To evaluate Vudenc, we used 1,009 vulnerability-fixing commits from different GitHub repositories that contain seven different types of vulnerabilities (SQL injection, XSS, Command injection, XSRF, Remote code execution, Path disclosure, Open redirect) for training. In the experimental evaluation, Vudenc achieves a recall of 78%–87%, a precision of 82%–96%, and an F1 score of 80%–90%. Vudenc’s code, the datasets for the vulnerabilities, and the Python corpus for the word2vec model are available for reproduction. Our experimental results suggest that Vudenc is capable of outperforming most of its competitors in terms of vulnerably detection capabilities on real-world software. Comparable accuracy was only achieved on synthetic benchmarks, within single projects, or on a much coarser level of granularity such as entire source code files.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
乐乐应助小巧幼蓉采纳,获得10
7秒前
朴蒲萤荧完成签到,获得积分10
12秒前
诸葛小哥哥完成签到 ,获得积分0
25秒前
33秒前
ftinscience应助JeremyKarmazin采纳,获得10
55秒前
957完成签到 ,获得积分10
1分钟前
科研通AI6.1应助JeremyKarmazin采纳,获得30
1分钟前
1分钟前
zheei应助Wei采纳,获得10
1分钟前
2分钟前
2分钟前
轻松的蜜粉完成签到,获得积分10
2分钟前
2分钟前
lovelife完成签到,获得积分10
2分钟前
科研通AI2S应助科研通管家采纳,获得10
2分钟前
丘比特应助JeremyKarmazin采纳,获得10
3分钟前
3分钟前
3分钟前
3分钟前
3分钟前
liangguangyuan完成签到 ,获得积分0
3分钟前
自由擎汉发布了新的文献求助10
3分钟前
4分钟前
4分钟前
arniu2008应助科研通管家采纳,获得20
4分钟前
追寻夜香完成签到,获得积分10
5分钟前
5分钟前
其实,我是有机化学科学家完成签到,获得积分10
5分钟前
5分钟前
5分钟前
追寻夜香发布了新的文献求助10
5分钟前
波里舞完成签到 ,获得积分0
6分钟前
6分钟前
GingerF应助科研通管家采纳,获得150
6分钟前
科研通AI2S应助科研通管家采纳,获得10
6分钟前
Vaseegara完成签到 ,获得积分10
6分钟前
Leavome发布了新的文献求助10
6分钟前
FeelingUnreal完成签到,获得积分10
6分钟前
GHOSTagw完成签到,获得积分10
7分钟前
7分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Polymorphism and polytypism in crystals 1000
Relation between chemical structure and local anesthetic action: tertiary alkylamine derivatives of diphenylhydantoin 1000
Signals, Systems, and Signal Processing 610
Discrete-Time Signals and Systems 610
Checklist of Yunnan Pieridae (Lepidoptera: Papilionoidea) with nomenclature and distributional notes 500
Der Gleislage auf der Spur 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 纳米技术 有机化学 物理 生物化学 化学工程 计算机科学 复合材料 内科学 催化作用 光电子学 物理化学 电极 冶金 遗传学 细胞生物学
热门帖子
关注 科研通微信公众号,转发送积分 6073960
求助须知:如何正确求助?哪些是违规求助? 7905180
关于积分的说明 16345511
捐赠科研通 5212895
什么是DOI,文献DOI怎么找? 2788016
邀请新用户注册赠送积分活动 1770811
关于科研通互助平台的介绍 1648291