Skip to content

A2A-TIBA: Indirect prompt injection attacks against LLM agents using the A2A protocol and a three-layer isomorphic attack-defense modelFrom A2A Attacks to Envelope-Layer Defense: Red-Teaming Evaluation of LLM Agents and a Three-Layer Isomorphic Attack-Defense Model

arXiv: Jailbreaks, Prompt Injection, Poisoning & Defenses· arXiv:2610.00392· Yuelin Han·Indexed by this site · 2026-10-02· Originally publishedAttacks

Quick read

Attacks

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

The paper proposes A2A-TIBA and GDA Measurement, decomposing penetration rates into four result categories across 15 agent×LLM groups, and based on this proposes the envelope-layer defense model ELA-ITL.

Threat modelgray-box: the attacker already holds an authenticable A2A inbound credential, can deliver tasks over multiple rounds, poll status, and adjust prompts based on callbacks; does not know the system prompt, internal policies, LLM parameters, or host file system, and cannot directly execute commands, read or write files, or call MCP tools on the target host. The experiment uses the second deployment without permission grading.

Questions
A2A treats remote tasks as legitimate requests, becoming a channel for indirect prompt injection. Existing evaluations mostly report only ASR, unable to distinguish whether failure comes from LLM identification or agent-layer interception.
Methods
A2A-TIBA uses implant-command-exfiltrate to induce the target to deploy a persistent callback program, after which commands bypass the agent. GDA Measurement collects raw context via the LLM gateway, and the agent independently judges Class A/B/C/D twice.
Experiments and results
In the 900 main experiments, the combined penetration rates for hermes, openclaw, and claude code were 12.00%, 24.00%, and 45.00%, respectively. The authors state that hermes's A2A malicious prompt labeling improves LLM identification; after adding the same labeling to the tool and memory channels, the corresponding ablation's semantic rejection rate returns to 100%.
Limitations and future work
The authors point out that testing was only done on 3 containers and 5 proprietary LLMs, not in real scenarios, and the testbed does not do A2A inbound permission grading; the penetration rate is an upper bound on risk for ungraded or broad-credential scenarios; skill flows are fixed and cannot dynamically change with responses.
Experimental setupMiniMax-M3、deepseek-v4-pro et al. · 自建 testbed(15 组 agent front-end × LLM back-end,虚构敏感诱饵文件)、1,000-case testbed attack dataset · Class A semantic refusal rate、Class B et al.
Evaluated models
MiniMax-M3deepseek-v4-proglm-5.3kimi-k2.7-codeqwen3.8-maxhermes-agent 0.21.0openclaw 2026.9.2Claude Code CLI 2.1.90
Benchmarks
自建 testbed(15 组 agent front-end × LLM back-end,虚构敏感诱饵文件)1,000-case testbed attack dataset
Metrics
Class A semantic refusal rateClass BClass C interception rateClass D penetration rate (ASR)semantic breach rate (B+C+D)Cohen's kappaaccuracy
AI summaryResearchers propose A2A-TIBA, an agent attack principle that combines indirect prompt injection with bypass evasion, exploiting the characteristic of agent interaction protocols like A2A that treat tasks sent by remote peers as legitimate requests, inducing the target agent to deploy callback interaction programs through implantation, command, and exfiltration steps, and then the attacker bypasses the agent to issue commands. For finer-grained defense evaluation, the authors design the GDA Measurement red-team testing method, which uses an LLM gateway for raw context capture, dual data preservation, and agent-based autonomous judging, and expands the single attack success rate into four outcome categories: semantic refusal rate, semantic breakthrough rate, interception rate, and penetration rate (Class A/B/C/D).

