Skip to main content
eScholarship
Open Access Publications from the University of California

Journal of Systems Research

Journal of Systems Research bannerUC Santa Cruz

[SOK] Large Language Models in Security Code Review and Testing

Creative Commons 'BY-NC' version 4.0 license
Abstract

In this paper, we systematically present and discuss practical applications of Large Language Models (LLMs) in software security, concretely in code vulnerability detection, fuzz testing, and exploit generation. Measurements of various research outcomes are analyzed to answer questions about the performance of LLMs in those fields, including a comparison with tools that follow traditional approaches. In addition, the drawbacks and a future outlook, along with a delineation of technical challenges, are provided. Challenges include the cost- and time-intensive training of LLMs, the limited context-length understanding of program code, the high false positive rate due to hallucinations, and keeping the data up-to-date so that definitions of newly detected vulnerabilities are covered.