Vulnerability Detection for Source Code Using Contextual LSTM

Aidong Xu,Tao Dai,Huajun Chen,Zhe Ming,Weining Li
DOI: https://doi.org/10.1109/icsai.2018.8599360
2018-01-01
Abstract: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.
What problem does this paper attempt to address?