TRANSMISSION // 2511.05919v4

How a hidden intermediary can steer an AI into false answers

Source published

A study tested whether tampered questions can make language models give wrong factual answers—and whether uncertainty might help flag the interference.

AI-generated conceptual illustration for How a hidden intermediary can steer an AI into false answers
AI-generated conceptual illustration; not documentary evidence.

A chatbot may know a fact and still answer incorrectly if someone secretly alters the question on its way to the model. Researchers tested this kind of man-in-the-middle attack across factual question-answering tasks, then examined whether uncertainty in a response could serve as a warning signal.

When someone else edits the question

A language model can be treated as a store of facts, but recalling information is not the same as reliably using it. In this study, researchers asked whether a hidden intermediary could alter a user’s question so that a model gives a wrong answer it would otherwise have answered correctly.

The scenario is a “man-in-the-middle” attack: the user asks a normal question, but a compromised component in the path to the model changes the input. The attacker does not need access to the model’s internal workings or to its reply. Instead, the altered prompt leads the model itself to produce the misleading answer. The authors call their evaluation framework χmera.

Three ways to perturb a prompt

The researchers tested seven language models on questions from TriviaQA, HotpotQA and Natural Questions. They converted these into closed-book tasks, meaning the models received questions without the supporting passages used in some versions of the datasets. This was intended to focus the test on the models’ stored knowledge rather than on information retrieval.

They evaluated three attack styles. One appended a direct instruction to give a wrong answer. Another placed a false statement related to the question before it. A third added a fact drawn from a different question, creating irrelevant context. For the latter two approaches, the team built a set of 3,000 question-and-context examples, using GPT-4o to help generate and modify sentences.

The researchers first identified questions each model answered correctly without interference, then tested attacks on those questions. They repeated attacked queries ten times, measured response uncertainty using token probabilities and related metrics, and used the most frequent answer to judge correctness. For answer checking, they looked for the expected answer within the model’s response.

Direct instructions were most disruptive in these tests

Across the tested models and datasets, the direct instruction attack was the most effective on average. The paper reports average attack success rates of about 55.3% for that approach, 42.9% for false supporting context and 26.3% for unrelated context. Success here means turning a previously correct answer into an incorrect one under the study’s scoring method—not making every answer wrong.

The results varied substantially by model. GPT-4o-mini was particularly vulnerable to the direct instruction, with an attack success rate reported as high as about 85.3% in the tested setup. The authors suggest that instruction-following could be in tension with factual robustness, but their experiments do not establish why a particular model was more susceptible. They also report that vulnerability did not consistently track model size.

Attacked answers tended to show higher uncertainty, especially under the direct instruction attack. The team explored whether that signal could support a warning system, training Random Forest classifiers on uncertainty measures. Classifiers tailored to individual attack types performed better than one intended to detect any attack: the reported average AUCs were about 95%, 87% and 89% for the three specific attacks, compared with about 59% for general detection. AUC summarizes how well a classifier separates two groups across thresholds; it is not the probability that a particular warning is correct.

A warning signal, not a reliable shield

These findings do not show that uncertainty can reliably identify tampering in everyday chatbot use. The detector was tested on the study’s attack designs and data, and the authors note an important limitation: the unattacked comparison group contained only questions the models answered correctly. The classifiers may therefore have learned to recognize incorrect answers as well as signs of an attack. A softened version of the direct instruction also produced lower uncertainty, suggesting that an attacker could make this signal less obvious.

The setup has other boundaries. It covers three benchmarks, seven models and a particular set of prompt manipulations, using short answers and a specific correctness check. It does not demonstrate how often such attacks occur in deployed services, or how the results transfer to other models, questions or defenses. The false and irrelevant contexts were prepared for the experiments, so real-world performance remains an open question.

The paper text identifies the work as published in Transactions on Machine Learning Research in November 2026 and says it was reviewed on OpenReview. That publication information is reported by the paper; this article does not independently verify it. The results are best read as a controlled warning about a possible weakness in question-processing pipelines—not as proof that all chatbots are easily manipulated, or that uncertainty checks alone can protect users. The authors frame such checks as an initial signal, with stronger defenses and testing against adaptive attacks still needed.

Reviewed cross-references

These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.

  • When AI agents pass hidden context, safety can slip

    Supporting evidence: Both papers find that manipulation along a model pipeline can change a target model’s behavior: Fastowski et al. report prompt perturbations corrupting factual answers in closed-book QA, while Baser et al. report latent cache handoffs weakening safety alignment and increasing jailbreak or injection success. These are compatible findings about different attack surfaces and outcomes, not a direct replication or evidence that factual recall and refusal behavior fail under the same conditions.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2511.05919v4 — Original paper

      Excerpt reference: static/papers/2511.05919v4.md:84-133
      Basis: Paper text
      Source file SHA-256: d70fe28d2e977a09dac3e32791e710aecd72f26515c3e717fad301b019ea1977

    • 2611.34278v1 — Original paper

      Excerpt reference: static/papers/2611.34278v1.md:13-73
      Basis: Paper text
      Source file SHA-256: 831abfe4d45e772fe8315c21ae4a347342aea9be4b39a416266e5db5d2d30ad5

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.