Detecting vulnerability in source code using CNN and LSTM network

نویسندگان

چکیده

Automated vulnerability detection has become a research hot spot because it is beneficial for improving software quality and security. The code metric (CM) one class of important representations in source code. implicit relationships among different attributes have not been sufficiently considered traditional based on CMs. In this paper, view the local perception capability convolutional neural network (CNN) time-series prediction long short-term memory (LSTM), we propose VulExplore, compound model that consists CNN feature extraction an LSTM deep representation. Moreover, to further indicate features code, reconstruct CM dataset includes two additional attributes: maintainability index average number vulnerabilities committed per line. Our proposed numerical method can obtain both false-negative rate (FNR) false-positive (FPR) under 20% and, meanwhile, achieve recall precision over 80%, respectively.

برای دانلود باید عضویت طلایی داشته باشید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Dimensional Sentiment Analysis Using a Regional CNN-LSTM Model

Dimensional sentiment analysis aims to recognize continuous numerical values in multiple dimensions such as the valencearousal (VA) space. Compared to the categorical approach that focuses on sentiment classification such as binary classification (i.e., positive and negative), the dimensional approach can provide more fine-grained sentiment analysis. This study proposes a regional CNN-LSTM mode...

متن کامل

CNN- and LSTM-based Claim Classification in Online User Comments

When processing arguments in online user interactive discourse, it is often necessary to determine their bases of support. In this paper, we describe a supervised approach, based on deep neural networks, for classifying the claims made in online arguments. We conduct experiments using convolutional neural networks (CNNs) and long short-term memory networks (LSTMs) on two claim data sets compile...

متن کامل

Detecting Co-Derivative Source Code – An Overview

There is a body of literature concerning or related to the detection of source code texts that have the same origin. This paper presents a survey of such literature, and provides an overview of the topic.

متن کامل

Using LSTM Network in Face Classification Problems

Many researches have used convolutional neural networks for face classification tasks. Aiming to reduce the number of training samples as well training time, we propose to use a LSTM network and compare its performance with a standard MLP network. Experiments with face images from CBCL database using PCA for feature extraction provided good results indicating that LSTM could learn properly even...

متن کامل

Detecting Depression in Elderly People by Using Artificial Neural Network

Introduction: The possibility of depression is common in the elderly. Novel technologies allow us to monitor people related to depression. Hence, a model was provided to detect depression in elderly based on artificial neural network (ANN). Methods: The present study is an applied descriptive-survey research. Forty elderly people were randomly selected from the Elderly Care Center in Gonbad Ka...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Soft Computing

سال: 2021

ISSN: ['1433-7479', '1432-7643']

DOI: https://doi.org/10.1007/s00500-021-05994-w