CRAIMay 18, 2025

A Survey of Attacks on Large Language Models

arXiv:2505.12567v115 citationsh-index: 5
Originality Synthesis-oriented
AI Analysis

It addresses security vulnerabilities in widely deployed LLM applications, such as malicious misuse and privacy leakage, which is an incremental survey for researchers and practitioners.

This paper systematically surveys adversarial attacks on large language models (LLMs) and LLM-based agents, organizing them into training-phase, inference-phase, and availability & integrity attacks, and analyzes representative methods and defenses to raise awareness of security risks.

Large language models (LLMs) and LLM-based agents have been widely deployed in a wide range of applications in the real world, including healthcare diagnostics, financial analysis, customer support, robotics, and autonomous driving, expanding their powerful capability of understanding, reasoning, and generating natural languages. However, the wide deployment of LLM-based applications exposes critical security and reliability risks, such as the potential for malicious misuse, privacy leakage, and service disruption that weaken user trust and undermine societal safety. This paper provides a systematic overview of the details of adversarial attacks targeting both LLMs and LLM-based agents. These attacks are organized into three phases in LLMs: Training-Phase Attacks, Inference-Phase Attacks, and Availability & Integrity Attacks. For each phase, we analyze the details of representative and recently introduced attack methods along with their corresponding defenses. We hope our survey will provide a good tutorial and a comprehensive understanding of LLM security, especially for attacks on LLMs. We desire to raise attention to the risks inherent in widely deployed LLM-based applications and highlight the urgent need for robust mitigation strategies for evolving threats.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes