Skip to content

Agentic LLM Vulnerabilities: The 4-Layer Taxonomy & Systematic Review (arXiv:2608.10530)

1. Paradigm Shift: From Conversational Models to Agential Systems

Section titled β€œ1. Paradigm Shift: From Conversational Models to Agential Systems”

Large Language Models have fundamentally shifted from passive text-in/text-out generators to autonomous computational controllers:

CONVERSATIONAL LLM (2022-2023) AGENTIC LLM SYSTEM (2024-2026)
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Passive Interface β”‚ β”‚ Autonomous Planning & Actuation Loop β”‚
β”‚ β”‚ β”‚ β”‚
β”‚ User Prompt ──► [ LLM ] β”‚ β”‚ Perception ──► Brain (Plan) ──► Action (Tools/APIs) β”‚
β”‚ β”‚ β”‚ β”‚ β–² β”‚ β”‚
β”‚ β–Ό β”‚ β”‚ └────── Observation / Memory β—„β”€β”€β”€β”˜ β”‚
β”‚ Static Response β”‚ β”‚ β”‚
β”‚ (No External Side Effects) β”‚ β”‚ (Irreversible Real-World State Changes: DB, OS, APIs) β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

An agentic LLM integrates four core enabling capabilities:

  1. In-Context Learning & Adaptive Planning: Multi-step reasoning loops (e.g., ReAct, Plan-and-Solve) that break high-level objectives into intermediate execution graphs.
  2. Structured Tool & API Actuation: Invoking local shell commands, SQL query engines, web browsers, and enterprise APIs.
  3. Dynamic Knowledge Access (RAG): Real-time retrieval across vector databases, document collections, and knowledge graphs.
  4. Persistent Stateful Memory: Retaining episodic and semantic state across sessions.

This shift expands the attack surface from mere content generation to arbitrary state mutation. When an agent’s reasoning is compromised, the failure mode is not just misinformationβ€”it is uncoordinated system failure, privilege escalation, and host compromise.

2. The Four-Layer Architectural Vulnerability Taxonomy

Section titled β€œ2. The Four-Layer Architectural Vulnerability Taxonomy”

Hossain et al. establish a rigorous, component-based taxonomy classifying 13 primary vulnerability types across four distinct architectural tiers:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ 1. PERCEPTION LAYER (65.9% of Literature) β”‚
β”‚ - Direct Prompt Injection - Jailbreaking Attacks β”‚
β”‚ - Indirect Prompt Injection - Adversarial Input Perturbations β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ 2. BRAIN LAYER (41.2% of Literature) β”‚
β”‚ - Backdoor Ingestion - Reasoning & CoT Manipulation β”‚
β”‚ - Goal Hijacking & Steering - Memory Inconsistency β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ 3. ACTION / EXECUTION LAYER (4.7% of Literature - HIGHEST BLAST RADIUS) β”‚
β”‚ - Tool Manipulation & Abuse - Code Injection (Unsandboxed Python/JS) β”‚
β”‚ - Sandbox Escape & Container Breakout β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ 4. INTERACTION LAYER (28.2% of Literature) β”‚
β”‚ - Agent-to-Environment Spoofing - Agent-to-Agent Message Injection β”‚
β”‚ - Agent Impersonation - Agent-to-Memory / RAG Poisoning β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

The perception layer ingests and transforms raw, unstructured data from users, external web pages, retrieved documents, tool outputs, and inter-agent messages into structured embeddings for the model.

  • Direct Prompt Injection: The adversary overrides system instructions through primary input channels.
  • Indirect Prompt Injection: Adversarial instructions lurk within data consumed during execution (e.g., poisoned web pages, emails, or git repositories, as demonstrated in CVE-2026-46580).
  • Jailbreaks & Perturbations: Exploiting safety alignment boundaries using semantic obfuscation or token permutations.

