synodic-ai™ AI SECURITY
AI Security Desk · Prompt Injection

Where prompt injection is won or lost: attention gates, secret audit coins and the attacks victims keep

Three papers posted on 2026-10-27 look at prompt injection from three positions: inside the model, where a defense can decide how much attention untrusted text receives; inside the audit that certifies an agent, which fails if the agent can tell when it is being watched; and after a breach, when the injected text that succeeded becomes something its victim can study and reuse. Read together, they suggest that robustness depends as much on what a system reveals as on what its model resists.

Separating instructions from data inside attention

Heads of Security (HoS), from Igor Shilov and eight co-authors, enforces instruction-data separation with a small set of learned per-head attention gates. Each gate learns how its attention head should redistribute attention between trusted and untrusted tokens, so that the model can reason over untrusted content without following instructions injected into it. The authors evaluate HoS on two open-weight models and compare it with SecAlign++, a state-of-the-art fine-tuning-based defense, and with ASIDE, a defense that, like HoS, builds instruction-data separation into the model architecture.

Against adaptive attacks HoS holds up better. The black-box RL-Hammer attack reaches a 97 percent attack success rate against one of the undefended models and 85 percent against SecAlign, but only 10 percent against HoS. A state-of-the-art white-box attack, strengthened against HoS through automated research, needs three times more compute, measured in FLOPs, to reach the same success rate on HoS as on the undefended model or on SecAlign. HoS also preserves base-model utility across standard multiple-choice benchmarks and prompting setups, whereas SecAlign and ASIDE degrade in few-shot settings. On agentic benchmarks with static attacks, HoS and SecAlign perform similarly and both substantially improve the security-utility trade-off over the base model, while ASIDE struggles with tool use and reaches only 10 percent utility.

An audit certifies only an agent that cannot see it coming

Blindfold: Keeping the Audit Coin Secret from LLM Agents, by Wei Zhu, Meiyun Zuo and Huiping Sun, examines audit-based certification, which bounds an LLM agent's violation rate by auditing a random fraction of its actions and reweighting the audited labels. The scheme's validity is meant to rest only on the defender's audit coin. The authors show that it also rests on a confidentiality property they call pre-commit noninterference: the coin must not influence what the agent observes before an action commits, at a time the agent chooses. They measure violations as the total-variation distance between the agent's views under the two coin values, prove that the property is necessary and sufficient for an unbiased certificate against adaptive agents, and show that the worst-case bias equals the unaudited fraction times that distance, with no procedure that sees only audited labels able to pay less.

The leak compounds. It composes across steps, a resource shared across episodes opens a channel of computable size, and raising the audit rate cannot restore validity. On a monitor the authors built, a silent audit changes no output but adds latency that tool timestamps expose, and the agent can enlarge that latency. A real LLM agent followed an injection that named a visible audit notice, while generic, tool and timing clauses had no effect; over that channel the plain certificate failed on measured labels and, by a post-hoc analysis, in a live run on a pre-registered schedule, while a silent audit restored it. Drawing a fresh coin for each audited call closes the timing channel; padding only narrows it.

Every breach hands the victim a working exploit

What Victims Take Away, by Zihan Chen, Lei Nico Zheng and Di Zhu, starts from a property that sets prompt injection apart: the attack is plain text, so the attack logs and red-team reports that help a target repair its defenses also hand it a working copy. Drawing on social learning theory and research on the overlap between victims and offenders, the authors study what targets do with that copy in Tensor Trust, an online game whose players defended LLM-guarded accounts, attacked one another's and could read every attack they received. Using all 563,349 attack records, they compare each received attack with matched attacks that circulated among similar players at the same moment but never reached the target.

Reuse mainly followed success. Within a week, targets attacked other players with 10.0 percent of the attacks that had broken their defenses, against 0.03 percent of matched attacks, an adjusted difference of 8.8 to 10.0 percentage points. Near-misses, whose replies began with "access granted" but which scored as failures, were reused about as rarely as failures, so reuse tracked whether an attack paid off rather than how its reply read, which the authors interpret as payoff-biased social learning. Breaches were also followed by defense changes, after which attacks from the same family were 24.5 percentage points less successful against the target than against other defenders. Reuse came mainly from players who were already attacking rather than from newcomers, and previously received texts accounted for 23.2 percent of the successful hijacks analyzed. From this the authors derive testable hypotheses for how AI security tools should disclose attacks, such as describing the technique without the full text.

What the three results share

Each paper locates the decisive variable in the flow of information rather than in a model's willingness to comply. HoS controls how much influence untrusted tokens can exert inside the network. Blindfold shows that a statistically sound certificate becomes biased as soon as the agent can observe a signal correlated with being audited, whether a visible notice or a latency difference. The Tensor Trust study shows that the record of a successful injection is itself a reusable artifact that changes who attacks next.

For teams that build and operate agents, the consequences are concrete:

Limits of the evidence

HoS is evaluated on two open-weight models, and its white-box result is a compute ratio rather than a ceiling on attack success. Blindfold's empirical channel is demonstrated on one monitor the authors built and one agent, with the live-run failure established by post-hoc analysis. The Tensor Trust study observes players in a game whose incentives and defenses differ from production systems, and the authors frame their disclosure recommendations as hypotheses to test. None of the three results has yet been independently replicated.

Sources