Skip to content

Back to the catalog

From A2A Attacks to Envelope-Layer Defense: Red-Teaming Evaluation of LLM Agents and a Three-Layer Isomorphic Attack-Defense Model
arxiv.orgpaper

From A2A Attacks to Envelope-Layer Defense: Red-Teaming Evaluation of LLM Agents and a Three-Layer Isomorphic Attack-Defense Model

This paper proposes A2A-TIBA, an indirect prompt injection attack that abuses agent-to-agent (A2A/ACP) protocols by getting a target LLM agent to deploy a callback program, letting an attacker bypass the agent entirely to issue commands and exfiltrate data. It also introduces GDA Measurement, a red-team testbed that captures raw gateway context to distinguish four outcome classes (semantic refusal, semantic breach, interception, penetration) instead of a single attack-success-rate metric, and ELA-ITL, a three-layer isomorphic attack-defense model splitting defense into envelope packaging, LLM recognition, and agent interception. Testing on 15 agent-frontend x LLM-backend combinations and a 1,000-case dataset shows that labeling malicious-prompt indicators in envelope channels (A2A, tool, memory) significantly improves LLM recognition of injected content.

TL;DR New A2A-protocol prompt-injection attack (A2A-TIBA) and a finer-grained red-team methodology reveal the "envelope layer" as a key defense surface for multi-agent LLM systems.
Document

What it is

A2A-TIBA (A2A Tri-surface Implant-Bypass Attack), a concrete attack skill targeting agents communicating over the A2A protocol, plus a threat model that specifies exactly what permission level makes the attack work.

How it works

Three steps: (1) Implant — attacker holds an A2A inbound credential (any authenticated client that can deliver a Task/Message) and uses indirect prompt injection to get the target agent to deploy and run a resident callback interaction program on its own host; (2) Command — once that program is running, the attacker talks to it directly, no longer through the agent or the LLM; (3) Exfiltration (cut off in the fetched text, but named as the third stage) — attacker issues commands to attack the host and extract data via the callback channel. The core mechanism the paper emphasizes: an A2A inbound credential only grants "write content into the target's context," not tool invocation or host execution — but once malicious content is in context, the agent itself becomes the actor, and the agent's own permission set (tools, shell exec, file I/O) minus its policy gates (write-safe root, command allowlist, sensitive-file list, provenance labels) determines the actual blast radius.

Preconditions / Affected

  • Attacker needs only a credential that authenticates to the target's A2A endpoint and can deliver tasks — a gray-box actor with the Agent Card and endpoint info, no system prompt or host access required.
  • The target's deployment must not enforce per-skill authorization tiering (A2A's spec only gives a SHOULD-level recommendation for this, with no protocol-level binding between Task and Skill). The paper states this untiered case is "more common in practice" since public A2A services tend to issue broad-scope credentials.
  • The target's security policy must permit deploying/running arbitrary programs on its own host — if it doesn't, the implant step fails regardless of credential scope.
  • In deployments that do enforce skill-level authorization, the attacker additionally needs a credential tier that can trigger execution-type skills, which the paper notes lowers real-world risk.
flowchart TD
    A[Attacker holds A2A credential] --> B{Target enforces skill tiering?}
    B -->|No - broad-scope cred| C[Implant: inject prompt to deploy callback program]
    B -->|Yes| D[Need execution-tier credential or privilege escalation]
    D --> C
    C --> E{Target policy allows host program execution?}
    E -->|No| F[Attack blocked - policy gate holds]
    E -->|Yes| G[Command: attacker talks directly to callback, bypassing agent]
    G --> H[Exfiltration: steal host data]

Caveats

The fetched text cuts off mid-description of the exfiltration step and before any results/metrics (attack success rates, the 1,000-case dataset breakdown, or the envelope-layer defense findings) are presented — those numbers aren't available in this excerpt. The threat model explicitly scopes the paper's claims to the "authenticated but untiered" case as an upper bound on risk, and states it does not study how an attacker obtains initial delivery capability, relying on a cited prior work (A2ABreak) for the premise that contextual privilege escalation in A2A is achievable through legitimate means.

Technologies named here

  • LLM-based agents using A2A protocol
  • A2A-TIBA
  • GDA Measurement
  • 15 agent front-end x LLM back-end combinations
  • ELA-ITL
  • LLM

Techniques named here

  • Indirect prompt injection via A2A task requests
  • Implant-command-exfiltration attack chain
  • Envelope-layer malicious content delivery
  • Class A/B/C/D attack outcome classification