ACM Transactions on Software Engineering and Methodology· 2025Q1· Review
Large Language Models for Cyber Security: A Systematic Literature Review
- 139citations
- Q1SCImago
- 2025year
Short summary
A systematic review of 185 papers reveals Large Language Models (LLMs) are increasingly applied to cybersecurity tasks like vulnerability detection and malware analysis, with a significant trend towards autonomous agents for complex workflows.
AI-generated from the title and abstract; the full text is not read.
Key points
- LLMs are applied to an expanding range of cybersecurity tasks, including vulnerability detection, malware analysis, and network intrusion detection.
- Analysis of LLM architectures (encoder-only, encoder-decoder, decoder-only) shows varying application trends across security domains.
- Sophisticated adaptation techniques like advanced fine-tuning, prompt engineering, and external augmentation are increasingly used.
- LLM-based autonomous agents represent a paradigm shift towards orchestrating complex, multi-step security workflows.
- Limited datasets for training and evaluation highlight the need for more comprehensive data and LLM-driven data augmentation.
AI-generated from the title and abstract; the full text is not read.
Abstract
The rapid advancement of Large Language Models (LLMs) has opened up new opportunities for leveraging artificial intelligence in a variety of application domains, including cybersecurity. As the volume and sophistication of cyber threats continue to grow, there is an increasing need for intelligent systems that can automatically detect vulnerabilities, analyze malware, and respond to attacks. In this survey, we conduct a comprehensive review of the literature on the application of LLMs in cybersecurity (LLM4Security). By comprehensively collecting over 40K relevant papers and systematically analyzing 185 papers from top security and software engineering venues, we aim to provide a holistic view of how LLMs are being used to solve diverse problems across the cybersecurity domain. Through our analysis, we identify several key findings. First, we observe that LLMs are being applied to an expanding range of cybersecurity tasks, including vulnerability detection, malware analysis, and network intrusion detection. Second, we analyze application trends of different LLM architectures (such as encoder-only, encoder-decoder, and decoder-only) across security domains. Third, we identify increasingly sophisticated techniques for adapting LLMs to cybersecurity, such as advanced fine-tuning, prompt engineering, and external augmentation strategies. A significant emerging trend is the use of LLM-based autonomous agents, which represent a paradigm shift from single-task execution to orchestrating complex, multi-step security workflows. Furthermore, we find that the datasets used for training and evaluating LLMs are often limited, highlighting the need for more comprehensive datasets and the use of LLMs for data augmentation. Finally, we discuss the main challenges and opportunities for future research, including the need for more interpretable models, addressing the inherent security risks of LLMs, and their potential for proactive defense. Overall, our survey provides a comprehensive overview of the current state-of-the-art in LLM4Security and identifies several promising directions for future research. We believe that the insights and findings presented in this survey will contribute to the growing body of knowledge on the application of LLMs in cybersecurity and provide valuable guidance for researchers and practitioners working in this field.
The authors' abstract, as published at the source. ACM Transactions on Software Engineering and Methodology, 2025 · DOI ↗
Continue with a free account
Ask the paper: 3 free questions a day about this paper; save it, get its citation, new summaries every day for your field. Takeaways are Premium.
Continue free on the webSign in with Google or Apple; no card needed. You come back to this paper.
On your phone:
Field: Signal Processing
Signal ProcessingComputer Science