A Comprehensive Survey of Attack Techniques, Implementation, and Mitigation Strategies in Large Language Models
Not on the map. Why?
Abstract (arXiv)
Ensuring the security of large language models (LLMs) is an ongoing challenge despite their widespread popularity. Developers work to enhance LLMs security, but vulnerabilities persist, even in advanced versions like GPT-4. Attackers exploit these weaknesses, highlighting the need for proactive cybersecurity measures in AI model development. This article explores two attack categories: attacks on models themselves and attacks on model applications. The former requires expertise, access to model data, and significant implementation time, while the latter is more accessible to attackers and has seen increased attention. Our study reviews over 100 recent research works, providing an in-depth analysis of each attack type. We identify the latest attack methods and explore various approaches to carry them out. We thoroughly investigate mitigation techniques, assessing their effectiveness and limitations. Furthermore, we summarize future defenses against these attacks. We also examine real-world techniques, including reported and our implemented attacks on LLMs, to consolidate our findings. Our research highlights the urgency of addressing security concerns and aims to enhance the understanding of LLM attacks, contributing to robust defense development in this evolving domain.
Key facts. Cited by 14 papers in the map (data through 14 Oct 2026). First posted on arXiv 18 Dec 2023.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2024: 6; 2025: 7; 2026: 1.
14 papers.
Sort:
By area:
- 2024Jailbreak Attacks and Defenses Against Large Language Models: A Surveycited by 230
- 2024When LLMs Meet Cybersecurity: A Systematic Literature Reviewcited by 71
- 2024JailbreakZoo: Survey, Landscapes, and Horizons in Jailbreaking Large Language and Vision-Language Modelscited by 70
- 2024Tokenization Matters! Degrading Large Language Models through Challenging Their Tokenizationcited by 32
- 2025A Survey on Privacy Risks and Protection in Large Language Modelscited by 21
- 2025Attack and defense techniques in large language models: A survey and new perspectivescited by 14
- 2025From LLMs to MLLMs to Agents: A Survey of Emerging Paradigms in Jailbreak Attacks and Defenses within LLM Ecosystemcited by 12
- 2024Risks, Causes, and Mitigations of Widespread Deployments of Large Language Models (LLMs): A Surveycited by 8
- 2024Enhancing LLM-based Autonomous Driving Agents to Mitigate Perception Attackscited by 6
- 2025SoK: Systematizing LLM Prompt Security: Taxonomies, Datasets, and Unified Evaluation of Attacks and Defensescited by 5
- 2025Towards Secure MLOps: Surveying Attacks, Mitigation Strategies, and Research Challengescited by 3
- 2026SoK: Robustness in Large Language Models against Jailbreak Attackscited by 3
2 more
- 2026SoK: Robustness in Large Language Models against Jailbreak Attacks6 May 2026
- 2025SoK: Systematizing LLM Prompt Security: Taxonomies, Datasets, and Unified Evaluation of Attacks and Defenses17 Oct 2025
- 2025Provably Secure Retrieval-Augmented Generation1 Aug 2025
- 2025From LLMs to MLLMs to Agents: A Survey of Emerging Paradigms in Jailbreak Attacks and Defenses within LLM Ecosystem18 Jun 2025
- 2025Towards Secure MLOps: Surveying Attacks, Mitigation Strategies, and Research Challenges30 May 2025
- 2025A Survey on Privacy Risks and Protection in Large Language Models4 May 2025
- 2025Attack and defense techniques in large language models: A survey and new perspectives2 May 2025
- 2025Beyond Trusting Trust: Multi-Model Validation for Robust Code Generation22 Feb 2025
- 2024Enhancing LLM-based Autonomous Driving Agents to Mitigate Perception Attacks22 Sep 2024
- 2024Risks, Causes, and Mitigations of Widespread Deployments of Large Language Models (LLMs): A Survey1 Aug 2024
- 2024Jailbreak Attacks and Defenses Against Large Language Models: A Survey5 Jul 2024
- 2024JailbreakZoo: Survey, Landscapes, and Horizons in Jailbreaking Large Language and Vision-Language Models26 Jun 2024
- 2024Jailbreak Attacks and Defenses Against Large Language Models: A Surveycited by 230
- 2025A Survey on Privacy Risks and Protection in Large Language Modelscited by 21
- 2025SoK: Systematizing LLM Prompt Security: Taxonomies, Datasets, and Unified Evaluation of Attacks and Defensescited by 5
- 2026SoK: Robustness in Large Language Models against Jailbreak Attackscited by 3
- 2026SoK: Robustness in Large Language Models against Jailbreak Attacks6 May 2026
- 2025SoK: Systematizing LLM Prompt Security: Taxonomies, Datasets, and Unified Evaluation of Attacks and Defenses17 Oct 2025
- 2025A Survey on Privacy Risks and Protection in Large Language Models4 May 2025
- 2024Jailbreak Attacks and Defenses Against Large Language Models: A Survey5 Jul 2024
- 2025Provably Secure Retrieval-Augmented Generationcited by 0
- 2025Provably Secure Retrieval-Augmented Generation1 Aug 2025
- 2024When LLMs Meet Cybersecurity: A Systematic Literature Reviewcited by 71
- 2024Tokenization Matters! Degrading Large Language Models through Challenging Their Tokenizationcited by 32
- 2025Attack and defense techniques in large language models: A survey and new perspectivescited by 14
- 2024Risks, Causes, and Mitigations of Widespread Deployments of Large Language Models (LLMs): A Surveycited by 8
- 2025Towards Secure MLOps: Surveying Attacks, Mitigation Strategies, and Research Challengescited by 3
- 2025Beyond Trusting Trust: Multi-Model Validation for Robust Code Generationcited by 0
- 2025Towards Secure MLOps: Surveying Attacks, Mitigation Strategies, and Research Challenges30 May 2025
- 2025Attack and defense techniques in large language models: A survey and new perspectives2 May 2025
- 2025Beyond Trusting Trust: Multi-Model Validation for Robust Code Generation22 Feb 2025
- 2024Risks, Causes, and Mitigations of Widespread Deployments of Large Language Models (LLMs): A Survey1 Aug 2024
- 2024Tokenization Matters! Degrading Large Language Models through Challenging Their Tokenization27 May 2024
- 2024When LLMs Meet Cybersecurity: A Systematic Literature Review6 May 2024