Abstract:
The rapid evolution of large language models(LLM) is reshaping the design paradigm of LLM-based agents(LLM Agents). By deeply integrating four core capabilities—memory, decision-making, action, and interaction—these agents substantially expand autonomy and functional boundaries. However, this expansion also introduces systemic security risks arising from intrinsic model weaknesses, reliance on external memory, tight coupling with toolchains, and the openness of interaction protocols, posing unprecedented challenges to existing AI security frameworks. Although prior studies and surveys have investigated LLM Agents security from various perspectives, they often suffer from limited viewpoints, incomplete coverage of attacks and defenses, and a lack of unified analysis frameworks and systematic evaluation benchmarks, hindering a holistic understanding of LLM Agents security. To address these gaps, this paper proposes a unified security analysis framework spanning the four key dimensions of memory, decision-making, action, and interaction, and conducts a comprehensive survey of LLM Agents security. First, representative research on attacks, defenses, and evaluations is systematically reviewed, and common security assumptions and comparable evaluation metrics across different lines of work are distilled. Next, mainstream agent development frameworks and the tool-protocol ecosystem are examined from a deployment-oriented perspective, with an analysis of the bidirectional evolution of agents as both security subjects and security tools, along with their engineering constraints. Furthermore, targeted experiments are conducted in realistic tool-calling environments to compare risk exposure and defense effectiveness across different models under action-layer attacks and hybrid defenses. Finally, key open challenges are summarized, and future research directions are outlined.