Breaking and Fixing Defenses Against Control Flow Hijacking in Multi-Agent Systems
Rishi D. Jha, Harold Triedman, Justin Wagle, Vitaly Shmatikov
摘要
Control-flow hijacking attacks manipulate orchestration mechanisms in multi-agent systems into performing unsafe actions that compromise the system and exfiltrate sensitive information. Recently proposed defenses, such as LlamaFirewall, rely on alignment checks of inter-agent communications to ensure that all agent invocations are "related to" and "likely to further" the original objective.
We start by demonstrating control-flow hijacking attacks that evade these defenses even if alignment checks are performed by advanced LLMs. We argue that the safety and functionality objectives of multi-agent systems fundamentally conflict with each other. This conflict is exacerbated by the brittle definitions of "alignment" and the checkers' incomplete visibility into the execution context.
We then propose, implement, and evaluate ControlValve, a new defense based on the principles of control-flow integrity and least privilege. ControlValve (1) generates permitted control-flow graphs for multi-agent systems, and (2) enforces that all executions comply with these graphs, along with contextual rules (generated in a zero-shot manner) for each agent invocation.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Defending against Indirect Prompt Injection by Instruction Detection 引用了 InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents
- SecAlign: Defending Against Prompt Injection with Preference Optimization 引用了 InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents
- ACE: A Security Architecture for LLM-Integrated App Systems 引用了 SecAlign: Defending Against Prompt Injection with Preference Optimization
- ACE: A Security Architecture for LLM-Integrated App Systems 引用了 InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents
- SoK: Attack and Defense Landscape of Agentic AI Systems 引用了 SecAlign: Defending Against Prompt Injection with Preference Optimization
- SoK: Attack and Defense Landscape of Agentic AI Systems 引用了 ACE: A Security Architecture for LLM-Integrated App Systems
- SoK: Attack and Defense Landscape of Agentic AI Systems 引用了 InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents
- SoK: Attack and Defense Landscape of Agentic AI Systems 引用了 DRIFT: Dynamic Rule-Based Defense with Injection Isolation for Securing LLM Agents
- DRIFT: Dynamic Rule-Based Defense with Injection Isolation for Securing LLM Agents 引用了 SecAlign: Defending Against Prompt Injection with Preference Optimization
- DRIFT: Dynamic Rule-Based Defense with Injection Isolation for Securing LLM Agents 引用了 InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents
引用它的顶会 Paper1
它引用的 Paper8
- InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model AgentsQiusi Zhan, Zhixiang Liang, Zifan Ying, Daniel KangACL Findings 2024 · 147 次引用
- DRIFT: Dynamic Rule-Based Defense with Injection Isolation for Securing LLM AgentsHao Li, Xiaogeng Liu, Hung-Chun Chiu, Dianqi Li 等NeurIPS 2025 · 76 次引用
- ACE: A Security Architecture for LLM-Integrated App SystemsEvan Li, Tushin Mallick, Evan Rose, William K. Robertson 等NDSS 2026 · 57 次引用
- Defending against Indirect Prompt Injection by Instruction DetectionTongyu Wen, Chenglong Wang, Xiyuan Yang, Haoyu Tang 等EMNLP Findings 2025 · 5 次引用
- SecAlign: Defending Against Prompt Injection with Preference OptimizationSizhe Chen, Arman Zharmagambetov, Saeed Mahloujifar, Kamalika Chaudhuri 等CCS 2025 · 1 次引用
相关 Paper
- AttriGuard: Defeating Indirect Prompt Injection in LLM Agents via Causal Attribution of Tool InvocationsYu He, Haozhe Zhu, Yiming Li, Shuo Shao 等USENIX Security 2026 · 45 次引用
- When Agents Go Rogue: Activation-Based Detection of Malicious Behaviors in Multi-Agent SystemsHaowen Xu, Xue Tan, Lei Ma, Zhihao Zhang 等ICML 2026
- Attack the Messages, Not the Agents: A Multi-round Adaptive Stealthy Tampering Framework for LLM-MASBingyu Yan, Xiaoming Zhang, Ziyi Zhou, Chaozhuo Li 等AAAI 2026 · 1 次引用
- Conjunctive Prompt Attacks in Multi-Agent LLM SystemsNokimul Hasan Arif, Qian Lou, Mengxin ZhengACL 2026
- Enforcing Control Flow Integrity on DeFi Smart ContractsZhiyang Chen, Sidi Mohamed Beillahi, Pasha Barahimi, Cyrus Minwalla 等ICSE 2026