The cognitive core of the agent, comprising LLM reasoning weights, task decomposition planners, chain-of-thought (CoT) loops, and goal management.

  • Backdoor Attacks: Latent triggers embedded during pre-training or fine-tuning that force the agent into unauthorized behaviors when activated.
  • Reasoning Manipulation: Injecting subtle logical fallacies or contradictions into intermediate chain-of-thought tokens that appear plausible individually but force a catastrophic conclusion.
  • Goal Hijacking: Overriding the agent’s primary objective, turning it into a proxy worker serving adversary-defined tasks.

Layer 3: The Action / Execution Layer (The Neglected Danger Zone)

Section titled β€œLayer 3: The Action / Execution Layer (The Neglected Danger Zone)”

The physical and digital execution sink where the agent translates cognitive plans into concrete system operations: invoking OS binaries, running Python scripts, issuing database writes, or controlling hardware actuators.

  • Tool Manipulation: Coercing an agent into calling valid tools with invalid, unauthorized, or out-of-scope arguments (e.g., parameter pollution).
  • Code Injection: Exploiting agents designed to synthesize and immediately execute code (e.g., LangChain experimental CSV agents, as seen in CVE-2026-41264).
  • Sandbox Escape: Exploiting misconfigured container isolation, shell built-in bypasses (documented in CVE-2026-22708), or unrestricted gVisor/seccomp profiles to escape to the host.

Controls communication protocols between agents, shared environment states, and persistent memory stores.

  • Agent-to-Agent Message Injection: Semantic tampering of inter-agent messages in multi-agent swarms. Unlike traditional packet tampering, this targets the semantic layer where messages lack cryptographic signatures.
  • Agent Impersonation: Spoofing agent identities in collaborative workflows where agents trust peer messages based purely on natural language role claims.
  • Memory & RAG Poisoning: Corrupting the agent’s long-term vector memory or retrieval indices, causing persistent behavioral drift across subsequent sessions.

The PRISMA systematic review evaluates 85 core research papers, surfacing stark empirical realities:

RESEARCH DISTRIBUTION ACROSS ARCHITECTURAL LAYERS
Perception Layer β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ 65.9% (56 papers)
Brain Layer β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ 41.2% (35 papers)
Interaction Layer β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ 28.2% (24 papers)
Action Layer β–ˆβ–ˆ 4.7% (4 papers) <-- CRITICAL IMBALANCE

Why is the action layer so heavily neglected despite representing the highest real-world severity?

  1. Convenience vs. Consequence: Perception-layer attacks (jailbreaks, direct prompt injection) can be tested cheaply using single-turn API calls against public endpoints (OpenAI, Anthropic).
  2. Infrastructure Complexity: Action-layer research requires deploying full, multi-component agent runtimes with real execution environments (Docker sandboxes, database instances, tool brokers), which increases experimental friction.
  3. Publication Incentive Distortion: Academic incentives reward novel jailbreak prompts over tedious systems engineering and sandbox validation.
ATTACK VS. DEFENSE RESEARCH COVERAGE
Attacks & Vulnerability Discovery β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ 79.6% (68 papers)
Defenses & Mitigations β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ 20.4% (17 papers)
(Attack-to-Defense Ratio: 3.9 to 1)

4. Current Detection Paradigms & Structural Blind Spots

Section titled β€œ4. Current Detection Paradigms & Structural Blind Spots”

The survey identifies three prevailing detection methodologies, while exposing their fundamental architectural vulnerabilities:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Input-Level Filtering β”‚ Runtime Anomaly Detection β”‚ LLM-as-a-Judge Auditing β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ - Regex & Prompt Classifiers β”‚ - Tool sequence monitoring β”‚ - Auxiliary LLM checks β”‚
β”‚ - Embedding vector anomaly β”‚ - Action frequency budgets β”‚ primary agent outputs β”‚
β”‚ - Jailbreak signature scans β”‚ - Resource threshold checks β”‚ - Semantic policy evaluation β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ FATAL FLAW: β”‚ FATAL FLAW: β”‚ FATAL FLAW: β”‚
β”‚ Blind to multi-turn β”‚ High computational latency; β”‚ Circular trust failure; β”‚
β”‚ obfuscation & token shifts β”‚ lacks formal privilege limitsβ”‚ detector itself is injectableβ”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

