Trustworthy Agentic AI: A Comprehensive Cybersecurity and Systems Survey on Threat Landscapes, Defense Architectures, and Open Challenges
Organizations: Department of Computer Engineering, Yazd University, Yazd 89195-741, Iran
Abstract
The transition from passive foundation models to autonomous, goal-directed agentic AI systems has introduced unprecedented capabilities by coupling recursive cognitive reasoning loops, persistent memory architectures, live tool execution planes, and multi-agent collaboration topologies. However, granting probabilistic neural cores execution authority across filesystems, networks, and cloud infrastructure dissolves classical security perimeters: natural language simultaneously serves as input data, internal control code, and communication protocols, exposing a Turing-complete blast radius where untrusted data represents executable instructions. This survey delivers a comprehensive systems-security reference framework for trustworthy agentic AI, synthesizing 206 foundational studies and regulatory standards. We formalize the general agent architecture as a stateful 5-tuple and establish a 6-dimensional trustworthiness taxonomy covering security, safety, privacy, explainability, fairness, and accountability. We systematically analyze threat surfaces across intra-execution loops and interaction planes, formulate a multi-layered zero-trust defense-in-depth architecture integrating Dual-LLM isolation, Capability-Based Access Control, kernel eBPF probes, and sandboxed runtimes, review standardized evaluation benchmarks, and map technical controls to international AI governance frameworks.
Figures & tables
| Survey | Year | Primary Focus / Scope | Key Capabilities | Identified Limitations / Gaps |
| Xi et al. [ 1 ] | 2023 | General LLM agents | Cognitive architecture | Overlooks adversarial threat vectors and systems sandboxing. |
| Wang et al. [ 2 ] | 2024 | Agent development | Planning & evaluation | Lacks systems security and memory poisoning analysis. |
| Greshake et al. [ 20 ] | 2023 | Indirect prompt injection | App vulnerability demo | Limited to initial IPI discovery; lacks defense blueprint. |
| Zhan et al. [ 21 ] | 2024 | Tool-integrated agents | Benchmarking across tools | Empirical attack suite; omits multi-agent and memory planes. |
| Deng et al. [ 15 ] | 2024 | Web interactive agents | Web task execution | Focuses on task success, not operational security. |
| Yao et al. [ 5 ] | 2023 | Deliberate planning | ToT reasoning search | Evaluates reasoning without adversarial threat models. |
| Abbreviation | Definition |
| ACL | Agent Communications Language |
| ANN | Approximate Nearest Neighbor |
| ASR | Attack Success Rate |
| BFT / PBFT | Byzantine Fault Tolerance / Practical BFT |
| BRI | Blast Radius Index |
| CapBAC | Capability-Based Access Control |
| Framework | Primary Domain | Reasoning | Memory Model | Key Vulnerability Point |
| AutoGPT [ 1 ] | General automation | ReAct | Working + Vector DB | Unsanitized tool execution; loops. |
| AutoGen [ 12 ] | Multi-agent chat | Conversable | Context passing | Byzantine peer injection; no signing. |
| MetaGPT [ 13 ] | Software engineering | SOP role play | Pub/Sub shared | Cascading hallucination propagation. |
| ChatDev [ 26 ] | Collaborative dev | Waterfall | Role buffers | Cross-role prompt injection via code. |
| SWE-agent [ 14 ] | Issue resolution | ACI + ReAct | Working + diffs | Shell parameter injection in bash. |
| MemGPT [ 8 ] | Conversational OS | Context paging | Multi-tier vector | Vector poisoning & inversion. |
| Dimension | Core System Invariant | Verification Method | Enforced Systems Security Control |
| 1. Security | Red-teaming [ 40 ] , SMT [ 113 ] | CapBAC tokens & micro-VM sandboxes. | |
| 2. Safety | Invariant check, R-Judge [ 100 ] | Bounded action envelopes & rollbacks. | |
| 3. Privacy | Membership audits [ 103 ] | Differential Privacy noise injection. | |
| 4. Explainability | Mediation analysis [ 111 ] | Immutable action-thought chains & SMT logs. | |
| 5. Fairness | Parity testing [ 115 ] | Balanced priority scheduling & auction rules. | |
| 6. Accountability | Audit validation [ 117 ] | W3C DIDs [ 118 ] & signed Merkle trees. |
| Layer | Attack Vector | Primary Mechanism | Evaluated Impact | Literature |
| Perception | Direct Prompt Injection | Ingesting adversarial text | Alters goal; bypasses rules | [ 22 , 122 ] |
| Perception | Adversarial Suffixes | Token search (GCG) | Jailbreaks aligned models | [ 38 , 42 ] |
| Perception | Multimodal Injection | Steganographic noise | Jailbreaks vision agents | [ 126 , 125 ] |
| Brain | Backdoors | Poisoned datasets | Trigger-activated actions | [ 50 , 51 ] |
| Brain | Misalignment | Data bias & sycophancy | Generates toxic outputs | [ 141 , 142 ] |
| Brain | Planning Errors | Error amplification | Cascading task failure | [ 6 , 49 ] |
| Interaction Surface | Threat Vector | Adversary Model | Systems Impact | Key References |
| Environment ( ) | Indirect Prompt Injection | Black-box data untrusted injection | Goal hijacking & unauthorized tool dispatch | Greshake et al. [ 20 ] , Zhan et al. [ 21 ] |
| Environment ( ) | Markdown Data Exfiltration | Passive untrusted content poisoning | Zero-click credential exfiltration via GET | Greshake et al. [ 20 ] , Zhan et al. [ 21 ] |
| Environment ( ) | Cloud Metadata SSRF | Injected URL tool dispatch | Cluster node IAM credential theft (IMDS) | Fang et al. [ 35 ] |
| Environment ( ) | Sponge DoS / Context Bomb | Malicious prompt perturbation | GPU memory exhaustion & latency spike | Shumailov et al. [ 57 ] , Guastalla et al. [ 58 ] |
| Memory ( ) | PoisonedRAG Vector Attack | Black-box document injection ( docs) | top-1 retrieval hijacking | Zou et al. [ 59 ] , Chen et al. [ 60 ] |
| Memory ( ) | Dense Embedding Inversion | White/gray-box vector access | raw private document reconstruction | Morris et al. [ 110 ] , Li et al. [ 109 ] |
| Defensive Control | Target Attack Surface | Latency Overhead | Token Cost | Deployment Model | Key Operational Limitation |
| Dual-LLM Isolation [ 158 ] | IPI / Data-as-Code | High ( ) | API & Self-Hosted | Doubles model inference costs. | |
| Attention Masking [ 159 ] | Attention-level IPI | Negligible ( ) | White-Box Only | Incompatible with closed-weight APIs. | |
| Signed Vectors [ 117 ] | RAG DB Poisoning | Low ( ) | Universal Vector DB | Requires trusted signing PKI infrastructure. | |
| DP Noise Injection [ 161 ] | Embedding Inversion | Zero ( ) | Embedding Pipeline | Degrades top- semantic retrieval precision. | |
| CapBAC Tokens [ 36 ] | Confused Deputy / RCE | Negligible ( ) | Cluster Gateway | Requires granular tool permission schema. | |
| Micro-VM Sandboxing [ 54 ] | Host Escape / RCE | Moderate ( ) | Kubernetes / Cloud | Ephemeral state loss; storage volume overhead. |
| Benchmark | Target Layer | Environment | Primary Metric | Empirical Baseline Result |
| InjecAgent [ 21 ] | Tool Plane | 17+ APIs | Attack Success (ASR) | GPT-4: 24.1%–45.3% ASR under IPI. |
| BIPIA [ 144 ] | Cognitive Input | Email, Web, Docs | Injection Rate | ASR across standard LLMs. |
| AgentBench [ 181 ] | Full Loop | OS, DB, Web | Success / Safety | GPT-4: 4.01/5; open-source: ¡2.0. |
| R-Judge [ 100 ] | Cognitive Plan | 1,624 Records | Safety Risk F1 | GPT-4: 70% F1 on dangerous actions. |
| ToolBench [ 182 ] | Tool Execution | 16,000+ APIs | Pass Rate | Function selection scales with tuning. |
| CyberSecEval [ 28 ] | Cyber Action | Exploits & Repos | Exploit Likelihood | LLMs generate weaponizable exploits. |
| Framework | Mandate | Target Vulnerability | Implemented Technical Defense |
| NIST AI RMF [ 119 ] | GOVERN 1.2, MANAGE 2.4 | Unauthorized tool dispatch | CapBAC tokens & Firecracker micro-VMs. |
| EU AI Act Art. 12 [ 121 ] | High-Risk Event Logs | Reasoning tampering | Merkle Audit Trees with hash chaining ( ). |
| EU AI Act Art. 14 [ 121 ] | Human Oversight | Autonomous drift | Three-tier HITL/HOTL/HIC approval gates. |
| ISO/IEC 42001 [ 120 ] | AI Data Traceability | Vector DB poisoning | Signed vector embeddings & DP noise. |
| OWASP Top 10 [ 192 ] | Excessive Agency (LLM06) | Arbitrary RCE | Kernel eBPF syscall probes & Dual-LLM isolation. |
| Research Horizon | Timeframe | Foundational Scientific Bottleneck | Key Breakthrough Milestone |
| 1. Formal Action Verification | 1–3 Years | Semantic-to-symbolic fidelity gap; state-space explosion. | Real-time grammar-constrained SMT invariant solver. |
| 2. Lifelong Dynamic Alignment | 2–4 Years | In-context alignment decay; non-invertible side effects. | Non-monotonic memory scrubbers with shadow execution. |
| 3. Autonomic Swarm Immunity | 3–5 Years | PBFT token/latency cost in LLM clusters. | Optimistic consensus guided by GNN message telemetry. |
| 4. Machine-Speed Cyber Defense | 2–5 Years | Asymmetric exploit generation vs. regression-free patching. | Autonomous SOC agents with formal patch verification. |
| 5. Pareto Cluster Scheduling | 1–3 Years | Multi-LLM inspection latency vs. throughput. | BRI-throttled scheduling across GPU/TEE clusters. |
| 6. Autonomous Value Networks | 3–6 Years | Lack of verifiable agency and private provenance. | Standardized reasoning proofs and W3C DIDs. |