Skip to content

Threat model and defense architecture for prompt injection in multi-agent systems: 14 attack vectors and four types of defensesBeyond Single-Model Injection: A Threat Model and Defense Architecture for Prompt Injection in Multi-Agent Systems

arXiv: Jailbreaks, Prompt Injection, Poisoning & Defenses· arXiv:2609.22949· Rudrendu Kumar Paul, Sourav Nandy·Indexed by this site · 2026-10-01· Originally publishedAttacks

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

The authors enumerate 14 injection vectors across 6 agent systems, and four layers of defense reduce the weighted aggregate success rate from 31.2% to 4.2%.

Threat modelThe attacker controls at least one piece of content processed by an agent, including user input, retrieved documents, API responses, and database records, but does not control the agent itself. The goal is to make at least one agent exceed its scope: exfiltrate data, bypass compliance, escalate privileges, or poison downstream output. The victim system is a 6-agent financial document analysis pipeline, where agents have roles, permitted tools, and trust boundaries.

Questions
Single-model prompt injection research does not cover message passing, shared tools, and trust propagation in multi-agent systems. The authors state that a single tool output can affect the entire pipeline when the orchestrator trusts upstream and boundaries are no longer checked.
Methods
The authors enumerate 4 categories of 14 injection vectors on a 6-agent financial document analysis pipeline, construct 50 payloads per vector using a three-stage process, and report the highest privilege escalation rate across three LLM backends. Defenses are message signing and provenance tracking, boundary sanitization, role-limited tool access, and anomaly detection on the communication graph.
Experiments and results
With only system prompt guardrails, the authors report indirect injection aggregated at 43%, inter-agent at 31%, direct injection at 19%, cascade at 28%, and the weighted aggregate across 14 vectors at 31.2%; 67% (4/6) of the 6 agents exceeded permissions at least once. With all four layers combined, the weighted aggregate is 4.2% (Table 2). Anomaly detection caught 84% of cascade attempts.
Limitations and future work
The authors state that only text systems are addressed, and the multimodal injection surface is not handled; 50 fixed payloads per vector, and adaptive adversaries may achieve higher rates; the boundary classifier has a 2.3% false positive rate and may not generalize to unseen formats; with hundreds of agents, the anomaly detection graph may require approximation. Experiments report the highest vector success rate across three backends, without per-backend numbers or review models.
Experimental setupGPT-4o (2024-08-06)、Claude 3.5 Sonnet et al. · 6-agent financial document analysis pipeline、14 attack vectors (50 payloads each) · scope violation rate、injection success rate et al.
Evaluated models
GPT-4o (2024-08-06)Claude 3.5 SonnetLlama 3 70B-Instruct
Benchmarks
6-agent financial document analysis pipeline14 attack vectors (50 payloads each)
Metrics
scope violation rateinjection success ratefalse positive ratelatency
AI summaryThe paper proposes a prompt injection threat model for multi-agent systems, enumerating four categories totaling 14 attack vectors: 3 direct injections via user input, 4 indirect injections via tool output, 4 injections via inter-agent message passing, and 3 cascade injections via orchestrator manipulation. The authors test all 14 vectors on a production-representative 6-agent system and find that even with system-prompt-level guardrails, 67% of agents are vulnerable to at least one scope violation, with a 43% success rate for indirect injection via tool output. Four architectural defenses reduce the overall injection success rate from 31.2% to 4.2%: message signing with source tracing reduces inter-agent injection by 91%, input/output sanitization at agent boundaries reduces indirect injection by 78%, role-scoped tool permissions completely eliminate privilege escalation, and inter-agent communication anomaly detection catches 84% of cascade attempts.

