Cognitive Control Architecture (CCA): A Lifecycle Supervision Framework for Robustly Aligned AI Agents
Zhibo Liang , Tianze Hu , Zaiye Chen , Mingjie Tang
Published on arXiv
2512.06716
Prompt Injection
OWASP LLM Top 10 — LLM01
Excessive Agency
OWASP LLM Top 10 — LLM08
Key Finding
CCA withstands sophisticated IPI attacks that defeat other advanced defenses on AgentDojo while maintaining functionality and efficiency, resolving the multi-dimensional security-functionality-efficiency trade-off.
Cognitive Control Architecture (CCA)
Novel technique introduced
Autonomous Large Language Model (LLM) agents exhibit significant vulnerability to Indirect Prompt Injection (IPI) attacks. These attacks hijack agent behavior by polluting external information sources, exploiting fundamental trade-offs between security and functionality in existing defense mechanisms. This leads to malicious and unauthorized tool invocations, diverting agents from their original objectives. The success of complex IPIs reveals a deeper systemic fragility: while current defenses demonstrate some effectiveness, most defense architectures are inherently fragmented. Consequently, they fail to provide full integrity assurance across the entire task execution pipeline, forcing unacceptable multi-dimensional compromises among security, functionality, and efficiency. Our method is predicated on a core insight: no matter how subtle an IPI attack, its pursuit of a malicious objective will ultimately manifest as a detectable deviation in the action trajectory, distinct from the expected legitimate plan. Based on this, we propose the Cognitive Control Architecture (CCA), a holistic framework achieving full-lifecycle cognitive supervision. CCA constructs an efficient, dual-layered defense system through two synergistic pillars: (i) proactive and preemptive control-flow and data-flow integrity enforcement via a pre-generated "Intent Graph"; and (ii) an innovative "Tiered Adjudicator" that, upon deviation detection, initiates deep reasoning based on multi-dimensional scoring, specifically designed to counter complex conditional attacks. Experiments on the AgentDojo benchmark substantiate that CCA not only effectively withstands sophisticated attacks that challenge other advanced defense methods but also achieves uncompromised security with notable efficiency and robustness, thereby reconciling the aforementioned multi-dimensional trade-off.
Key Contributions
- Intent Graph: a pre-generated baseline of legitimate control-flow and data-flow for LLM agent tasks that enables proactive integrity enforcement before malicious deviations can execute
- Tiered Adjudicator: a multi-dimensional scoring mechanism that performs deep reasoning upon deviation detection, specifically designed to counter complex conditional IPI attacks
- Full-lifecycle cognitive supervision framework that reconciles the security-functionality-efficiency trade-off that plagues fragmented single-point defenses