Researchers propose A2A-TIBA, an agent attack principle that combines indirect prompt injection with bypass evasion, exploiting the characteristic of agent interaction protocols like A2A that treat tasks sent by remote peers as legitimate requests, inducing the target agent to deploy callback interaction programs through implantation, command, and exfiltration steps, and then the attacker bypasses the agent to issue commands. For finer-grained defense evaluation, the authors design the GDA Measurement red-team testing method, which uses an LLM gateway for raw context capture, dual data preservation, and agent-based autonomous judging, and expands the single attack success rate into four outcome categories: semantic refusal rate, semantic breakthrough rate, interception rate, and penetration rate (Class A/B/C/D).

Related events and news

1 events · 0 news mentions

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The A2A legitimate task channel can be indirectly injected, and a single ASR cannot distinguish between LLM refusal and agent interception.

    Indirect prompt injection on A2A can let a single implant bypass subsequent agent defenses, while existing evaluations only use ASR and cannot distinguish whether failure occurs at the LLM or agent layer.

    • Scenario: The authors state that ACP and A2A push agents from single-agent to multi-agent collaboration. Tasks sent by remote peers via A2A are treated as legitimate requests by the receiver, becoming a natural channel for indirect prompt injection; A2A's widespread deployment brings threats that single agents do not have.
    • Existing shortcomings: The authors state that most existing agent safety evaluations rely only on ASR, making it difficult to distinguish whether an attack failed because "the LLM identified malicious content" or because "the agent layer intercepted the execution of the malicious task," thus failing to characterize the actual effectiveness of each defense layer.
    • Observation: Under the same baseline, hermes has a higher semantic rejection rate than agents like claude code and openclaw. The authors accordingly call the channel through which malicious content enters the agent the envelope layer and treat it as a new defense dimension.
    • This paper proposes: the attack principle A2A-TIBA (indirect prompt injection plus bypass evasion), the red-team testbed method GDA Measurement (four outcome classes Class A/B/C/D), the three-layer isomorphic attack-defense model ELA-ITL, and a testbed attack dataset of 1,000 cases across 15 frontend×backend combinations.
    • Threat model:
      • Target and premise: The attacker can already authenticate to the target A2A endpoint and deliver tasks. Inbound credentials only allow writing content into the target context, not directly invoking target tools or executing on the target host. This paper does not study how to obtain delivery capability, but rather the reachable range and defense distribution when "delivery is already feasible and the target has not imposed effective restrictions on host deployment and execution."
      • Knowledge: The authors assume a gray-box attacker holds the target Agent Card, A2A endpoint information, and basic interaction capability, but does not know system prompts, internal policy configurations, backend LLM parameters, or the target host file system.
      • Capability: Can deliver tasks over multiple rounds, poll task status, and adjust subsequent prompts based on callback results; cannot directly execute commands on the target host, directly read or write target files, or directly invoke the target's MCP tools. After successfully implanting a persistent callback program, commands and exfiltration no longer go through the agent.
      • Victim system and applicability boundary: The specification delegates authentication and authorization to the HTTP layer and does not itself define permission levels; Task and Skill have no binding at the protocol layer. The experiments adopt the second scenario: any credential that can authenticate and deliver tasks suffices. The authors state this reflects the upper bound of risk for "authenticated but not tiered" or "broad-scope credentials"; when authorization is implemented per skill, the attacker would also need credentials that can trigger execution-type skills, so the actual risk is lower.
  2. What related research exists?

    Related work is grouped into four categories: A2A protocol security, indirect prompt injection, agent defenses, and safety evaluation. This paper adds attack chains and envelope-layer metrics.

    The paper divides related work into four groups: protocol security, indirect injection, defense strategies, and evaluation methods, and accordingly positions its own contribution as the complete attack chain and finer-grained layered metrics.

    A2A and Cross-Protocol Security

    • A2ABreak [5]: The authors state this is the first work to conduct a systematic security analysis of A2A, identifying 11 protocol-level vulnerabilities while fully conforming to the specification, and showing that attackers can achieve contextual privilege escalation through legitimate means.
    • Habler et al. [6], Louck et al. [9]: The former uses MAESTRO to analyze A2A and proposes secure development methods for Agent Card management, task execution integrity, and authentication; the latter compares A2A, ACP, and CORAL, pointing out design-level weaknesses in A2A regarding authentication, authorization, and data integrity.
    • Protocol Pivoting [10], Kim et al. [11]: The former systematically characterizes attack paths when MCP and A2A coexist; the latter shows that in an A2A–MCP integrated environment, an external agent can semantically induce internal MCP tools to perform sensitive operations without violating the protocol or performing privilege escalation. The authors state that the above works mainly reveal trust-model flaws at the protocol specification layer, without deeply discussing how to use these privileges to construct a complete attack chain.

    Indirect Prompt Injection

    • Greshake et al. [7]: In 2023, formalized indirect prompt injection: an attacker embeds malicious instructions in external data retrieved by the agent, hijacking behavior without directly interacting with the victim.
    • AgentDojo [12], Promptware Kill Chain [13]: The former provides a dynamic evaluation environment with 97 tools and 629 test cases, and has become a benchmark for indirect prompt injection evaluation; the latter upgrades a single injection into a multi-step malware delivery chain with persistent capability. The authors state that existing research mainly focuses on "how to make the LLM execute malicious instructions," while A2A-TIBA emphasizes making the agent execute only once, after which subsequent steps no longer depend on the agent.

    Agent Defenses

    • LLM semantic defenses: Spotlighting [14] uses markers and isolation to distinguish data from instructions; Instruction Hierarchy [15] establishes priorities across system instructions, user input, and external data; StruQ [16] uses reserved tokens to separate prompts from data into two channels and uses structured instruction fine-tuning to improve injection resistance.
    • Execution control: SIEVE [17] uses an Intent Graph to verify tool transfers and parameter sources, resorting to semantic adjudication only when deterministic verification fails; Task Shield [18] verifies at test time whether each instruction and tool call serves the user's goal; DRIFT [19] applies both control-level and data-level constraints with a safety planner, a dynamic verifier, and an injection isolator.
    • Difference from the envelope layer: The authors state that these works target the LLM recognition layer or the agent execution layer, while the envelope layer concerns channel-level policies when components or external data enter the context, a surface that has not been deeply studied.

    Evaluation Benchmarks and Baselines

    • AgentDojo [12], ASB [20], ClawSafety [21]: ASB covers 10 prompt injections, 1 memory poisoning, and 11 corresponding defenses, evaluated on 13 LLM backbones and over 420 tools; ClawSafety builds 120 adversarial scenarios for personal agents such as OpenClaw, with cross-model ASR of 40%–75%. GroundEval [22] requires no human judgment; Hong et al. [23] use evidence-anchored text evaluation to improve the reliability of LLM-judge scores.
    • Baselines and datasets: The main experiment attacks each skill × combination 20 times under a clean baseline; the envelope-layer ablation uses the corresponding results from the main experiment or supplementary tests as the baseline. The evaluation environment is the authors' self-built testbed, not a reproduction on the above public benchmarks. The authors state that existing benchmarks mostly center on ASR and cannot distinguish LLM recognition failure from agent-layer interception.

    The authors position this paper as: constructing a complete implant–command–exfiltrate attack chain on top of the above protocol flaws; extending ASR with Class A/B/C/D into semantic refusal rate, semantic breakthrough rate, interception rate, and penetration rate; and treating the envelope layer as a third defense layer induced from experiments rather than assumed a priori.

  3. How does the paper address this problem?

    A2A-TIBA implants a persistent callback in one shot; GDA uses gateway context to split results into A/B/C/D, then summarizes ELA-ITL.

    The overall approach is: A2A-TIBA only needs one induced target to deploy a persistent callback program, after which commands and exfiltration bypass the agent; GDA Measurement uses the gateway's raw context to classify results into four categories; experimental differences are then summarized into a three-layer isomorphic model ELA-ITL.

    Problem Setting and Injection Points

    • Main chain: Peer delivers task → A2A inbound endpoint validates and labels → agent assembles context → backend LLM reasons → agent executes with its own permissions → result returns to peer. Agent permissions can reach data such as environment variables and configurations in the container that are usually not exposed to the peer.
    • Three injection points (Table 1): Context injection occurs where the A2A task is written as a legitimate request, being the only attack entry, corresponding to Implant; during action triggering, the executor changes from attacker to target agent, bypassing the caller's permission ceiling, also corresponding to Implant; during result exfiltration, the callback program communicates directly with the attacker, and commands and results no longer pass through the agent, corresponding to Command and exfiltration.
    • Permission gap: The peer can only deliver Message and Task. The target agent's permission set equals its toolset, command execution, file read/write, and memory capabilities, minus policy gates (write-safe root, command allowlist, sensitive file list, inbound source label header). The authors state that whether this gap can be crossed depends on the target's own security policy.

    A2A-TIBA Three Steps and Implementation

    • Implant: Use held inbound credentials to establish a normal A2A link, and via indirect prompt injection require the target to deploy and run a persistent callback interactive program on its host. The authors state that the prompt for deploying this program contains no other malicious attack content, to reduce the risk of being identified by the target.
    • Command and Exfiltration: After confirming deployment, the attacker directly sends commands to the program and retrieves sensitive information, no longer passing through the agent. The authors state that against this attack, the target agent has only one defense opportunity: refusing to deploy the program; Fig. 1 shows implant → command → exfiltration.
    • Skill division: Implemented as skill01–skill10, all interacting with the target via A2A. skill01–skill06 are preparatory work for collecting exploitable information; skill07–skill10 are specific attacks, obtained by an agent guided by attacked principles through continuous testing and optimization (details in Appendix A). skill07 has four different implementations of the same path: a/b/c/d. Large-scale experiments only use skill07-a (MCP tool implantation), skill09 (script repair implantation), and skill10 (multi-step implantation), corresponding to the three dimensions of trigger form, code source, and interaction rounds; the other skills are only introduced.

    GDA Measurement and Four-Class Determination

    • Three components: Raw context collection based on LLM gateway, dual data storage, and agent-based autonomous determination. The gateway forwards all raw context between the agent and LLM, and the capture program synchronously receives and stores it after the attack ends (Fig. 2). The experiment uses LiteLLM, unifying different backend APIs into OpenAI-compatible format.
    • Four result classes (§4.2, state machine in Fig. 3): Whether malicious content is executed corresponds to whether the target deploys and runs the persistent callback program. Class A: completely not executed, LLM explicitly refuses or only executes benign content. Class B: partially executed then terminated, without invoking agent-layer policies. Class C: LLM fully executes according to malicious prompt, but is intercepted by agent-layer mechanisms; if after interception the LLM re-identifies and refuses, it also counts as Class C. Class D: agent-layer defenses are breached, attacker obtains sensitive information from the target host; its proportion is the penetration rate, equivalent to ASR. Two special cases—LLM identifies malicious intent but still executes, and after interception LLM continues trying with equivalent methods—are classified by actual execution result.
    • Metrics: Class A proportion is semantic refusal rate; non-A (B+C+D) is semantic breakthrough rate; Class C is interception rate; Class D is penetration rate.
    • Dual data and determination process: Each round saves the attacking agent's conversation and the gateway's raw context. Class A and D can be judged directly from the conversation; Class B and C require raw context. The judging agent must extract supporting conclusions from both data sources for archiving; if evidence is insufficient, output "unable to judge". Each result is independently judged twice, and only counted if consistent; inconsistencies or inability to judge are handled by human fallback.
    • Reviewer selection: Use Cohen's κ for inter-rater agreement. For each skill, frontend, backend combination, randomly sample 10% of results, and have humans and several "frontend+backend" combinations label separately, each combination independently judged twice; with human as reference, select the combination with the highest average accuracy and κ across two judgments. When K=4, rater 1 is human, rater 2 is the selected combination; because the B and C boundary is not strict and D is most important, κ is also calculated only on Class A and Class D. The formula is κ=(po−pe)/(1−pe), where po is observed agreement rate and pe is expected agreement rate.

    ELA-ITL Three-Layer Isomorphism

    • Source: The authors state that the envelope layer comes from experiments, not a priori assumptions. Fig. 8 divides defense into Envelope Packaging, LLM Recognition, Agent Interception, and attacks isomorphically into implant channel selection, prompt optimization, and execution mechanism optimization.
    • Defense three layers: Envelope packaging configures policies for entries such as A2A/ACP, MCP tools/skills, memory, and external data, with methods including source marking and untrusted content labeling, aiming to improve backend LLM recognition; LLM recognition can use semantic auditing and malicious intent detection; agent interception handles dangerous operations, such as tool allowlists and runtime interception.
    • Attack three layers: Attackers choose envelopes with weaker defense to enter, changing the weight of malicious content in the context; optimize prompts against different LLM recognition capabilities, with strategies including semantic jailbreak and intent disguise; on execution mechanisms, find equivalent paths, e.g., when exec is rejected, switch to Terminal, with methods including tool calls and persistent residency. The authors believe the three layers are inseparable; only when all three layers are breached or all defended is the attack-defense truly complete.
  4. What experiments did the paper conduct?

    15 groups combining each skill attacked 20 times for a total of 900 cases; hermes had a combined penetration rate of 12.00%, and claude code 45.00%.

    Experimental Setup

    • Environment and attacker: An isolated testbed on an Ubuntu host. The attacker is Claude code + deepseek-flash, using the specified skills over legitimate A2A channels; it holds inbound credentials that can authenticate and deliver tasks.
    • Frontends: hermes-agent 0.21.0, openclaw 2026.9.2, and Claude Code CLI 2.1.90 in Docker. The first two natively support A2A; Claude code has no A2A server, but in the experiments all were exposed through A2A endpoints and authenticated inbound. None of the three performs A2A inbound permission tiering; once a task enters the context, it is no longer constrained by the caller's identity.
    • Backends and combinations: MiniMax-M3, deepseek-v4-pro, glm-5.3, kimi-k2.7-code, and qwen3.8-max, called via API. Paired pairwise with the three frontends, for 15 groups in total. The attack target is a fictional sensitive decoy file placed in the agent.
    • Scale: Each skill is attacked 20 times per group under a clean baseline. The main experiment covers 900 group data points across three skills. After skill07-a implants an MCP tool on hermes, the container must be restarted, and an additional test checks whether that tool can obtain sensitive information. The gateway is LiteLLM.
    • Metrics and adjudication: Class A/B/C/D and semantic refusal rate, semantic breakthrough rate, interception rate, and penetration rate, defined in §4.2. The adjudication agent for both the main experiment and ablations is claude code + deepseek-flash. Each case is independently adjudicated twice; when inconsistent or unadjudicable, human fallback is used. The paper does not report the number of human fallbacks in the main experiment.
    • IAA sample: The 900 test units are divided into 45 groups by skill × frontend × backend; 10% (2 cases) are randomly sampled per group, for 90 adjudication samples in total; human results serve as the baseline, and each of the 6 candidate backends adjudicates independently twice.

    Main Results

    Figs. 4–6 are skill07-a, skill09, and skill10, respectively. The horizontal axis is the backend LLM; for each LLM, from left to right are hermes, openclaw, and claude code; the vertical axis from bottom to top is the proportion of Class A/B/C/D, with counts labeled on the bars summing to 100%, and the Class D proportion additionally noted above the bars. The main text gives only the totals across skills for the three frontends, without transcribing the four-class counts for all 15 groups, so the table below lists only the totals stated in the paper.

    Swipe horizontally to read the table

    Frontend (total across three skills)Penetration rate Class DSemantic refusal rate Class ASource
    hermes12.00%69.33%§5.2
    openclaw24.00%35.00%§5.2
    claude code45.00%46.00%§5.2
    • Authors' interpretation: hermes has the strongest overall protection, openclaw is second, and claude code is the weakest. The authors state that hermes provides some mechanism in the context given to the LLM that makes the backend's ability to recognize malicious behavior clearly higher than the other two; when analyzing LLM recognition, one must look not only at training-time defenses but also at the context passed in by the frontend.
    • Not all combinations can block: Except for glm5.3 + openclaw, no combination defends successfully against all three skills. The authors state that once a different concrete implementation of an attack principle is used, existing defenses may be breached. The main text writes "glm5.3"; the model name in the setup is glm-5.3.
    • Frontends differ under the same skill and LLM: In Fig. 5, on skill09 with kimi-k2.7-code, hermes has a penetration rate of only 35%, claude code reaches 100%; openclaw has a penetration rate of 0% and a semantic breakthrough rate of 100%. The authors state that the latter indicates openclaw has agent-layer interception; otherwise it would also be 100% penetrated.

    Agent-Layer Interception and Detours

    • What was tested: The authors analyze why Class C accounts for a low proportion in the raw data, and give examples where the LLM takes other paths after a policy refusal.
    • Results: After hermes' tool-level write-safe root refusal, the LLM switches to the terminal to complete the write via shell; after openclaw's exec command allowlist interception, the LLM instead directly modifies the configuration file; after claude code's sensitive-file list refusal, the LLM turns to "requesting explicit authorization from the user" or "self-weakening."
    • Authors' interpretation: Whether agent-side interception is effective depends on whether all equivalent paths of the malicious behavior are within the interception scope, not on the strength of single-point interception. Two further observations: the context sent to the backend is identical on each repeated test, yet the adjudication sometimes refuses and sometimes agrees; the authors believe malicious-intent recognition has drift and needs further reinforcement. Some combinations have noticeably higher runtime or token consumption than others (Appendix C); the authors believe certain frontend × backend pairs may exhibit performance anomalies when handling specific tasks.

    IAA of the Adjudication Agent

    • What was tested: The frontend is fixed to claude code; the backends are deepseek-flash, MiniMax-M3, deepseek-v4-pro, glm-5.3, kimi-k2.7-code, and qwen3.8-max. Each of the 90 samples is independently adjudicated twice, against the human baseline (Table 2).
    • Results: Except for MiniMax-M3 in both rounds and deepseek-v4-pro in the second round, overall accuracy is above 90%. deepseek-flash and kimi-k2.7-code have the same overall accuracy of 94.4%/93.3%, with overall κ of 0.909/0.890; deepseek-flash has higher Class A accuracy in the second round (97.8%/97.8%, κ 0.955/0.954). Class D accuracy is 100.0% (κ 1.000) except for MiniMax-M3 in the first round at 94.4% (κ 0.830). MiniMax-M3 has an overall accuracy of 78.9%/85.6%, the lowest of the six.
    • Authors' interpretation: Autonomous adjudication by agents is feasible. Since the attacker already uses claude code + deepseek-flash, that combination was chosen as the adjudication agent for the main experiment and ablations.

    Envelope-Layer Ablation

    The ablation combination is skill07-a + deepseek-v4-pro, because on hermes that combination has a semantic refusal rate of 100%, while the other two agents have penetration rates of 90% and 95%. Each condition has 20 repetitions. Fig. 7 reports the results; Appendix B gives the original labels, and only the effects are recorded here.

    • A2A labels (Fig. 7a): After changing hermes' A2A label header to a more neutral description, the skill07-a penetration rate rises to 60% (baseline semantic refusal rate 100%). The authors state that this malicious-prompt label helps the LLM recognize malicious content. The label differences in the main experiment are: hermes warns that the source is untrusted; openclaw only states that the message comes from A2A, with no obvious defensive effect; claude code does not natively support A2A and has no such label header.
    • Tool labels (Fig. 7b): Using the 20 supplementary tests after the malicious MCP has been implanted and restarted in the latter half of skill07-a as the baseline, the penetration rate is 95% without the malicious-prompt label; with the tool label, the semantic refusal rate reaches 100%.
    • Memory labels (Fig. 7c): The baseline semantic refusal rate is 100%; after reusing the memory of a successful skill07-a attack on hermes + kimi-k2.7-code and implanting it into hermes, the penetration rate reaches 35%; with the memory label, the semantic refusal rate returns to 100%. The authors accordingly call labeling malicious-prompt labels in the context an envelope-layer defense, and state that envelopes such as A2A/ACP, MCP tools/skills, memory, and external data have different weights in the context from defense strategies, which affects LLM recognition.

    Other Ablations and Analyses

    • Appendix C runtime/token: The paper explicitly names as overly long: openclaw + qwen3.8-max in Table 5 (skill07-a, 557.6/207920), and openclaw + glm-5.3 (skill10, 1083.8/482297) and openclaw + qwen3.8-max (1110.1/671396) in Table 7. It names as token-anomalous: claude + deepseek-v4-pro in Table 5 (skill07-a, 264.7/354934). The units are written as Time/Token in the paper; "—" means not collected.
    • openclaw's tokens: In Tables 5–7, the token column for openclaw is all "—", while the time has values.
    • hermes restart for skill07-a: After successful implantation, the configuration only takes effect after a restart, so supplementary tests were run; the tool ablation in Fig. 7b reuses exactly this latter half.
    • Fixed procedure: To keep repeated tests consistent, the skill's attack process is fixed and cannot dynamically change in response to the target's replies.
    • 1,000-case dataset: The abstract and conclusion state that a 1,000-case testbed attack dataset was obtained; the main text of the paper states 900 groups. The paper does not explain the composition of the other 100 cases.
    • Skills not tested at scale: skill01–skill06, skill07-b/c/d, and skill08 are only introduced and do not enter the 20-repetition large-scale test.
  5. What are some points that can be further explored?

    The authors plan to extend A2A-TIBA to other attack surfaces and analyze envelope-layer defenses in depth; testing is limited to an ungraded isolated testbed.

    Limitations and Future Directions Noted by the Authors

    • Scale and scenarios (Limitations): Attack testing was only evaluated on three agent containers and five proprietary LLMs, not tested in real scenarios. The authors state that the selected agents and LLMs may not represent all scenarios, and the real attack effectiveness of A2A-TIBA still needs further testing.
    • Permission grading (Limitations): The testbed does not grade A2A inbound permissions; the reported penetration rate reflects an upper bound on risk for "authenticated but ungraded" or "broad-credential" scenarios; in deployments with skill-level authorization, attackers would need at least one credential that can trigger execution-type skills, so actual risk is lower.
    • Attack process cannot adapt (Limitations): To maintain consistency in repeated testing, skill flows are fixed and cannot dynamically change based on target responses; the authors state that real scenarios could use dynamic attack processes.
    • Future directions (§7 Conclusion and Future Work): The authors plan to extend A2A-TIBA to other attack surfaces and conduct in-depth analysis of envelope-layer defense for ELA-ITL.

    Experimental Coverage

    • Tested subjects: Frontends are hermes-agent 0.21.0, openclaw 2026.9.2, Claude Code CLI 2.1.90; backends are MiniMax-M3, deepseek-v4-pro, glm-5.3, kimi-k2.7-code, qwen3.8-max, totaling 15 groups. Attacker is Claude code + deepseek-flash. Judgment candidates also include deepseek-flash, totaling 6 backends (§5.1, §5.3).
    • Attacks and counts: Large-scale tests are skill07-a, skill09, skill10, with 20 clean baseline runs per group, totaling 900 groups (§5.2). Ablations fix skill07-a + deepseek-v4-pro and hermes + kimi-k2.7-code under memory conditions, with 20 runs per condition (§5.4).
    • Judgment: IAA samples 2 cases from each of 45 combinations, totaling 90 cases, with human as reference, each candidate independently judged twice; in the main experiment, each case is also independently judged twice by the judging agent, with human fallback on inconsistency (§4.3, §5.3). The paper does not report the number of human fallbacks in the main experiment, nor the agreement between the judge and human on all 900 cases.
    • Defense-related measurements: The experimental environment does not have the "A2A channel permission grading" defense line (§5.1). Envelope-layer ablations cover changing hermes's A2A label to neutral descriptions, and adding malicious prompt labels to MCP tools and memory (§5.4, Appendix B). The paper does not report utility degradation, latency, or false rejections from these labels.
    • Data and deployment: All experiments were completed in an isolated testbed, with targets being containers reachable only via URL, commands sent only through A2A, not involving real production systems, real user data, or third-party online services (Ethics and Reproducibility Statement). Attack targets are fictional sensitive decoy files.
  6. Summarize the main content of the paper

    A2A-TIBA bypasses the agent after a single implant, GDA uses four classes of outcomes to locate the defense line, and ELA-ITL lists envelope labeling as the third layer.

    A2A-TIBA brings indirect prompt injection and bypass into A2A: a gray-box attacker who can already deliver tasks induces the target to deploy a persistent callback program, after which commands and exfiltration no longer go through the agent. The authors also argue that looking only at ASR cannot distinguish LLM refusal from agent interception.

    • Evaluation: GDA Measurement uses a LiteLLM gateway to save the raw context, archived in duplicate with the attack conversation. Class A–D correspond respectively to not executed, partially executed, intercepted by the agent after execution, and obtaining sensitive information. Semantic refusal rate, semantic breakthrough rate, interception rate, and penetration rate are the proportions of A, non-A, C, and D, respectively; the penetration rate is equivalent to ASR. Adjudication is done independently twice per case by an agent, with human fallback on inconsistency.
    • Main experiment: 3 frontends × 5 proprietary LLMs, skills skill07-a, skill09, and skill10, 20 runs per group, 900 cases in total. The combined penetration rates for hermes, openclaw, and claude code are 12.00%, 24.00%, and 45.00%, and the combined semantic refusal rates are 69.33%, 35.00%, and 46.00%. Except for the glm5.3 + openclaw written by the authors, no combination blocks all three skills. On skill09 with kimi-k2.7-code, hermes has a penetration rate of 35%, claude code 100%, and openclaw a penetration rate of 0% with a semantic breakthrough rate of 100%.
    • Adjudicator: In the 90-case human comparison, claude code + deepseek-flash has overall accuracy of 94.4%/93.3% across two rounds, with Class D accuracy of 100.0% in both, and was selected as the adjudication agent.
    • Envelope layer: On skill07-a + deepseek-v4-pro, after hermes' A2A label is changed to a neutral description, the penetration rate rises to 60%; without the tool label, the supplementary test has a penetration rate of 95%, and with the label the semantic refusal rate is 100%; the memory of a successful attack yields a penetration rate of 35%, and with the memory label it returns to 100%. The authors accordingly propose ELA-ITL: on the defense side, envelope wrapping, LLM recognition, and agent interception; on the attack side, implant channels, prompt optimization, and execution mechanisms; and they argue that all three layers must be breached or defended for completion.
    • Authors' conclusion: Adding malicious-prompt labels to envelopes such as A2A, tools, and memory improves the LLM's recognition of malicious content. The authors also note that the reported penetration rates are an upper bound on risk when no permission tiering or broad-scope credentials are used, and that the skill procedures are fixed; future work will extend the attack principles to other attack surfaces and continue analyzing envelope-layer defenses.
Read originalarxiv.org