Large Language Models in Cybersecurity: Applications, Vulnerabilities, and Defense Techniques
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) are transforming cybersecurity by enabling intelligent, adaptive, and automated approaches to threat detection, vulnerability assessment, and incident response. With their advanced language understanding and contextual reasoning, LLMs surpass traditional methods in tackling challenges across domains such as IoT, blockchain, and hardware security. This survey provides a comprehensive overview of LLM applications in cybersecurity, focusing on two core areas: (1) the integration of LLMs into key cybersecurity domains, and (2) the vulnerabilities of LLMs themselves, along with mitigation strategies. By synthesizing recent advancements and identifying key limitations, this work offers practical insights and strategic recommendations for leveraging LLMs to build secure, scalable, and future-ready cyber defense systems.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 145 of its 235 references that are in the map. First posted on arXiv 18 Jul 2025.
Builds on
145 of 235 references.
References · 145
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
- 2019A Survey on Bias and Fairness in Machine Learningcited by 1,911
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,366
- 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,106
- 2023Large Language Modelscited by 774
- 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 760
- 2022Red Teaming Language Models to Reduce Harms: Methods, Scaling Behaviors, and Lessons Learnedcited by 702
- 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 608
- 2018Fine-Pruning: Defending Against Backdooring Attacks on Deep Neural Networkscited by 550
38 more
- 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deepcited by 450
- 2023SmoothLLM: Defending Large Language Models Against Jailbreaking Attackscited by 434
- 2023Detecting Language Model Attacks with Perplexitycited by 411
- 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Basescited by 402
- 2023Trustworthy LLMs: a Survey and Guideline for Evaluating Large Language Models' Alignmentcited by 394
- 2023Safety-Tuned LLaMAs: Lessons From Improving the Safety of Large Language Models that Follow Instructionscited by 377
- 2023Explainability for Large Language Models: A Surveycited by 331
- 2023Formalizing and Benchmarking Prompt Injection Attacks and Defensescited by 328
- 2020Weight Poisoning Attacks on Pre-trained Modelscited by 318
- 2023Poisoning Language Models During Instruction Tuningcited by 254
- 2023Challenges and Applications of Large Language Modelscited by 251
- 2023Certifying LLM Safety against Adversarial Promptingcited by 248
- 2020HateCheck: Functional Tests for Hate Speech Detection Modelscited by 215
- 2022Demystifying Prompts in Language Models via Perplexity Estimationcited by 215
- 2023Survey of Vulnerabilities in Large Language Models Revealed by Adversarial Attackscited by 189
- 2022Do Users Write More Insecure Code with AI Assistants?cited by 186
- 2024Security and Privacy Challenges of Large Language Models: A Surveycited by 179
- 2023RoleLLM: Benchmarking, Eliciting, and Enhancing Role-Playing Abilities of Large Language Modelscited by 173
- 2020Toward Trustworthy AI Development: Mechanisms for Supporting Verifiable Claimscited by 163
- 2023Defending Large Language Models Against Jailbreaking Attacks Through Goal Prioritizationcited by 156
- 2023Keep the Conversation Going: Fixing 162 out of 337 bugs for 0.42 each using ChatGPTcited by 125
- 2024Optimization-based Prompt Injection Attack to LLM-as-a-Judgecited by 123
- 2024Granite Code Models: A Family of Open Foundation Models for Code Intelligencecited by 116
- 2023InferFix: End-to-End Program Repair with LLMscited by 113
- 2023On the Exploitability of Instruction Tuningcited by 110
- 2020Just How Toxic is Data Poisoning? A Unified Benchmark for Backdoor and Data Poisoning Attackscited by 109
- 2021Examining Zero-Shot Vulnerability Repair with Large Language Modelscited by 105
- 2022Large Language Models are Zero-Shot Fuzzers: Fuzzing Deep-Learning Libraries via Large Language Modelscited by 102
- 2023PentestGPT: An LLM-empowered Automatic Penetration Testing Toolcited by 94
- 2023LLMs Cannot Reliably Identify and Reason About Security Vulnerabilities (Yet?): A Comprehensive Evaluation, Framework, and Benchmarkscited by 94
- 2022Machine Generated Text: A Comprehensive Survey of Threat Models and Detection Methodscited by 75
- 2022A Unified Evaluation of Textual Backdoor Learning: Frameworks and Benchmarkscited by 70
- 2023Large Language Models for Test-Free Fault Localizationcited by 67
- 2024JailbreakZoo: Survey, Landscapes, and Horizons in Jailbreaking Large Language and Vision-Language Modelscited by 67
- 2024Fine-tuning large language models for domain adaptation: Exploration of training strategies, scaling, model merging and synergistic capabilitiescited by 67
- 2023GPTScan: Detecting Logic Vulnerabilities in Smart Contracts by Combining GPT with Program Analysiscited by 65
- 2024Large Language Models for Cyber Security: A Systematic Literature Reviewcited by 65
- 2022BadPrompt: Backdoor Attacks on Continuous Promptscited by 59
50 most cited of 145 All 145 (JSON)
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025From Texts to Shields: Convergence of Large Language Models and Cybersecurity
- 2026Large Language Models (LLMs) and Generative AI in Cybersecurity and Privacy: A Survey of Dual-Use Risks, AI-Generated Malware, Explainability, and Defensive Strategies
- 2023Advancing TTP Analysis: Harnessing the Power of Large Language Models with Retrieval Augmented Generation
- 2024Unique Security and Privacy Threats of Large Language Models: A Comprehensive Survey
- 2024Generative AI in Cybersecurity: A Comprehensive Review of LLM Applications and Vulnerabilities
- 2025LLMpatronous: Harnessing the Power of LLMs For Vulnerability Detection
- 2024ThreatModeling-LLM: Automating Threat Modeling using Large Language Models for Banking System
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Ugly