Software Vulnerability Detection using Large Language Models
Moumita Das Purba, Arpita Ghosh, Benjamin J. Radford et al. · IEEE International Symposium on Software Reliability Engineering Workshops (ISSREW) · 2023
Software development is among the first demonstrations of using Large Language Models (LLMs) to enhance human productivity. Such a co-pilot paradigm envisions LLM working side-by-side with human developers to assist in programming tasks. Ensuring the security of software products is a critical factor for the success of such a paradigm. There have been various anecdotal reports on the success of using LLMs to detect vulnerabilities in programs. This paper reports a set of experiments applying four well-known LLMs to two widely referenced public datasets to evaluate the performance of LLMs in detecting software vulnerabilities. Our results show a significant performance gap between these LLMs and those from popular static analysis tools, primarily due to their high false positive rates. However, LLMs show great promise in identifying subtle patterns commonly associated with software vulnerabilities. This observation suggests a possible path forward by combining LLMs and other program analysis techniques to achieve better software vulnerability detection.
Cited by 88 works. doi:10.1109/issrew60843.2023.00058
Authors
References
- Exploiting Generative AI to Scale up Intelligent Tutoring Systems
- AI-Assisted Pipeline for Dynamic Generation of Trustworthy Health Supplement Content at Scale
- Aion Framework: Dimensional Emergence of AI Consciousness, Observer-Induced Collapse, and Cosmological Portal Dynamics
- CodeBERT: A Pre-Trained Model for Programming and Natural Languages
- A Direction-Aware Study of LLM-Based Code Translation Across Eight Programming Languages
- VulDeePecker: A Deep Learning-Based System for Vulnerability Detection
- Automated Vulnerability Detection in Source Code Using Deep Representation Learning
- Deep Learning Based Vulnerability Detection: Are We There Yet?
- SySeVR: A Framework for Using Deep Learning to Detect Software Vulnerabilities
- Software Vulnerability Detection Using Deep Neural Networks: A Survey