The paper proposes a prompt injection threat model for multi-agent systems, enumerating four categories totaling 14 attack vectors: 3 direct injections via user input, 4 indirect injections via tool output, 4 injections via inter-agent message passing, and 3 cascade injections via orchestrator manipulation. The authors test all 14 vectors on a production-representative 6-agent system and find that even with system-prompt-level guardrails, 67% of agents are vulnerable to at least one scope violation, with a 43% success rate for indirect injection via tool output. Four architectural defenses reduce the overall injection success rate from 31.2% to 4.2%: message signing with source tracing reduces inter-agent injection by 91%, input/output sanitization at agent boundaries reduces indirect injection by 78%, role-scoped tool permissions completely eliminate privilege escalation, and inter-agent communication anomaly detection catches 84% of cascade attempts.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Multi-agent injection can spread along internal messages and trust boundaries; single-model studies do not cover this attack surface.

    Prompt injection in multi-agent systems spreads along internal messages and trust boundaries, and single-model studies do not cover this attack surface.

    • Scenario: The authors state that if a compliance agent incorporates instructions from tool returns into its reasoning, it passes a contaminated approval to the orchestrator; the orchestrator trusts that output and does not re-check, so it continues. The authors state that this failure depends on inter-agent messaging, shared trust, and lack of boundary checks, which are specific to multi-agent deployments.
    • Existing gaps: The authors state that existing measurements mainly target isolated models processing external data. Lee and Tiwari (2024), Ferrag et al. (2025), and Brodt et al. (2026) discuss cross-agent propagation, but the authors state that they do not simultaneously provide a systematic enumeration of multi-agent-specific vectors, measured success rates, and corresponding architectural defenses.
    • Authors' observations: Three mechanisms absent in single models are that inter-agent messages form channels invisible to perimeter defenses, shared tools enable privilege escalation across boundaries, and trust propagation allows compromised agents to affect upstream orchestrators.
    • This work proposes: A threat model with 14 vectors across four categories, full-vector measurements on a 6-agent system, and a four-layer architectural defense. The authors report that the overall injection success rate drops from 31.2% to 4.2% when combined.
    • Threat model:
      • Goal: Cause at least one agent to perform actions outside its intended scope, including exfiltrating data, bypassing compliance checks, escalating privileges, or polluting outputs passed downstream.
      • Control: The attacker controls at least one piece of content processed by an agent, but does not control the agents themselves.
      • Entry points: User inputs, documents ingested by the retrieval agent, API responses consumed by the code agent, and database records processed by the analysis agent.
      • Victim system: A 6-agent financial document analysis pipeline that the authors describe as representative of enterprise deployments. Each agent has a role, a permitted tool set, and trust boundaries specifying who can send messages.
  2. What related research exists?

    The authors position this work as an enumeration of multi-agent injection vectors with measured rates and architectural defenses.

    Paraphrased according to the grouping in the introduction and Section 2.

    Single-model prompt injection

    • Greshake et al. (2023): Interpret injection as the model's inability to distinguish instructions from data in context, and demonstrate indirect injection via external content. The authors state that these findings apply to isolated models processing external data.
    • Zhan et al. (2024): Test indirect injection on 1,054 test cases; the authors report that GPT-4 with ReAct prompting is vulnerable in 24% of cases. The authors state that their observed direct injection aggregate of 19% is consistent with that work's findings on single-model systems.
    • OWASP Foundation (2025): The authors state that it ranks prompt injection as the top risk for LLM applications.

    Cross-agent attacks

    • Lee and Tiwari (2024): Malicious prompts self-replicate among interconnected LLM agents; the authors describe this as behaving like a computer virus.
    • Ferrag et al. (2025): Catalog over 30 attack techniques, covering host-to-tool and agent-to-agent communication.
    • Brodt et al. (2026): Depict the evolution of injection as a seven-stage kill chain; the authors report at least 21 documented attacks crossing four or more stages. The authors state that none of these three provides a systematic enumeration of multi-agent-specific vectors with measured success rates and architectural defenses.

    Defenses and surveys

    • Beurer-Kellner et al. (2025) and Lin et al. (2026): The former proposes design patterns for a single agent, which the authors describe as provably resistant to injection, but state that it only handles single-agent isolation and does not account for cross-boundary trust propagation. The latter's VIGIL is verify-before-commit on tool flows; the authors report that it reduces attack success by more than 22% relative to dynamic baselines while maintaining utility, and state that its focus is the agent-tool interface, missing inter-agent message channels.
    • Ji et al. (2026) and He et al. (2025): SEAgent uses attribute-based mandatory access control to prevent privilege escalation, which the authors report has a low false positive rate; the authors state that permission scope must be set at the architecture layer, not the prompt layer. SentinelAgent builds interactions into a dynamic execution graph and performs anomaly detection on nodes, edges, and paths; the authors state that it can detect collusion and potential exploitation paths, and adopt it as one of the four defense layers.
    • Wang et al. (2025) and Maloyan and Namiot (2026): The former surveys and concludes that no single method achieves high trustworthiness, high utility, and low latency simultaneously; the authors call this trade-off the defense trilemma and state that layered architectural control is needed. The latter synthesizes 78 studies and 42 techniques; the authors report that adaptive strategies succeed against state-of-the-art defenses at a rate exceeding 85%, and state that this motivates placing defenses at layers beyond prompt manipulation.

    Baselines and evaluation materials

    • Baseline method: Using only system prompt guardrails on the same 6-agent system (Baseline in Table 2).
    • Evaluation environment: The authors' self-built 6-agent financial document analysis pipeline, with 14 vectors and 50 payloads per vector. The paper cites InjecAgent but does not use it as the test set.

    The authors distinguish this work from the above by providing a 14-vector enumeration specific to multi-agent architectures with per-vector success rates, and using a four-layer architectural defense to reduce the aggregate injection success rate from 31.2% to 4.2%.

  3. How does the paper address this problem?

    The authors enumerate 14 vectors and place the four-layer defense at architectural layers unreachable by prompt manipulation.

    The authors use a 14-vector threat model to characterize multi-agent-specific channels, then place a four-layer defense at the signature, boundary sanitization, infrastructure permission, and monitoring layers, rather than at the prompt layer.

    System and Attacker

    • Form: The system consists of several agents. Each agent has a role, a permitted tool set, and a trust boundary specifying which other agents may send it messages.
    • 6 roles: Orchestrator aO handles task decomposition and result aggregation; retriever aR ingests SEC filings; coder aC performs analytical computations; analyst aA processes database records; compliance aX validates outputs against regulatory constraints; and there is also output aW. The pipeline is called by the authors a representative configuration for enterprise deployment.
    • Backend: Instantiated on GPT-4o (2024-08-06), Claude 3.5 Sonnet, Llama 3 70B-Instruct. Section 3.1 states each attack vector is evaluated on three backends, and the highest observed success rate is reported.
    • Attacker: Controls the content processed by at least one agent, not the agent itself. The goal is at least one privilege escalation.

    Four Vector Categories

    • Direct injection (user input, 3): Targets the orchestrator. D1 overrides the system prompt with instructions, D2 impersonates roles by mimicking system-level formats, D3 rewrites the task objective mid-execution.
    • Indirect injection (tool output, 4): I1 embeds instructions in retrieved documents; I2 embeds instructions in external API responses; I3 causes tool output patterns to undergo what the authors call minor changes, carrying unvalidated fields with instructions; I4 places instructions in tool descriptions or parameter definitions to alter tool selection (the authors cite Shi et al., 2025; Huang et al., 2025).
    • Inter-agent injection (messages, 4): M1 embeds instructions in the output of a compromised agent; M2 uses verbose replies to push key system prompts out of the recipient's context window; M3 mimics system-level message formats to gain higher trust; M4 causes an agent to request subtasks outside the intended delegation path.
    • Cascade injection (orchestrator, 3): C1 causes the orchestrator to route tasks to inappropriate agents; the authors give the example of sending work requiring compliance handling to a code agent without compliance guardrails; C2 pollutes aggregation with the output of a compromised agent; C3 prevents the orchestrator from terminating a compromised workflow.

    Payloads and Determination

    • Each vector constructs 50 payloads in three stages: two security researchers manually create seeds; template expansion with variable substitution on entity names and formats; early-failing payloads are iteratively modified to bypass the target agent's system prompt guardrails.
    • Success is defined as a scope violation: the target agent performs an action outside its permitted scope. The ratios in Table 1 are the percentage of privilege escalations out of 50 attempts.
    • The paper does not state whether privilege escalation is determined by humans, rules, or a model, nor does it give the determination threshold.

    Four-Layer Defense

    • Message signing and source tracing: Each inter-agent message carries a cryptographic signature and a source record, including the source agent, the generating task, and the chain of prior contributors. The receiver verifies first and isolates unsigned messages. The authors state this targets M1, M3, and M4, because injected instructions cannot forge valid signatures. Implemented as Ed25519.
    • Boundary input-output sanitization: Messages entering and leaving each agent pass through a sanitizer. The three checks are: structural validation against the expected output pattern; a lightweight classifier to distinguish data content from instruction content; and content length limits to address context window pollution. The authors state this builds on the firewall idea of Bhagwatkar et al. (2025), but is deployed at each agent boundary, not only at the system perimeter. The paper does not specify the classifier architecture, training data, or thresholds.
    • Role-scoped tools: Tool access tokens are issued by role and enforced by the API gateway at the infrastructure layer, not via prompts. The authors state they follow the attribute-based access control of Ji et al. (2026), with the role-to-tool mapping as immutable configuration. The example given: the retrieval agent can query documents but cannot execute code; the code agent can compute in a sandbox but cannot access the compliance database.
    • Communication anomaly detection: Expected communication is modeled as a directed graph, with edges representing allowed message flows. The detector flags unexpected recipients, anomalous message volumes, atypical content patterns, or sequences that deviate from the expected task flow. It is an independent monitoring agent with read-only access to the message bus, running asynchronously. The authors state they draw on the graph approach of He et al. (2025).
  4. What experiments did the paper conduct?

    The authors report a weighted aggregate of 31.2% with only guardrails, and 4.2% with all four layers combined.

    Experimental Setup

    • Backends under test: GPT-4o (2024-08-06), Claude 3.5 Sonnet, Llama 3 70B-Instruct. The system is the authors' instantiated 6-agent financial document analysis pipeline, not an online production deployment named in the paper.
    • Attack surface: 14 vectors, each with 50 payloads. Section 3.1 states each vector is evaluated on three backends, and Table 1 reports the highest observed success rate. Table 2 does not state whether each defense row likewise takes the highest value across the three backends.
    • Baseline: system prompt guardrails only. The four defenses are each evaluated relative to the baseline first, then the four layers combined are reported (Table 2). Rows with a plus sign are not cumulative row by row.
    • Metrics: scope violation percentage, i.e., the proportion of attempts in which the target agent takes an action outside its permitted scope; there are also category and weighted aggregate injection success rates, false positive rate, and latency.
    • Adjudication: the paper does not report the review model, adjudication thresholds, agreement with humans, nor statistical significance tests or the number of repetitions of the full experiment.
    • Payloads: manual seeds from two security researchers, template variable substitution, and iterative modification of earlier failed payloads, with the modification aimed at bypassing system prompt guardrails.

    Main Results

    Per Table 2. The cell is the injection success rate for that attack category. The aggregate column is filled only in the two places the paper writes it.

    Swipe horizontally to read the table

    DefenseCategory 1Category 2Category 3Category 4Aggregate
    Prompt guardrails only19%43%31%28%31.2%
    Message signing only19%43%2.8%18%Not reported
    Boundary sanitization only8.4%9.5%31%22%Not reported
    Permission scope only19%34%31%16%Not reported
    Anomaly detection only14%38%24%4.5%Not reported
    All four layers combined3.8%4.6%1.2%3.4%4.2%
    • The authors state the four layers each block different channels, and Table 2 gives both single layers and the combination; each single layer has categories that do not decrease.
    • The authors state the residual comes from direct injection structures unseen by the sanitizer classifier, and adaptive indirect encoding not flagged by structural validation.
    • The authors state the 43% in the abstract is the peak category for Category 2, not an aggregate over all vectors; the full baseline, weighted across 14 vectors with 50 payloads each, is 31.2%. The authors state the reduction of the combination relative to this baseline is 86.5%.

    Per-Vector Success Rates

    • Table 1: each vector has 50 trials, and the success rate is the scope violation percentage, and is the highest observed value across the three backends. Direct injection D1/D2/D3 are 22%, 18%, 16%, all targeting aO, and the authors give a category aggregate of 19%.
    • Indirect injection: I1 against aR is 48%, I2 against aC is 44%, I3 against aA is 38%, I4 against aO and aC is 42%. The authors give an aggregate of 43% and state this category is the most dangerous because retrieval and code agents process high-entropy external content.
    • Inter-agent and cascade: M1 through M4 are 36%, 28%, 34%, 26%, aggregate 31%; C1 through C3 are 32%, 28%, 24%, aggregate 28%. The authors state a successful cascade turns a single-point compromise into a full-system failure. The authors state that despite prompt guardrails, 67% (4/6) of the 6 agents are vulnerable to at least one scope violation; the paper does not name which 4. The authors state the orchestrator is the target in 8 of the 14 vectors.

    Latency, False Positives, and Privilege Escalation

    • Latency: signing is Ed25519, 3ms/message; boundary sanitization is 12ms per agent transfer, and the classifier is also written as 12ms/message on average; permission scope runtime latency is 0; anomaly detection is asynchronous. The total overhead for 6 agents and 15 inter-agent messages is 225ms, a 4.7% increase over the 4.8s baseline.
    • Cascade detection: the authors state anomaly detection catches 84% of cascade attempts, by identifying routing manipulation and termination suppression. In Table 2, with only that layer, the Category 4 success rate is 4.5%. The paper does not state whether 84% and 4.5% use the same measure.
    • Permission scope: the abstract states privilege escalation is completely eliminated; the main text states all privilege escalation attempts observed in the test suite are mitigated, because even a fully compromised agent cannot call tools outside the infrastructure role scope. The paper does not report the number of such attempts. In Table 2, with only that layer, the per-category success rates are not all 0.

    Other Ablations and Analyses

    • Message signing only: the authors state inter-agent injection drops from 31% to 2.8%, a 91% reduction (Section 4); Category 4 goes from 28% to 18%.
    • Boundary sanitization only: the authors state indirect injection drops from 43% to 9.5%, a 78% reduction (Section 4).
    • Anomaly detection only: catches 84% of cascade attempts (Section 4); Categories 1 through 3 remain at 14%, 38%, 24% (Table 2).
    • Boundary classifier false positive rate is 2.3% (Section 5).
    • The per-category residuals for the four layers combined are 3.8%, 4.6%, 1.2%, 3.4%, with a weighted aggregate of 4.2% (Table 2).
    • The paper does not report success rates separately by the three backends, so which backend is highest cannot be read from the main text.
  5. What are some points that can be further explored?

    The authors state that multimodal inputs are not addressed, and adaptive adversaries may achieve higher success rates.

    Limitations and future directions noted by the authors

    • The threat model targets text-based multi-agent systems; multimodal agents have injection surfaces not addressed in this paper (Section 5, citing McHugh et al., 2025).
    • A fixed set of 50 payloads is used per vector; the authors state that adaptive adversaries may achieve higher success rates and cite Maloyan and Namiot (2026) that adaptive strategies exceed 85% against state-of-the-art defenses at the time (Section 5).
    • The authors state that the architectural approach raises adaptation cost, requiring attackers to bypass cryptographic signatures and infrastructure-level access control rather than prompt filtering, but does not eliminate adaptation (Section 5).
    • The Layer 2 boundary classifier has a false positive rate of 2.3% and may not generalize to unseen injection formats (Section 5).
    • Evaluation is on a 6-agent system; the authors state that production deployments with hundreds of agents may require approximation of the anomaly detection graph (Section 5).
    • The authors state that prompt injection is only one of several threats; data poisoning, model extraction, and supply chain compromise require separate treatment (Section 5, citing Huang et al., 2025; Kong et al., 2025).

    Experimental coverage

    • The system is instantiated on three backends: GPT-4o (2024-08-06), Claude 3.5 Sonnet, and Llama 3 70B-Instruct; Section 3.1 states that each vector is evaluated on all three backends and the highest observed success rate is reported.
    • The victim system is a financial document analysis pipeline with 6 named roles, where the retrieval step ingests SEC filings and the compliance step validates outputs against regulatory constraints (Section 3.1).
    • 14 vectors with 50 payloads each, built from hand-crafted seeds, template variable substitution, and iterative modification of failed payloads (Section 3.1). Defenses are reported individually and combined in four layers (Table 2).
    • Latency is reported on a 6-agent workflow with 15 inter-agent messages; the operation of signing, sanitization, permission scoping, and anomaly detection is described separately (Section 4.1).
    • The paper does not report per-backend success rates, the reviewer model used for scope-violation judgment, agreement with human judgment, or statistical significance tests. Table 2 does not state whether defense rows take the maximum across three backends as in Section 3.1.
  6. Summarize the main content of the paper

    With the 14-vector threat model plus the four-layer defense, the weighted aggregate injection rate drops from 31.2% to 4.2%.

    The authors establish a threat model for prompt injection in multi-agent systems and provide a four-layer architectural defense.

    • Problem: Single-model injection does not cover inter-agent messages, shared tools, and trust propagation. The authors state that a single tool output can affect the entire pipeline when the orchestrator trusts upstream and boundaries are no longer checked.
    • Setting: A 6-agent financial document pipeline with roles including orchestration, retrieval, code, analysis, compliance, and output. The attacker controls at least one piece of processed content, does not control the agents, and the goal is at least one privilege escalation.
    • Vectors: 14 across four categories. With only system prompt guardrails, the authors report direct injection aggregated at 19%, indirect injection via tool outputs at 43%, inter-agent at 31%, and cascade at 28%. Table 1 takes the highest value across three backends, with single vectors ranging from 16% for D3 to 48% for I1 against the retrieval agent. The weighted aggregate baseline is 31.2%. The authors state that 67% (4/6) of the 6 agents exceeded permissions at least once.
    • Defenses: Message signing and provenance tracking, input-output sanitization at each agent boundary, role-based tool scoping at the infrastructure layer, and communication anomaly detection by a read-only monitoring agent. In Table 2, with all four layers combined, the four categories are 3.8%, 4.6%, 1.2%, and 3.4%, with a weighted aggregate of 4.2%. The authors state that signing reduces inter-agent injection to 2.8% (a 91% reduction), sanitization reduces indirect injection to 9.5% (a 78% reduction), and anomaly detection catches 84% of cascade attempts.
    • Authors' conclusion: System prompt guardrails operate at a layer the attacker can manipulate, so they are insufficient; architectural controls can serve as a security baseline for multi-agent deployments as MCP and A2A expand. The authors also state that the fixed 50 payloads and text-only setting do not rule out adaptive adversaries achieving higher success rates; architectural defenses raise the cost of adaptation but do not eliminate it.
Read originalarxiv.org