The Circular Vulnerability of β€œLLM-as-a-Judge”

Section titled β€œThe Circular Vulnerability of β€œLLM-as-a-Judge””

Over 40% of runtime detection proposals rely on a secondary LLM to inspect the primary agent’s output. Hossain et al. highlight that this introduces a circular dependency:

  • If the primary model is vulnerable to semantic confusion and prompt injection, the evaluator model inherits the exact same cognitive weaknesses.
  • An adversary can construct a payload that compromises both the worker agent and the evaluator agent simultaneously, rendering the defense inert.

This finding strongly reinforces the conclusions of Tran et al. in Network-Centric Agent Security: defenses must be out-of-band and deterministic.

The paper consolidates defense mechanisms into six operational categories:

Defense CategoryTarget LayerMechanismLimitations
Input/Output ShieldsPerceptionPre-execution sanitizers, guard models (e.g., Llama Guard), token pruning.Susceptible to multi-turn evasion; high false-positive rate.
Architectural SeparationBrain / ActionDual-agent architectures, privilege separation, unforgeable capabilities.Increases token consumption and orchestration latency.
Runtime SandboxingActiongVisor, WebAssembly, seccomp filters, stateless execution containers.Configuration complexity; performance overhead on code agents.
Policy EnginesActionHardcoded rule engines enforcing AST schemas and rate budgets.Requires complete pre-specification of tool interactions.
Training AlignmentBrainAdversarial fine-tuning, RLHF, safety preference alignment.Does not generalize to out-of-distribution attack vectors.
Multi-Agent GovernanceInteractionCryptographic message signing, consensus voting, mutual authentication.Vulnerable to Byzantine collusions if models share identical weights.

The survey identifies seven urgent research gaps that must be solved to achieve production-ready agent security:

  1. Security of Code-Execution Agents (3.5% of literature): Designing sandboxes that are restrictive enough to prevent host escalation while permissive enough to allow agents to install data-science dependencies and manipulate files.
  2. Security of Embodied Agents (0% of literature): Securing robotic and cyber-physical agents where perception errors translate into physical kinetic hazards.
  3. Formal Verification of Single-Agent Reasoning: Developing mathematical guarantees for agent decision loops rather than empirical heuristic testing.
  4. Maturity & Benchmark Standardization (5:1 attack-to-detection ratio): The absence of standardized adversarial benchmark suites that incorporate multi-turn adaptive attackers.
  5. Coverage of Tool-Augmented Systems (12% of literature): Securing heterogeneous tool pipelines, particularly across open standards like the Model Context Protocol.
  6. Real-World Deployment Gap: Closing the gap between lab-tested static benchmarks and real-world enterprise agent deployments operating under uncontrolled data streams.
  7. Cross-Layer Containment Frameworks: Engineering architectures that prevent a breach at the perception layer from propagating unchecked through the brain layer into the action layer.

7. The Core Root Cause: Architectural Coupling & The Containment Imperative

Section titled β€œ7. The Core Root Cause: Architectural Coupling & The Containment Imperative”

The central conclusion of Hossain et al. is that Agentic LLM insecurity is fundamentally an architectural containment failure.

In traditional operating systems, user-mode processes cannot execute kernel-mode instructions because hardware rings and memory isolation enforce strict physical boundaries. In contemporary agent frameworks (LangChain, AutoGen, CrewAI), the perception layer, cognitive planner, and tool executor share the exact same execution context:

THE ARCHITECTURAL COUPLING TRAP
Untrusted Input (Perception)
β”‚ (Unchecked Data-to-Code Translation)
β–Ό
Reasoning Engine (Brain)
β”‚ (Direct Execution Binding)
β–Ό
Tool Invocation (Action) ──► Host System Compromise!

To break this chain, enterprise engineering teams must decouple these layers: