Shallow or Deep? An Empirical Study on Detecting Vulnerabilities using Deep Learning

作者
Alejandro Mazuera-Rozo,Anamaria I Mojica-Hanke,Mario Linares‐Vásquez,Gabriele Bavota
标识
DOI:10.1109/icpc52881.2021.00034
摘要

Deep learning (DL) techniques are on the rise in the software engineering research community. More and more approaches have been developed on top of DL models, also due to the unprecedented amount of software-related data that can be used to train these models. One of the recent applications of DL in the software engineering domain concerns the automatic detection of software vulnerabilities. While several DL models have been developed to approach this problem, there is still limited empirical evidence concerning their actual effectiveness especially when compared with shallow machine learning techniques. In this paper, we partially fill this gap by presenting a large-scale empirical study using three vulnerability datasets and five different source code representations (i.e., the format in which the code is provided to the classifiers to assess whether it is vulnerable or not) to compare the effectiveness of two widely used DL-based models and of one shallow machine learning model in (i) classifying code functions as vulnerable or non-vulnerable (i.e., binary classification), and (ii) classifying code functions based on the specific type of vulnerability they contain (or "clean", if no vulnerability is there). As a baseline we include in our study the AutoML utility provided by the Google Cloud Platform. Our results show that the experimented models are still far from ensuring reliable vulnerability detection, and that a shallow learning classifier represents a competitive baseline for the newest DL-based models.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
刘威发布了新的文献求助10
2秒前
iris0930完成签到,获得积分10
3秒前
洁净书兰发布了新的文献求助10
3秒前
Akim的应助被忧郁柜子采纳,获得10
5秒前
Mngata完成签到 ,获得积分10
5秒前
CodeCraft的应助被τ涛采纳,获得10
5秒前
6秒前
YANG给YANG的求助进行了留言
7秒前
亚蛋求学发布了新的文献求助20
9秒前
星先生完成签到 ,获得积分10
10秒前
asdfghjkl完成签到 ,获得积分10
10秒前
11秒前
11秒前
Able阿拉基发布了新的文献求助50
12秒前
所所的应助被安若采纳,获得10
13秒前
13秒前
天霸发布了新的文献求助10
13秒前
14秒前
14秒前
小蘑菇的应助被li采纳,获得10
15秒前
那年杏花微雨你说你是完成签到,获得积分10
15秒前
Lucas的应助被Ztao采纳,获得10
16秒前
weijie完成签到,获得积分10
16秒前
谢尔顿发布了新的文献求助10
17秒前
17秒前
Eternity发布了新的文献求助10
17秒前
wanjuqiang完成签到,获得积分10
17秒前
qqqq发布了新的文献求助10
17秒前
susu完成签到,获得积分10
18秒前
18秒前
Hello的应助被WYN采纳,获得10
18秒前
勤恳的板凳完成签到 ,获得积分10
19秒前
山东老铁完成签到,获得积分10
19秒前
15发布了新的文献求助10
20秒前
20秒前
nhh完成签到,获得积分10
21秒前
21秒前
22秒前
rzxhygr发布了新的文献求助10
22秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Energie-Contracting 1500
Klimaschutzrecht durch den Energiesektor im Mehrebenensystem – Ein Rechtsvergleich 1000
Oncology Clinical Trials: Successful Design, Conduct, and Analysis, Second Edition 800
Comprehensive Heterocyclic Chemistry IV 400
Qualitative Methodologies in Tourism Studies: Disrupting and Co-creating Critical Research 350
Représentation chimique de la structure des kérogènes et des asphaltènes en fonction de leur origine et de leur degré d'évolution 300
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8051544
求助须知:如何正确求助?哪些是违规求助? 9479426
关于积分的说明 21298503
捐赠科研通 7619853
什么是DOI,文献DOI怎么找? 3393485
关于科研通互助平台的介绍 2524779
邀请新用户注册赠送积分活动 2431503