mlsanityData to 14 Oct 2026

Generative AI in Cybersecurity: A Comprehensive Review of LLM Applications and Vulnerabilities

arXiv 2405.12750 ↗First posted 21 May 2024cs.CR cs.AIcited by 21

On the map: LLM alignment / RLHF / preference optimisation → Safety alignment and jailbreak attacks

also in 1 more
Abstract (arXiv)

This paper provides a comprehensive review of the future of cybersecurity through Generative AI and Large Language Models (LLMs). We explore LLM applications across various domains, including hardware design security, intrusion detection, software engineering, design verification, cyber threat intelligence, malware detection, and phishing detection. We present an overview of LLM evolution and its current state, focusing on advancements in models such as GPT-4, GPT-3.5, Mixtral-8x7B, BERT, Falcon2, and LLaMA. Our analysis extends to LLM vulnerabilities, such as prompt injection, insecure output handling, data poisoning, DDoS attacks, and adversarial instructions. We delve into mitigation strategies to protect these models, providing a comprehensive look at potential attack scenarios and prevention techniques. Furthermore, we evaluate the performance of 42 LLM models in cybersecurity knowledge and hardware security, highlighting their strengths and weaknesses. We thoroughly evaluate cybersecurity datasets for LLM training and testing, covering the lifecycle from data creation to usage and identifying gaps for future research. In addition, we review new strategies for leveraging LLMs, including techniques like Half-Quadratic Quantization (HQQ), Reinforcement Learning with Human Feedback (RLHF), Direct Preference Optimization (DPO), Quantized Low-Rank Adapters (QLoRA), and Retrieval-Augmented Generation (RAG). These insights aim to enhance real-time cybersecurity defenses and improve the sophistication of LLM applications in threat detection and response. Our paper provides a foundational understanding and strategic direction for integrating LLMs into future cybersecurity frameworks, emphasizing innovation and robust model deployment to safeguard against evolving cyber threats.

Key facts. Cited by 21 papers in the map (data through 14 Oct 2026). Placed in Safety alignment and jailbreak attacks, one of 10 directions in LLM alignment / RLHF / preference optimisation. First posted on arXiv 21 May 2024.

Builds on

0 of 0 references.

No references here yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 2; 2025: 11; 2026: 8.

21 papers.

Sort:

By area:

  1. 2025Digital Forensics in the Age of Large Language Modelscited by 10
  2. 2025SV-TrustEval-C: Evaluating Structure and Semantic Reasoning in Large Language Models for Source Code Vulnerability Analysiscited by 8
  3. 2026Digital Red Queen: Adversarial Program Evolution in Core War with LLMscited by 7
  4. 2025DFIR-Metric: A Benchmark Dataset for Evaluating Large Language Models in Digital Forensics and Incident Responsecited by 4
  5. 2025CyberLLMInstruct: A Pseudo-malicious Dataset Revealing Safety-performance Trade-offs in Cyber Security LLM Fine-tuningcited by 3
  6. 2026Capture the Flags: Family-Based Evaluation of Agentic LLMs via Semantics-Preserving Transformationscited by 3
  7. 2026FuzzingBrain V2: A Multi-Agent LLM System for Automated Vulnerability Discovery and Reproductioncited by 3
  8. 2025Neuro-Symbolic AI for Cybersecurity: State of the Art, Challenges, and Opportunitiescited by 2
  9. 2025LLMs' Suitability for Network Security: A Case Study of STRIDE Threat Modelingcited by 1
  10. 2025Federated Learning-Based Data Collaboration Method for Enhancing Edge Cloud AI System Security Using Large Language Modelscited by 1
  11. 2025SME-TEAM: Leveraging Trust and Ethics for Secure and Responsible Use of AI and LLMs in SMEscited by 1
  12. 2025Adversarial Defense in Cybersecurity: A Systematic Review of GANs for Threat Detection and Mitigationcited by 1
9 more
  1. 2024DrLLM: Prompt-Enhanced Distributed Denial-of-Service Resistance Method with Large Language Modelscited by 0
  2. 2024LISAA: A Framework for Large Language Model Information Security Awareness Assessmentcited by 0
  3. 2025From Capabilities to Performance: Evaluating Key Functional Properties of LLM Architectures in Penetration Testingcited by 0
  4. 2025A Robust and Explainable Transformer-Based Framework for Phishing Email Detectioncited by 0
  5. 2026Towards Lightweight Reliability: Using Soft Prompts for Hallucination Mitigation in Large Language Modelscited by 0
  6. 2026Hallucination Detection in Large Language Models Using Diversion Decodingcited by 0
  7. 2026From Chasing Ghosts to Missed Attacks: Perspectives and Perceptions of SOC Practitioners on LLM Integration, Risks, and Readinesscited by 0
  8. 2026Mapping the RAG Landscape: A Four Axis Taxonomy of Efficiency, Defense, Interactivity, and Reasoningcited by 0
  9. 2026CyTReX: Explainable AI-Based Cybersecurity Threat Reasoning Framework for DER Networkscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026Large Language Models (LLMs) and Generative AI in Cybersecurity and Privacy: A Survey of Dual-Use Risks, AI-Generated Malware, Explainability, and Defensive Strategies
  2. 2025LLMpatronous: Harnessing the Power of LLMs For Vulnerability Detection
  3. 2025From Texts to Shields: Convergence of Large Language Models and Cybersecurity
  4. 2025Large Language Models in Cybersecurity: Applications, Vulnerabilities, and Defense Techniques
  5. 2024Threat Modelling and Risk Analysis for Large Language Model (LLM)-Powered Applications
  6. 2023LLMs Killed the Script Kiddie: How Agents Supported by Large Language Models Change the Landscape of Network Threat Testing
  7. 2024Recent Advances in Attack and Defense Approaches of Large Language Models
  8. 2024Exploring Vulnerabilities and Protections in Large Language Models: A Survey