Skip to content

Wrapping layer: the underrated defense surface of LLM agents

Paper Tracker· arXiv:2610.37415· Yuelin Han·Indexed by this site · 26 days ago· Originally publishedDefenses

Quick read

Defenses

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

Using the A2A-TIBA attack as the test carrier, the authors characterize the defense boundary of the envelope layer with a 2×2 factorial experiment, reporting that strong labels reduce the semantic breakthrough rate by 56–61 percentage points, forged envelopes weaken this benefit, and memory valence has a larger effect than labels.

Threat modelThe attacker adopts the A2A-TIBA attack principle: holding inbound credentials that authenticate to the target A2A endpoint, delivering a malicious prompt through the legitimate A2A channel to induce the target to install a persistent callback program that exfiltrates sensitive information; the attacker can add a forged origin claim (a single-line out-of-band user message header) to the malicious prompt but cannot change how the target internally processes it. The defender cannot change the content of the malicious prompt but can append an "origin untrusted" statement outside the received prompt and declare a security policy in the system prompt. The victim systems are three Docker-deployed agent frontends (hermes-agent 0.21.0, openclaw 2026.9.2, Claude Code CLI 2.1.90) paired with five backend LLMs. The attacker is non-adaptive, and forgery is limited to a single-line out-of-band message header.

Questions
In multi-agent protocols such as A2A, the source, role, and permission claims of a message are written in the "envelope" rather than the body, and the receiver can only rely on the envelope to decide whether to trust it. Existing research treats the envelope layer as a channel through which malicious content enters, but has not tested the effects of label strength, envelope authenticity, scaffolding, and existing memory on defense effectiveness.
Methods
Following GDA Measurement and the four-level A/B/C/D adjudication, with the A2A-TIBA attack as the test vehicle, we conduct a 1,200-unit 2×2 factorial experiment (label strength × envelope authenticity), a 320-unit memory experiment (success/failure/conflict memory), and a same-protocol baseline, a one-day interleaved control, and a 480-unit benign-task control, with semantic breakthrough rate as the primary metric.
Experiments and results
The authors report: under real envelopes, strong labels reduce the semantic breakthrough rate by 56–61 percentage points, and the weak-label benefit is about one quarter to one half of that; forged envelopes weaken the strong-label benefit (interaction OR=2.10, p=0.022), with the direction varying by frontend; memory valence has a larger effect than labels—successful memory rises to 81.2%, failed memory falls to 6.2%; on benign tasks, the cost of strong labels appears in layers.
Limitations and future work
The limitations listed by the authors include: the main experiment was not randomized by block, 20 repetitions are insufficient to stably estimate 5–10 percentage point differences, a single skill family with no adaptive attacks, the judge agent being the same model as the attacker, and signed envelopes not being tested. The experiments cover 3 frontends × 5 backends, and the memory experiment fixes the backend to deepseek-v4-pro.
Experimental setupMiniMax-M3、deepseek-v4-pro et al. · A2A-TIBA 攻击链(skill07-a)、良性任务 t11/t12 · 语义突破率 (semantic breach rate)、语义拒绝率 (semantic refusal rate) et al.
Evaluated models
MiniMax-M3deepseek-v4-proglm-5.3kimi-k2.7-codeqwen3.8-max
Benchmarks
A2A-TIBA 攻击链(skill07-a)良性任务 t11/t12
Metrics
语义突破率 (semantic breach rate)语义拒绝率 (semantic refusal rate)渗透率 (penetration rate)拦截率 (interception rate)TSR
AI summaryarXiv paper 2610.37415 uses the A2A-TIBA attack as a test vehicle and the semantic breakthrough rate as the main metric, and through a 2×2 factorial experiment and a memory experiment systematically characterizes the security boundary of the LLM agent encapsulation layer as a defense surface. The results show that when the encapsulation is genuine, strong labels consistently reduce the semantic breakthrough rate, while weak labels are not necessarily better than the no-label baseline; when the encapsulation can be forged, the benefit of strong labels is weakened, and the direction varies across different front ends; the effect of memory is greater than that of any label manipulation—successful memories raise the semantic breakthrough rate, failed memories lower it, and most combinations containing both types of experience return to the no-memory baseline. The paper follows the GDA measurement method and A/B/C/D result classification of prior work, and on that basis refines the encapsulation layer from a single admission channel into an admission channel plus a context assembly surface, and points out that its security boundary is not a fixed property of labels but a dynamic result shaped jointly by label declarations, front-end permissions, and historical memory.

