Architecture pattern
Hierarchical Agent Architecture
This architecture introduces a KC2.2 (Hierarchical planning) model where a central orchestrator agent decomposes complex tasks and delegates them to specialized sub-agents. These sub-agents may use specialized KC1.1 or KC1.4 (Fine-tuned) models.
- 8 key components
- 5 threats
- 13 controls
- 8/10 risk
Overview
This architecture introduces a KC2.2 (Hierarchical planning) model where a central orchestrator agent decomposes complex tasks and delegates them to specialized sub-agents. These sub-agents may use specialized KC1.1 or KC1.4 (Fine-tuned) models. Communication and state are often managed via KC4.2 (Cross-agent session memory). This structure allows for more complex, multi-step problem-solving.
Key components
Threats this pattern exposes
T6 (Intent Breaking) & Control-Flow Hijacking
A key threat is compromising the KC2.2 orchestrator. An attacker could manipulate the orchestrator to alter the main goal, misroute tasks to inappropriate agents, or disrupt the entire workflow.
T3 (Privilege Compromise) & The Confused Deputy Problem
A sub-agent with specific permissions (e.g., access to a calendar API) can be "confused" by the orchestrator (or another agent) into misusing its authority. This is a classic T3 threat where a component with legitimate privileges is tricked into performing a malicious action.
T9 (Identity Spoofing)
In a multi-agent system, a compromised sub-agent could attempt to impersonate another agent to gain unauthorized access to information or capabilities from the orchestrator or its peers.
T12 (Communication Poisoning)
The shared KC4.2 memory is a critical channel for inter-agent communication. An attacker who compromises one agent can poison this shared memory to manipulate the behavior and decisions of all other agents relying on it for context.
Mapped threats: T3 Privilege Compromise, T6 Intent Breaking & Goal Manipulation, T9 Identity Spoofing & Impersonation / Agent Identity Compromise, T12 Agent Communication Poisoning, T16 Insecure Inter-Agent Protocol Abuse.
Recommended controls
M1 Memory Validation & Sanitization
Implement comprehensive validation and sanitization of AI memory systems, including vector databases, embeddings, and training data to prevent poisoning attacks and ensure data integrity throughout the AI lifecycle.
M2 Tool Sandboxing & Isolation
Implement defense-in-depth isolation for tool execution environments using containerization, virtualization, and strict resource controls to prevent tool misuse, contain breaches, and prevent unexpected code execution.
M3 Secure Inter-Agent Communication
Implement cryptographically secure communication channels between agents with authentication, integrity verification, replay protection, and support for decentralized identity to prevent spoofing, poisoning attacks, and rogue agent infiltration.
M4 Prompt Hardening & Jailbreak Prevention
Implement multiple layers of prompt security including structural defenses, behavioral constraints, runtime detection, and advanced techniques to prevent prompt injection, model manipulation, and jailbreaking attempts.
M5 Multi-Stage Reasoning Validation
Implement comprehensive validation of agent reasoning processes using multiple checkpoints, external validators, consistency checks, and fact verification to ensure goal alignment, prevent manipulation, and detect hallucinations.
M6 Comprehensive Security Monitoring & Auditing
Implement end-to-end observability with security-focused monitoring, anomaly detection, tamper-evident logging, and advanced threat hunting to ensure accountability, enable incident response, and detect rogue agents.
M7 Zero Trust & Least Privilege Access
Implement fine-grained access controls with continuous verification, temporary credentials, minimal permission sets, and dynamic privilege management following zero trust principles to prevent tool misuse, privilege compromise, and unauthorized code execution.
M8 Adaptive Human-in-the-Loop Controls
Implement intelligent human oversight with risk-based approval workflows, clear decision interfaces, anti-fatigue mechanisms, and adaptive trust systems to prevent approval overwhelm, human attacks, and manipulation while maintaining effective oversight.
M10 Defense-in-Depth Architecture & Trust Boundaries
Implement multiple security layers with clear trust boundaries, network segmentation, cryptographic verification, and zero-trust networking to contain breaches, prevent lateral movement, and protect against privilege compromise, identity spoofing, and rogue agents.
M11 Content Security & Output Filtering
Implement comprehensive filtering and validation of agent outputs to prevent harmful content generation, data leakage, manipulation attempts, and ensure compliance with security policies and regulatory requirements.
M12 Secure Model Training & Validation
Comprehensive security practices for model training pipelines including data integrity verification, training environment hardening, model validation against adversarial inputs, and ensuring reproducibility of training processes.
M13 Secure Development Lifecycle Integration
Embed security practices throughout the AI and agent lifecycle with security design reviews, automated testing gates, dependency scanning, and continuous compliance checks.
M19 MCP Server Hardening & Tool Provenance
Treat every MCP server, A2A peer and tool definition as an untrusted, versioned dependency: admit only allow-listed and verified servers, authenticate and authorize every protocol request, validate and screen tool metadata and results before they reach the model, and require re-approval when a tool definition changes.
Attack walkthroughs
- T6 (Intent Breaking) & Control-Flow Hijacking in Hierarchical: A key threat is compromising the KC2.2 orchestrator.
- T3 (Privilege Compromise) & The Confused Deputy Problem in Hierarchical: A sub-agent with specific permissions (e.g., access to a calendar API) can be "confused" by the orchestrator (or another agent) into misusing its authority.
- T9 (Identity Spoofing) in Hierarchical: In a multi-agent system, a compromised sub-agent could attempt to impersonate another agent to gain unauthorized access to information or capabilities from the orchestrator or its peers.
- T12 (Communication Poisoning) in Hierarchical: The shared KC4.2 memory is a critical channel for inter-agent communication.
- Tool Poisoning via MCP: An attacker compromises the tool interface such as MCP tool descriptors, causing the agent to invoke a tool based on falsified or malicious capabilities.
- EDR Bypass via Tool Chaining: A security-automation agent receives an injected instruction that causes it to chain together legitimate administrative tools to exfiltrate sensitive logs.
- Delegated Privilege Abuse: A finance agent delegates to a 'DB query' agent but passes all its permissions.
- Forged Agent Persona: An attacker registers a fake 'Admin Helper' agent in an internal Agent2Agent registry.
- Semantic injection via unencrypted communications: Over HTTP, a MITM attacker injects hidden instructions, causing agents to produce biased or malicious results.
- A2A registration spoofing: An attacker registers a fake peer agent in the discovery service using a cloned schema, intercepting privileged coordination traffic.
References
Source: Agentic Security Hub architecture patterns (editorial, after OWASP Agentic AI T&M v1.1) 2026.11 · retrieved 2026-11