Breaking and Fixing Defenses Against Control-Flow Hijacking in Multi-Agent Systems
Rishi Jha, Harold Triedman, Justin Wagle, Vitaly Shmatikov

TL;DR
This paper demonstrates the limitations of current defenses against control-flow hijacking in multi-agent systems and introduces ControlValve, a new method that enforces control-flow integrity and contextual rules to improve security.
Contribution
It identifies fundamental conflicts in existing defenses and proposes ControlValve, a novel approach that generates and enforces control-flow graphs with contextual rules for enhanced security.
Findings
Control-flow hijacking attacks can evade existing defenses like LlamaFirewall.
ControlValve effectively enforces control-flow integrity in multi-agent systems.
The proposed method improves security by combining control-flow graphs with contextual rules.
Abstract
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 inspired by the principles of…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSecurity and Verification in Computing · Adversarial Robustness in Machine Learning · Smart Grid Security and Resilience
