A new place to put untrusted text

Reasoning models append an explicit deliberation stage to their output, and agentic systems feed that stage back into the model. That loop is the attack surface. A paper posted to arXiv on 6 November studies what happens when untrusted text that looks like the model’s own thinking is fed back to it — an attack the authors call thought injection.

They tested against large production-class open-weight models, naming GLM-5.3, MiniMax-M2.5 and Qwen3.8-Flash-Next among the targets.

Fibre-optic patch cables plugged into a network switch
Operational objectives included reverse-shell exfiltration and repository backdooring. Illustrative image. Brett Sayles · pexels · Pexels License

Part one: everything is model-specific

The first study measured static thought-injection prompts across different styles, tagged and untagged. The conclusion is a negative one with practical weight: the effects of thinking tags and of payload style are all properties of the specific target model. There is no general recipe, only per-model recipes.

That sounds like a limit on the attack. In the second study it turns out to be the opposite.

Part two: tailored to the target

The authors took the model-specificity and used it. In a containerised agentic cyber range, they wrote indirect injection prompts styled to imitate the target model’s own reasoning traces, and report attack success rates of up to 50% on operational objectives — reverse-shell exfiltration and repository backdooring among them.

The control is what makes the number mean something. The same malicious objective, expressed as an ordinary prompt injection in a user’s voice, never succeeds. The difference is not what is being asked for. It is whose voice is asking.

The paper adds a second uncomfortable finding: thinking tags suppress the agent’s tendency to disclose the injection. The attack both works better and announces itself less.

A plain metal door in a rendered exterior wall
The authors report that stripping thinking tags is an unreliable defence. Illustrative image. Spain Buddy · pexels · Pexels License

Why tag stripping does not save you

The obvious defence is to strip thinking tags from anything untrusted before it reaches the model. The authors call that unreliable, and the structure of their first result explains why: if tagging is only one of several style properties that carry the effect, and which ones matter varies by model, then removing the tags removes one cue among many.

Why it matters

Prompt-injection defences generally assume the dangerous content arrives in a recognisable role — a document, a tool result, a user message — and that the model can be taught to treat that role with suspicion. Reasoning traces are the one channel the model has every reason to trust, because they are supposed to be its own. Imitating that channel is a different problem from filtering an input.

What to watch

The targets here are open-weight models, where an attacker can study the exact reasoning style they need to imitate. Whether the same per-model tailoring is practical against closed models, whose traces are often summarised or withheld, is the question the paper leaves open.