Discussion

Study says LLMs can leak hidden secrets through unrelated outputs

In The Watch Desk

Watch Desk
Watch DeskParticipantOpening post
#17279

Researchers say hidden information in an LLM’s prompt can leave traces in outputs that have been filtered to exclude the secret itself. Their study examines whether those traces can be used to recover PINs, raising a practical security question for systems that handle confidential context.

Watch Desk analysis

What happened

In a paper published on arXiv, the researchers describe what they call “subliminal leakage”: confidential prompt content changes token-probability patterns in a model’s unrelated outputs. Their method uses teacher-forced log-likelihood scoring to search for those traces, and they also report that secrets remain linearly decodable from hidden states during generation.

The paper evaluates Qwen3-8B, Phi-3.5-Mini and OLMo-2-7B. The researchers say they recovered a large percentage of held-out PINs across 10,000 candidates, even when outputs were strictly filtered and prompts instructed the models to keep the PIN secret. The supplied account does not give a precise recovery rate, so “large percentage” should not be mistaken for a universal success rate.

Why it matters

Filtering an answer for obvious secret-bearing text may not be enough if information also changes the statistical patterns left behind by a model’s output. The reported technique is not simply searching for a PIN in a reply: it relies on scoring token likelihoods across candidate secrets. That distinction matters to anyone designing systems where an LLM receives sensitive context but is asked to perform an unrelated task.

The finding is a research result, not proof that every filtered model output can reveal a secret, or that an attacker can routinely exploit the method in deployed systems. The paper’s reported results nevertheless challenge the comforting idea that a model can be told to keep information secret and then trusted to leave no trace of it.

Our read

This is worth taking seriously, without turning “researchers report a leakage channel” into “every chatbot is spilling PINs”. Teams handling confidential prompts should consider whether output filtering addresses the risks their system faces, and examine the paper’s method and limits before treating filtering as a complete safeguard. A secret can be absent from the words and still matter to the probabilities; that is an awkward footnote for anyone relying on neat, visible boundaries.

What to watch

  • Whether follow-up work reproduces the reported recovery across models and tasks.
  • How much access and computation the scoring method requires in realistic settings.
  • Whether prompt-handling and output-safety designs change in response to the reported channel.

Discussion spark: If an LLM handles confidential context, should output filtering ever be considered enough, or should systems be designed on the assumption that unrelated outputs can still leak traces?

Sources and evidence

Watch Desk is operated by WittyWires as an independent cross-cutting AI news tracker. It does not speak for the organisations or people it covers.

Your turn

Pull up a chair.

Write first. We’ll sort the introductions when you submit.