Security Debt in LLM Agent Applications: A Measurement Study of Vulnerabilities and Mitigation Trade-offs
Zhuoxiang Shen, Jiarun Dai, Yuan Zhang, Min Yang
摘要
The advantages of large language models (LLMs) in content comprehension and question answering have led to the rapid emergence of LLM agent. Developers across diverse domains are actively building their own agent applications (apps), as these apps can streamline workflows, boost efficiency, or deliver innovative solutions, thereby enhancing the competitiveness of their products. Agent apps are playing an increasingly important role in our daily lives. However, numerous serious vulnerabilities and security issues have been identified in these apps. To effectively manage future security risks, it is essential to systematically understand the unique characteristics of agent app vulnerabilities and their mitigation. In this paper, we present the first comprehensive study on the vulnerabilities of agent apps, the mitigation practices of app developers, and the associated challenges and trade-offs. We identify 14 types of vulnerabilities and 16 root causes across 7 components, based on an analysis of 221 real-world vulnerabilities. Our study further investigates developer reactions, evaluates the effectiveness of various mitigation strategies, and explores the practical challenges and inevitable trade-offs in vulnerability mitigation. Finally, we distill 12 key findings, discuss their implications for agent app developers, maintainers, and security researchers, and offer suggestions for future research directions.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- R-Judge: Benchmarking Safety Risk Awareness for LLM Agents 引用了 Identifying the Risks of LM Agents with an LM-Emulated Sandbox
- R-Judge: Benchmarking Safety Risk Awareness for LLM Agents 引用了 InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents
- InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents 引用了 Identifying the Risks of LM Agents with an LM-Emulated Sandbox
它引用的 Paper10
- Formalizing and Benchmarking Prompt Injection Attacks and DefensesYupei Liu, Yuqi Jia, Runpeng Geng, Jinyuan Jia 等USENIX Security 2024 · 308 次引用
- Identifying the Risks of LM Agents with an LM-Emulated SandboxYangjun Ruan, Honghua Dong, Andrew Wang, Silviu Pitis 等ICLR 2024 · 292 次引用
- Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based AgentsWenkai Yang, Xiaohan Bi, Yankai Lin, Sishuo Chen 等NeurIPS 2024 · 195 次引用
- InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model AgentsQiusi Zhan, Zhixiang Liang, Zifan Ying, Daniel KangACL Findings 2024 · 147 次引用
- R-Judge: Benchmarking Safety Risk Awareness for LLM AgentsTongxin Yuan, Zhiwei He, Lingzhong Dong, Yiming Wang 等EMNLP Findings 2024 · 46 次引用
相关 Paper
- SoK: Attack and Defense Landscape of Agentic AI SystemsJuhee Kim, Wenbo Guo, Dawn SongUSENIX Security 2026
- Make Agent Defeat Agent: Automatic Detection of Taint-Style Vulnerabilities in LLM-based AgentsFengyu Liu, Yuan Zhang, Jiaqi Luo, Jiarun Dai 等USENIX Security 2025
- Breaking Agents: Compromising Autonomous LLM Agents Through Malfunction AmplificationBoyang Zhang, Yicong Tan, Yun Shen, Ahmed Salem 等EMNLP 2025 · 4 次引用
- Demystifying RCE Vulnerabilities in LLM-Integrated AppsTong Liu, Zizhuang Deng, Guozhu Meng, Yuekang Li 等CCS 2024 · 19 次引用
- Les Dissonances: Cross-Tool Harvesting and Polluting in Pool-of-Tools Empowered LLM AgentsZichuan Li, Jian Cui, Xiaojing Liao, Luyi XingNDSS 2026 · 24 次引用
