Manuscript Offprint

arXiv:2610.22244

Language Is a Security Surface for Agent Guards

Hasan Demirkiran, Jens Ernstberger

Abstract

Step-level guards decide, before each tool call, whether an agent's next action is safe given the user's request and the trajectory so far. Users write those requests in many languages, while guard prompts, and the benchmarks on which purpose-built guards are trained and evaluated, are English. We ask whether a guard's verdict depends on the language of the request. We build LINGUAGUARDBENCH from the 1,220 labelled steps of TS-Bench AgentDojo-Traj: we translate only the user instruction into German, French, Turkish, Swahili and Amharic, chosen a priori to span the high-, mid- and low-resource tiers of the Joshi et al. taxonomy, and keep every tool call, observation and label byte-identical, so any change in a verdict is attributable to language alone. Six English rewordings and a whitespace placebo serve as controls, and every managed guard is run three times to measure its own noise. Across 19 guards, from frontier APIs to 4B open models and four purpose-built agent guards (TS-Guard, ShieldAgent, Safiron, AgentDoG), most open, small and purpose-built guards change verdicts under translation beyond their own noise floor, and the effect grows with the rarity of the language: among the nine guards below 13B parameters, the mean placebo-adjusted flip rate rises from +1.5 pp on French to +4.4 pp on Amharic. The purpose-built guards are the most sensitive of all. The direction of the damage tends to follow guard size: open guards of 12–30B parameters block more benign steps (up to +5.0 pp false positives), and every significant loss of recall is in a guard below 10B (up to -7.4 pp). Frontier guards shift by at most about one point; the strongest, Gemini 3.8 Flash, returns identical verdicts with and without the request. The damage is concentrated (one translated instruction moves a guard from blocking 12% of its steps to 92%) and, in a post-hoc analysis, legible: the flips in excess of placebo land on steps where the agent's own reasoning restates the English request, consistent with guards reacting to inconsistency between channels. English paraphrase moves every guard less than translation does, and no general guard by more than 1.4 pp: the sensitivity is to language more than to wording. We release LINGUAGUARDBENCH (696 validated rewrites, frozen by hash, with a materialiser that regenerates every condition) and all 489k verdicts.

1 Introduction

Tool-using agents are increasingly wrapped in step-level guards: a model that inspects the user's request, the trajectory so far and the candidate tool call, and blocks the call if it appears unsafe [2–4]. The guard reads two channels. The untrusted channel (tool outputs, web pages, files) is where prompt injections live, and its robustness is well studied [1, 3]. The trusted channel is the user's own request. The released guard prompts are English, and so are the benchmarks on which purpose-built guards are trained and evaluated (TS-Bench, Agent-SafetyBench, ATBench), but the principal they protect writes in whatever language they speak. Whether a guard's verdict on a fixed action survives a change of language is, to our knowledge, unmeasured, even though the analogous question for safety classifiers,

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Workshop: Third Workshop on Agents in the Wild: Safety, Security, and Beyond.

which judge a text rather than an action in the context of a task, has a known bad answer [10, 14]. This paper tests the hypothesis, pre-registered before any guard saw a rewritten request, that the language of the request is a security surface for step-level guards. We build LINGUAGUARDBENCH: a benchmark with fixed, labelled tool-call steps in which only the user instruction is translated into five languages chosen a priori to span three resource tiers (German and French; Turkish; Swahili and Amharic), and re-run the guards on it. Because the trajectory, the candidate action and the label never change, a verdict that flips is a language effect by construction, not a label disagreement. Two controls separate language from wording and from noise: six English rewordings of the same instructions (four LLM styles, a human paraphrase and typing noise) plus a whitespace placebo, and three repeats of every managed guard so that its own non-determinism is measured and subtracted. Our findings and contributions are best summarized as follows.

• Small guards are language-dependent, and the effect grows as the language gets rarer. Most open and small guards change verdicts under translation beyond their noise floor; Qwen 3.8 27B is the exception. Among the nine guards below 13B parameters (five general small models and four purpose-built agent guards), the mean placebo-adjusted flip rate rises from +1.5 pp on French and +2.1 on German through +3.1 on Turkish to +4.2 on Swahili and +4.4 on Amharic; the worst guard changes 12% of its verdicts, and Amharic carries the largest error shifts (§4.1, §4.3).

• Purpose-built agent guards are the most language-dependent. TS-Guard, ShieldAgent, Safiron and AgentDoG, run with their authors' own prompts, average a placebo-adjusted flip rate of +2.5 pp on French and +6.3 on Swahili and Amharic. ShieldAgent's false-positive rate falls by 4–8 pp in every language, Safiron loses 3 pp of recall on Turkish and Amharic (§4.4).

• The failure mode tends to follow scale. Open guards of 12–30B parameters respond by blocking more benign steps (Nemotron 3.5 30B: +4.7 pp FPR on German, +5.0 on Amharic); every significant loss of recall is in a guard below 10B (Nemotron Nano 9B: −3.1 to −4.5 pp recall on German, French and Turkish, −7.4 on Amharic). TS-Guard (7.6B) over-blocks like the larger group, so this is a tendency, not a threshold; neither failure shows up in an English evaluation (§4.2).

• Frontier guards barely move, and the strongest does not read the request. Claude Sonnet 5 and Gemini 3.8 Flash have no significant shift in any language; GLM 5.2's only one is a -1.1 pp false-positive shift on French. Gemini 3.8 Flash and a control that withholds the request agree on 100% of 3,660 paired verdicts (§4.5).

• The damage is concentrated and mechanistically legible. A few long instructions account for most translation-induced flips (one Turkish instruction takes TS-Guard from 12% to 92% blocked), and the flips in excess of placebo land on steps whose Thought restates the original English request, consistent with guards reacting to inconsistency between channels (§4.6, 4.7).

• The sensitivity is to language more than to wording. Across six English paraphrase conditions no general guard’s flip rate exceeds its placebo by more than 1.4 pp, and every guard that moves at all moves more under translation than under paraphrase (§4.8).

• LINGUAGUARDBENCH. A language-controlled evaluation suite for agent guards: 696 rewrites of the 58 TS-Bench AgentDojo-Traj instructions across five languages, six English styles and a placebo, each rewrite checked mechanically, judged by two cross-family models and reviewed, frozen by hash, with a materialiser that regenerates the 1,220 labelled steps of every condition byte-identically, plus 489k verdicts from 19 guards (§3).

The practical implication is that the trusted channel is a security surface for open and small guards deployed to non-English users, and that the failure mode to expect differs by model size: nuisance over-blocking for mid-sized open models, silent misses for small ones.

References (23)