Attack walkthrough · Knowledge-Intensive Agent Architecture
T3 (Privilege Compromise) via Data Access in Knowledge-Intensive
Knowledge-intensive agents often have broad read access to data stores. An attacker can exploit this access to exfiltrate sensitive information, bypass access controls, or access documents the user shouldn't see through context manipulation.
- 5 steps
- 1 threats
- 6 controls that stop it
- High severity
Knowledge-Intensive Agent ArchitectureASI03 Identity & Privilege Abuse
How the attack unfolds
1. The setup
The target is a Knowledge-Intensive Agent Architecture. Agents focused on leveraging and processing large volumes of external data, typically using sophisticated RAG approaches. Employs chain of thought for reasoning over retrieved knowledge and data connectors for accessing persistent knowledge stores.
2. The attack
Knowledge-intensive agents often have broad read access to data stores. An attacker can exploit this access to exfiltrate sensitive information, bypass access controls, or access documents the user shouldn't see through context manipulation.
3. Technique: Confused Deputy Attack
Tricking privileged agent to perform unauthorized actions. The threat catalog rates this T3 vector high.
4. Threat: T3 Privilege Compromise
T3 Privilege Compromise: Breaking information system boundaries through context collapse, causing unauthorized data access/leakage, or exploiting tool privileges to gain unauthorized access to systems.
5. In the wild: Cross-Agent Trust Exploitation
ASI03 Identity & Privilege Abuse in the OWASP Top 10 for Agentic Applications describes the same pattern: A crafted email instructs an email sorting agent to instruct a finance agent to move money. The finance agent trusts the internal agent and processes the payment.
Threats involved
- T3 Privilege Compromise: Breaking information system boundaries through context collapse, causing unauthorized data access/leakage, or exploiting tool privileges to gain unauthorized access to systems.
Controls that stop it
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.
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.
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.
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.
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.