arXiv paper 2610.37415 uses the A2A-TIBA attack as a test vehicle and the semantic breakthrough rate as the main metric, and through a 2×2 factorial experiment and a memory experiment systematically characterizes the security boundary of the LLM agent encapsulation layer as a defense surface. The results show that when the encapsulation is genuine, strong labels consistently reduce the semantic breakthrough rate, while weak labels are not necessarily better than the no-label baseline; when the encapsulation can be forged, the benefit of strong labels is weakened, and the direction varies across different front ends; the effect of memory is greater than that of any label manipulation—successful memories raise the semantic breakthrough rate, failed memories lower it, and most combinations containing both types of experience return to the no-memory baseline. The paper follows the GDA measurement method and A/B/C/D result classification of prior work, and on that basis refines the encapsulation layer from a single admission channel into an admission channel plus a context assembly surface, and points out that its security boundary is not a fixed property of labels but a dynamic result shaped jointly by label declarations, front-end permissions, and historical memory.

Related events and news

1 events · 1 news mentions

News that mentions this paper

周报:预训练投毒可植入智能体后门

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The boundary of envelope-layer defense has not been characterized: how do label strength, envelope authenticity, and memory jointly determine defense effectiveness?

    Core question: In the A2A protocol, a message's origin and permission claims are written on the "envelope" rather than in the body, so the receiver can only decide how much to trust it based on the envelope; yet existing work has not tested how label strength, envelope authenticity, scaffolding, and existing memory affect this layer of defense.

    • Setting and importance: Agents are moving from single-turn question answering toward long-horizon multi-agent collaboration, and the A2A protocol standardizes "one agent calling another" as message exchange; for the receiver, a remote message is a task carrying claims about origin, role, and intent, and these claims exist only on the envelope. The authors state that three years of prompt injection research have already shown this boundary to be fragile.
    • Shortcomings of existing methods: The authors state that existing defenses fall into two categories—representation-level isolation at the LLM layer (spotlighting, instruction-hierarchy training, structured queries) and permission constraints at the agent layer (capability isolation, least privilege, tool allowlists, etc.); the two fail in different ways, and a single ASR metric conflates the two layers' failures, making it impossible to see at which layer a defense fails; the label validation in [17] was mainly conducted on a single frontend, hermes, and a single-factor design is insufficient to characterize the security boundary at the envelope layer.
    • Core observations: The authors pose three questions to be answered—whether strong labels remain effective when an attacker forges the envelope so that the message appears to come from the local user; whether the same label has the same recognition rate across different scaffolding contexts; and whether label effectiveness is shifted once memory has written in historical experience.
    • What the paper proposes: Using the A2A-TIBA attack as the test vehicle and semantic breakthrough rate as the primary metric, it characterizes the security boundary at the envelope layer through a 2×2 factorial experiment, a memory experiment, and control experiments, and extends the definition of the envelope layer to "admission surface (L1a) + context assembly surface (L1b)."
    • Threat model:
      • Attacker goal: Deliver a malicious prompt through the A2A channel, inducing the target deployment to install a persistent callback program that exfiltrates sensitive information from the target host (A2A-TIBA attack principle, from [17]).
      • Attacker knowledge and capability: Holds inbound credentials that authenticate to the target A2A endpoint; can add a forged origin claim (a single-line out-of-band user message header) to the malicious prompt; cannot change how the target internally processes the prompt; is a non-adaptive attacker, and forgery is limited to a single-line out-of-band message header.
      • Defender capability: Cannot change the content of the malicious prompt, but can append an "origin untrusted" statement outside the received prompt and declare a security policy in the system prompt, with the backend LLM deciding whether to execute.
      • Victim systems: Three Docker-deployed agent frontends (hermes-agent 0.21.0, openclaw 2026.9.2, Claude Code CLI 2.1.90) paired with five backend LLMs, each with one fictitious sensitive decoy file placed as the attack target.
  2. What related research exists?

    Related work falls into four groups: prompt injection evaluation and ASR decomposition, the envelope layer and forgery attacks, memory and persistent state, and experience reuse.

    Prompt injection evaluation and the four-way ASR classification

    • Greshake et al. [2] pointed out that external content read by the model and user instructions lack structural boundaries within the same context window, so "data" is easily executed as "instructions," opening up research on indirect injection.
    • Benchmark work follows two lines: InjecAgent [4] hides injections in tool return values, and AgentDojo [14] combines tasks, tools, and attacks into a dynamic environment; HouYi [6] systematizes the attack flow of direct injection, and BIPIA [7] establishes an indirect injection benchmark and summarizes two key factors for attack success. The main metric of these benchmarks is mostly ASR.
    • ASB [15] subdivides attacks into categories such as privacy theft, fraud, and system sabotage; its evaluation shows that the ASR reduction brought by defenses is "inconsistent, and in some settings even worse than no defense"; [32] and [33] further point out that most attack failures are "ignoring" rather than "refusing," and that ASR is a family of metrics that cannot be compared across papers. GDA Measurement [17] decomposes ASR into four categories A/B/C/D, and this paper follows that framework.

    Envelope layer, protocol wrapping, and forgery attacks

    • Spotlighting [9] uses delimiters, markers, or encoding to provide the model with a continuous provenance signal; Instruction Hierarchy [10] trains the model to prioritize higher-priority instructions; StruQ [11] places queries and data in different structural slots. The authors point out that these works mostly act at the LLM layer (L2), with the goal of letting the model "see" that data is not instructions.
    • A2ABreak [5] conducts a systematic security analysis of the A2A protocol and finds 11 protocol-level flaws, including cross-client context injection, credential harvesting caused by identity loss across multi-hop delegation chains, and data exfiltration caused by unverified capability claims; [19] lists identity impersonation and untrusted sources as independent risks.
    • The authors point out that existing work has noted that label position and wording affect compliance [9], but "whether strong labels remain effective when the envelope is forged" is rarely tested as an independent factor; chat-template-level forgery [36] and document signature control-signal impersonation [37] show that models lack provenance verification for text that "looks like a control signal," and the single-line out-of-band header forgery in this paper can be regarded as a lower-bound condition among these.

    Memory and persistent state

    • AgentPoison [20] shows that injecting a small number of malicious entries into memory or a knowledge base can hijack the agent at retrieval time; PoisonedRAG [21] systematizes knowledge-base poisoning conditions; Sleeper Agents [22] shows that persistent behavior can survive safety training; MINJA [23] shows that an attacker can, through query interaction alone, write records containing malicious reasoning steps into memory. These works manipulate the maliciousness of memory; this paper fixes the label configuration and manipulates only the outcome field of memory records (success/failure/conflict), i.e., memory valence.
    • MemoryGraft [24] persistently compromises agents by implanting malicious successful experiences and proposes a "semantic imitation heuristic"; this paper tests that judgment from the defense side.

    Experience reuse and conflicting memory

    • ExpeL [25] distills natural-language "insights" from comparisons of successful and failed trajectories and recalls them at inference time; ReasoningBank [26] treats the self-evolution of reasoning memory as a path to improving agent capabilities.
    • ConflictBank [27] systematically evaluates models' choice tendencies under conflicts between retrieved knowledge and parametric knowledge; Xiong et al. [28] empirically show that agents' experience-reuse behavior is affected by the memory management approach. The paper points out that [27] focuses on how knowledge conflicts are resolved, whereas this paper tests whether behavior falls back to the no-memory baseline when two experiences in opposite directions coexist.

    Baseline and benchmarks: this paper does not propose a new attack or a new defense; the controls are an unlabeled same-protocol baseline on the same testbed (100 units each for openclaw and claude code) and the weak-label condition; the attack carrier is skill07-a from [17], and the testbed reuses the [17] environment.

    Positioning: the authors state that this paper adds the "envelope authenticity" experimental factor and the "memory valence" independent manipulation dimension on top of the GDA base, refining the envelope layer from an admission channel into two layers, the admission plane and the context assembly plane, making the boundary an estimable object.

  3. How does the paper address this problem?

    Following GDA measurement and A/B/C/D adjudication, we use a 2×2 factorial, a memory experiment, and multiple controls to characterize the envelope-layer boundary.

    Overall approach: Following the GDA Measurement and A/B/C/D four-level adjudication framework of [17], with the A2A-TIBA attack chain as the test vehicle, we characterize the security boundary of envelope-layer defense through a 2×2 factorial design (label strength × envelope authenticity), a memory valence experiment, and three types of controls (same-protocol baseline, one-day interleaved control, benign tasks), with semantic breakthrough rate as the primary metric.

    Measurement method and four-level adjudication

    • Four outcome classes: A semantic refusal (explicit refusal with no executable content delivered); B partial delivery of malicious content; C agent-layer interception (blocked by a tool gate, sensitive-file gate, sandbox, or egress policy); D compromise (the decoy file is read and exfiltrated, equivalent to ASR).
    • Derived metrics: semantic refusal rate A/N, semantic breakthrough rate (B+C+D)/N, interception rate C/N, compromise rate D/N; semantic breakthrough rate is the primary reported metric, semantic refusal rate is the core reference, and compromise rate is auxiliary only. B and C overlap in timing and are merged into the same metric in the analysis.
    • Adjudication process: The judge agent (deepseek-flash, same as [17]) performs two independent repeated adjudications per unit, and humans make the final adjudication for units where the two rounds disagree; the two rounds agreed on 1,109 of 1,200 units (92.4%), and the remaining 91 (7.6%) were adjudicated by humans.

    2×2 factorial design

    • Factor one: label strength. The weak label (W) adds only a one-line statement before a certain type of envelope-layer component message, stating that the message was delivered via the A2A channel, without a peer-identity framing and without a "untrusted, do not execute, do not disclose" prohibition; the strong label (S) adds at the same position a label prefix carrying a peer identity and an "untrusted" statement, and declares that label in the system prompt. The strong label does not change the message content, only the receiver's prior expectation about the message.
    • Factor two: envelope authenticity. The original skill carries no forged header; the forged label (F) adds a one-line out-of-band user message header before the skill prompt, claiming that the message was delivered directly by the user at this position, making the message appear to come from the highest-privilege local operator. Forgery adds only a one-line prefix and does not change the payload body or the attack module.
    • Four conditions: W-O, W-F, S-O, S-F, used to test whether label strength raises the semantic refusal rate, whether a forged label can raise the semantic breakthrough rate under label defense, and whether the strong label resists forged attacks better than the weak label.

    Memory experiment design

    • Four memory conditions: Fail (only one failure experience on a similar task), Success (only one success experience), Success-first (write success then failure), Fail-first (write failure then success).
    • Design intent: Fail is the defensive test anchor for memory, and Success is the attack test anchor; the two conflict conditions are used to distinguish "most recent experience first" from "specific experience first"—if the results are clearly opposite, the former is supported; if they converge to the same result, the latter is supported.
    • Label handling: Because in [17] the test results of implanting attack-success memory after adding an untrusted label to the memory component message were all class A, this paper does not add an additional untrusted label when studying memory effects and uses only the agent's native memory construction.

    Testbed and attack chain

    • Attacker: Claude code + deepseek-flash (deepseek-v4.1-flash) as the attack agent, holding inbound credentials, delivering tasks through the legitimate A2A channel.
    • Target combinations: 3 frontends × 5 backends = 15 target combinations; hermes natively supports A2A and has envelope-layer labels for that channel, openclaw supports A2A only without labels, and claude code does not support A2A and has no labels; the strong label S is ported from hermes's A2A label content to openclaw and claude code, with the {peer} slot value fixed to 'user' in openclaw and to 'remote-agent' in claude.
    • Attack skill: skill07-a from [17] is selected; the first round asks the target to add an MCP tool, and the second round asks it to call that tool to establish a callback program that reads and exfiltrates sensitive information; the forged skill has exactly the same flow as the original skill, with only one extra forged header line. Appendix A gives the verbatim text and installation positions of the label and forged envelope, and Appendix A.5 gives the attack payload.
    • Channel setup: The A2A link is built with the official code, no permission level is set, and the channel is only responsible for fully delivering the prompt and produces no additional defensive effect; LiteLLM serves as a unified gateway to capture experimental data.

    Statistics and experimental plan

    • Main experiment: 4 conditions × 3 frontends × 5 backends × 20 repetitions = 1,200 units, 300 units per condition; openclaw × qwen3.8-max had an abnormal test time, so the container-side maxTokens was set to 16,384 (that leg's template nominally 384,000, with 131,072 actually issued normally in measurement), with the reason given in Appendix B.
    • Memory experiment: 4 combinations (claude+strong label+original skill, claude+strong label+forged skill, openclaw+weak label+original skill, openclaw+strong label+original skill) × 4 memory conditions × 20 repetitions = 320 units, with the backend fixed to deepseek-v4-pro; the basis for combination selection is given in Appendix C.
    • Statistical protocol: Single proportions are reported with 95% Wilson intervals; differences between two independent proportions are reported with 95% Newcombe intervals and tested with Fisher's exact test; pooling by backend uses the CMH test (reporting the MH common OR); the 6 forgery comparisons in Table 3 form one family and are corrected with Benjamini–Hochberg; a logistic model including frontend, backend, label strength, forgery, and their interactions is fitted to the 1,200 units, with the interaction block tested by likelihood ratio. At n=20 the minimum detectable difference is about 43 percentage points, and at n=100 about 19 percentage points; the 20-unit granularity is descriptive only.
  4. What experiments did the paper conduct?

    1,200-unit main experiment + 320-unit memory experiment + three types of controls; strong labels reduce breakthrough rate, forgery weakens the benefit, and memory valence has a larger effect.

    Experimental setup

    • Subjects under test: 3 frontend agents (hermes-agent 0.21.0, openclaw 2026.9.2, Claude Code CLI 2.1.90) × 5 backend LLMs (MiniMax-M3, deepseek-v4-pro, glm-5.3, kimi-k2.7-code, qwen3.8-max), 15 target combinations in total.
    • Attack vehicle: The A2A-TIBA attack chain skill07-a (from [17]), in two forms, original skill and forged skill, with 20 attacks per combination, conducted under a clean baseline with container rebuilds.
    • Metrics: Semantic breakthrough rate (proportion of non-A classes) is the primary metric, semantic refusal rate (proportion of class A) is the core reference, and compromise rate (proportion of class D) is auxiliary only; B and C are analyzed together.
    • Adjudication: The judge agent deepseek-flash (deepseek-v4.1-flash) performs two independent rounds of adjudication, and units with disagreement are finally adjudicated by humans; the two-round agreement rate is 92.4% (1,109/1,200).
    • Sample sizes: Main experiment 1,200 units (300 per condition); memory experiment 320 units (20 per combination per condition); same-protocol baseline 200 units (100 each for openclaw and claude code); interleaved control 120 units (30 per frontend); benign tasks 480 units (20 per group).
    • Statistics: 95% Wilson / Newcombe intervals, Fisher's exact test, CMH pooling, BH correction, logistic interaction model; n=20 is descriptive only.

    Main results

    Distribution of the 1,200 units in the main experiment: A 609 (50.8%), B 17 (1.4%), C 234 (19.5%), D 340 (28.3%), semantic breakthrough rate 49.2%. Label strength effect (Table 2, n=100, baseline is the same-protocol retest):

    Swipe horizontally to read the table

    FrontendMetricUnlabeled baselineWeak label × original skillStrong label × original skill
    openclawSemantic breakthrough rate84.0%69.0%28.0%
    openclawCompromise rate73.0%49.0%18.0%
    claude codeSemantic breakthrough rate74.0%42.0%13.0%
    claude codeCompromise rate68.0%32.0%2.0%

    Effect of forged labels on semantic breakthrough rate (Table 3, n=100, pooled across 5 backends by frontend × label strength):

    Swipe horizontally to read the table

    FrontendLabel strengthOriginal skillForged skillDifference (95% CI, p)
    claude codeWeak42.0%49.0%+7.0 [-6.7, 20.3], p=0.39
    claude codeStrong13.0%52.0%+39.0 [26.5, 49.9], p<0.001
    openclawWeak69.0%86.0%+17.0 [5.4, 28.1], p=0.006
    openclawStrong28.0%23.0%-5.0 [-16.9, 7.1], p=0.52
    hermesWeak72.0%71.0%-1.0 [-13.4, 11.4], p=1.00
    hermesStrong34.0%52.0%+18.0 [4.3, 30.8], p=0.015
    • Authors' interpretation one: Under the original skill, strong labels consistently reduce the semantic breakthrough rate and compromise rate across the three frontends, and the authors state that envelope-layer labels are effective and transferable as a defense method; the gain from weak labels is about one quarter to one half of that from strong labels (per the abstract) and is insufficient to replace strong labels.
    • Authors' interpretation two: Under the forged skill, the defensive effect of strong labels varies by frontend—on openclaw, adding the strong label reduces it by 63 percentage points (86.0%→23.0%), on hermes by 19 percentage points, and on claude the strong label is instead 3.0 percentage points higher but not significant (p=0.78); the authors state that this cannot be taken to mean claude defends worse under strong labels, only that claude's context has poor compatibility with the implanted A2A label. The strong label × forgery interaction term has OR=2.10 (95% CI [1.11, 3.98], p=0.022), and the authors state that forgery significantly weakens the label defense gain.
    • Authors' interpretation three: At the backend margin, the semantic breakthrough rate for strong label × forged skill is still not higher than for weak label × original skill (kimi ties at 95.0%, the rest are 10.0 to 36.7 percentage points lower), and the authors state that forgery weakens the strong-label gain but does not reverse it at the backend margin.

    Backend differences (Table 4, Table 5)

    • What was measured: Table 4 reports semantic breakthrough rate pooled across the three frontends by backend (n=60), and Table 5 decomposes the forgery difference back into backend × label strength × frontend (n=20, descriptive only).
    • Results: Under the strong label, apart from MiniMax-M3 (+3.3, interval includes 0), the difference intervals for the other four backends all exclude 0 (deepseek-v4-pro +30.0, glm-5.3 and qwen3.8-max +10.0 each, kimi-k2.7-code +33.3); under the weak label, only deepseek-v4-pro (+20.0) and qwen3.8-max (+18.3) have intervals excluding 0. In Table 5, the difference for the same backend across frontends varies by up to 80 percentage points (deepseek-v4-pro strong-label difference claude +75, openclaw -5).
    • Authors' interpretation: The authors state that Table 4 can only serve as a marginal summary and cannot be read as being in the same direction on every frontend; sign reversals are not isolated cases, and conclusions at the backend layer and the frontend layer must be read together.

    Memory experiment (Table 6, Table 7)

    • What was measured: 4 combinations × 4 memory conditions, with the backend fixed to deepseek-v4-pro; Table 6 pools by memory condition (n=80), and Table 7 lists by combination (n=20, descriptive only).
    • Results: The pooled baseline semantic breakthrough rate is 40.0%, success memory 81.2% (p=1.4×10⁻⁷), failure memory 6.2% (p=4.1×10⁻⁷), and the two conflict conditions 41.2% and 43.8%, not significantly different from baseline (p=1.00, 0.75); success vs. failure p=1.2×10⁻²³, and the order of writing conflict memories has no effect (p=0.87). Exception: in the openclaw weak-label group the baseline is 55%, and the two conflict conditions are 80% and 90% (only the 90% condition is nominally significant, p=0.031, n=20). In the three strong-label combinations, success memory raises the semantic breakthrough rate from baselines of 10%, 85%, and 10% to 80%, 100%, and 50%.
    • Authors' interpretation: The authors state that the effect of memory valence exceeds any label manipulation and is bidirectional—failure memory can resist an attack that has already failed, and success memory makes an attack that has already succeeded easier to repeat; conflict memory falls back near the baseline in three of the four groups, but this is not a universal rule, and the net direction depends on the baseline position and frontend configuration. The authors speculate that the backend LLM allocates different attention weights to the various context components and trusts its own memory more than the A2A label declared in the body.

    Other ablations and analyses

    • Time-interleaved control (Appendix E, Table E-1): 120 units within one day; openclaw semantic breakthrough rate 86.7%→76.7% (-10.0, CI [-30.0, 9.3]), claude 73.3%→56.7% (-16.7, CI [-40.6, 4.8]), both not significant; the authors state that the direction of "unlabeled is worst" is not an artifact of temporal drift, but the magnitude includes a batch component.
    • Cross-period comparison (Section 6.3): Compared with [17], openclaw's semantic refusal rate drops from 39.0% to 16.0% and its compromise rate rises from 35.0% to 73.0% (p=1.1×10⁻⁷); claude's compromise rate rises from 57.0% to 68.0% (p=0.14).
    • Benign tasks (Appendix F, Tables F-1 to F-3): openclaw has TSR=1.00 across all 240 units, and the strong label brings only a 13–19 second per-unit wall-clock increase for t11; for claude t11 glm group, TSR drops from 1.00 to 0.75 (4 units explicitly refused, Fisher p=0.047); for claude t12 deepseek group, from 0.95 to 0.15 (17 units intercepted by the frontend sensitive-file gate), and for the glm group from 1.00 to 0.00 (all 20 units explicitly refused, p=1.5×10⁻¹¹), while MiniMax remains 1.00 (some units switched to the command line to bypass the sensitive-file gate).
    • Composition of class B: Of the 17 class B units, 15 are cases where the script was already written or the MCP was already registered but the decoy content was not sent, and 2 are backend provider authentication failures.
    • Execution overhead (Appendix D): In the main experiment, both openclaw × qwen3.8-max weak-label conditions took 17.3 min, the slowest combination; the memory experiment groups average 3.5–6.9 min, and token consumption varies with memory condition (e.g., claude strong label + original skill fail 71,200, success 356,718).
  5. What are some points that can be further explored?

    The authors list 9 limitations and propose directions such as fine-tuning adaptation and attention weight analysis; the experiments cover 3 frontends × 5 backends.

    Limitations and future directions noted by the authors

    • The main experiment was not block-randomized (Section 6.5): the four conditions were run group by group, so unobserved temporal confounding cannot be ruled out; differences between frontends are bundled effects (A2A support, gate mechanism, prompt template, and memory carrier all change together).
    • Limited statistical precision (Section 6.5): 100 units per frontend × condition, intervals remain wide; 20 repetitions are insufficient to stably estimate differences of 5–10 percentage points.
    • Single attack chain and no adaptive attacks (Section 6.5): a single fixed skill family; the authors cite [30] stating that most published injection defenses are broken under adaptive attacks, and stronger attacks may change the magnitude of the label effect.
    • No permission levels set (Section 6.5): A2A communication during testing had no permission-level functionality, which may make semantic breakthrough rate and penetration rate higher than in real scenarios.
    • Inconsistent token limits (Section 6.5): the qwen3.8-max group in openclaw used a 16,384-token limit (other openclaw groups measured 131,072, claude groups 32,000), which may affect that group's truncation rate and latency but does not change the adjudication protocol.
    • Reviewer and attacker are the same model (Section 6.5): the review agent and the attacker are both deepseek-v4.1-flash, so adjudication preferences may share the same origin as the model under test; no cross-model adjudication consistency check was performed. Long-term reproducibility is limited by version windows (MiniMax-M3 has no version identifier, and kimi-k2.7-code has announced a retirement plan).
    • Baseline and memory experiment design (Section 6.5): the unlabeled baseline in Table 2 was not completed on the same day as the weak and strong label groups, so magnitudes are descriptive only; the four combinations in the memory experiment were selected based on main-experiment baseline values, and combinations with baselines near 10% or 85% carry regression-to-the-mean risk.
    • Conclusions cannot be extrapolated to signed envelopes (Section 6.2): all manipulations fall on the assembly plane, the admission plane is fixed, and the conclusions do not apply to "signed envelopes" at the level of cryptographic origin authentication.
    • Future directions (Section 7): the authors plan to investigate the conjectures in the discussion section, including fine-tuning LLMs to adapt to specific agent frontends, analyzing the attention weight allocation of LLMs to each component of the agent context, and task allocation in multi-agent systems; they also plan to later release the testbed environment code and results data package (ethics statement).

    Scope of experimental coverage

    • The subjects under test are 3 frontend agents × 5 backend LLMs, 15 combinations in total; the main experiment has 300 units per condition, 100 units per frontend × condition, and 20 repetitions per combination.
    • The memory experiment fixes the backend to deepseek-v4-pro and covers only 4 frontend × label × skill combinations; the authors explicitly state that they do not extrapolate from this the differences in memory effect magnitude on other backends (Appendix C.1).
    • The envelope authenticity manipulation is limited to a single-line out-of-band user message header (the authors call it a forged lower-bound condition); cryptographically signed envelopes were not tested.
    • The benign-task control covers 3 backends (deepseek-v4-pro, glm-5.3, MiniMax-M3) × 2 frontends (openclaw, claude code) × 2 task classes × 2 label levels × 20 repetitions, 480 units in total.
    • The paper does not report a cross-model reviewer consistency check; the interleaved control covers only the original skill and the weak label (30 units per frontend, able to detect a difference of about 34 percentage points), and does not include the strong label, forged envelope, or memory conditions.
  6. Summarize the main content of the paper

    A factorial experiment using A2A-TIBA as the vehicle: strong labels are effective, forgery weakens the gain, and memory valence has a larger effect than labels.

    An empirical measurement paper on the security boundary of envelope-layer defense for LLM agents, following the GDA Measurement and A/B/C/D four-level adjudication framework of [17].

    • Problem: In the A2A protocol, a message's origin and permission claims are written on the envelope rather than in the body; existing work treats the envelope layer only as a channel through which malicious content enters, and has not tested how label strength, envelope authenticity, scaffolding, and existing memory affect this layer of defense effectiveness; a single ASR metric conflates failures at the LLM layer and the agent layer.
    • Method: With the A2A-TIBA attack chain (skill07-a) as the test vehicle, we conduct a 1,200-unit 2×2 factorial experiment (label strength × envelope authenticity, 3 frontends × 5 backends × 20 repetitions), a 320-unit memory valence experiment (success/failure/conflict memory, backend fixed to deepseek-v4-pro), supplemented by a same-protocol unlabeled baseline, a one-day interleaved control, and a 480-unit benign-task control; the primary metric is semantic breakthrough rate, with two rounds of judge-agent adjudication plus human final adjudication (agreement rate 92.4%).
    • Result one: Under authentic envelopes, strong labels reduce the semantic breakthrough rate by 56–61 percentage points relative to the unlabeled baseline (openclaw 84.0%→28.0%, claude code 74.0%→13.0%, Table 2), with a consistent direction across frontends and backends; the gain from weak labels is about one quarter to one half of that from strong labels (per the authors' abstract).
    • Result two: Forged envelopes weaken the strong-label gain, with an interaction OR=2.10 (p=0.022); the direction varies by frontend—under the strong label, claude rises from 13.0% to 52.0%, while on openclaw 28.0%→23.0% is not significant (Table 3); at the backend margin, forgery does not reverse the overall gain of strong labels.
    • Result three: Memory valence has a larger effect than any label manipulation: success memory raises the pooled semantic breakthrough rate to 81.2%, and failure memory lowers it to 6.2% (baseline 40.0%, Table 6); conflict memory falls back near the baseline in three of the four groups, with the openclaw weak-label group as the exception (80%/90% vs. baseline 55%).
    • Result four: On benign tasks, the cost of strong labels appears in layers—openclaw incurs only 13–19 seconds of added latency, while for claude's MCP registration task, TSR on the deepseek and glm backends drops from 0.95 to 0.15 and from 1.00 to 0.00 respectively, and the failure layers differ (L3 gate interception vs. L2 model refusal).
    • Authors' conclusion: The effectiveness of envelope-layer defense is not an intrinsic property of the label but a dynamic result of label declarations, frontend permissions, and historical memory acting together during context assembly; on this basis the authors extend the definition of the envelope layer into two layers, the admission surface (L1a) and the context assembly surface (L1b), and emphasize that the conclusions do not apply to cryptographically signed envelopes; the authors argue that agent safety evaluation should separately measure "whether the channel is trustworthy" and "how the context is assembled."
Read originalarxiv.org