Vulnerability Detection for Source Code Using Contextual LSTM

Autor: Weining Li, Xu Aidong, Chen Huajun, Zhe Ming, Dai Tao
Rok vydání: 2018
Předmět:
Zdroj: ICSAI
Popis: With the development of Internet technology, software vulnerabilities have become a major threat to current computer security. In this work, we propose the vulnerability detection for source code using Contextual LSTM. Compared with CNN and LSTM, we evaluated the CLSTM on 23185 programs, which are collected from SARD. We extracted the features through the program slicing. Based on the features, we used the natural language processing to analysis programs with source code. The experimental results demonstrate that CLSTM has the best performance for vulnerability detection, reaching the accuracy of 96.711% and the F1 score of 0.96984.
Databáze: OpenAIRE