Text-similarity guardrails miss injected agent instructions, study finds
A new arXiv paper reports that a public text-similarity classifier for AI agent relays missed most functionally injected instructions while repeatedly flagging legitimate quotation and template reuse.
In plain words
AI agents sometimes pass messages to other agents, and attackers can hide instructions inside those messages. A proposed defense flags suspicious messages by checking how closely their wording matches a known source. The study found this wording check often misses real injections and wrongly blocks normal quoting.
What was announced
In a paper on arXiv, researchers tested DonkeyRail, a public classifier that combines BLEU, ROUGE-L, and METEOR text-similarity features, in a controlled three-agent email relay. They defined a behavioral measure in which an output counts as functional when an injected procedure induces fresh computations in two subsequent agents, independent of the detector's score, alongside legitimate controls that explicitly authorize quotation and reuse.
At its default threshold, the classifier missed 8 of 19 functional outputs while flagging 70 of 192 legitimate replies, and every completed quotation and template-reuse reply triggered a false alert. Recalibrating for low false positives on one template set did not transfer: the adjusted threshold detected only one functional output and still produced 15 false alerts on new templates. The authors also report an operating-point error in all 21 published classifier configurations, where ROC interpolation replaces direct threshold application, and argue formally that high AUC against a surface-level text criterion gives no distribution-free guarantee of high AUC against the behavioral target. They conclude that identical visible transcripts can require different safety decisions depending on the governing policy, and call for behavioral and policy-grounded evaluation instead of text-similarity guardrails.
What it does not show
- The evidence is the paper's abstract only; the full experimental setup, datasets and peer-review status are not available in the supplied passages.
- All reported miss and false-alert rates come from the authors' own controlled three-agent relay and classifier runs; no independent replication is described.
- The abstract does not name the authors or state whether the identified operating-point error has been corrected or acknowledged by the original classifier's maintainers.
Sources
Source-support review completed 28 Nov 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 28 Nov 2026
New to the subject? AI from the Ground Up starts from the beginning.