New Technique Medium TD-2026-0194 For AI Eng, AppSec, CISO AI-assisted
Secrets in LLM context leak statistically through unrelated outputs (subliminal leakage)
Researchers show that secrets in a model's system prompt shift token probabilities on unrelated tasks. In an open-weight setting, an adversary can rank candidate secrets by log-likelihood of observed outputs. Aggregating about 20 filtered outputs recovered 24 of 50 four-digit PINs exactly against 10,000 candidates in tests on Qwen3-8B.
Why it matters
Organizations that rely on system prompt secrecy instructions or lexical output filters may leak confidential context without any repeated or implied content. An adversary with access to model weights and outputs can recover secrets such as PINs.
Do this
- Do not treat secrecy instructions or output lexical filters as sufficient protection for secrets placed in LLM context.
- Keep credentials and PINs out of system prompts; retrieve them through access-controlled tools at call time where possible.
- Where open-weight models are deployed with sensitive context, test for statistical leakage using likelihood-based audits, not only string matching on outputs.
- Limit exposure of raw token probabilities or log-likelihoods to untrusted parties.
Signals
- NoCISA KEV
- 23/100Priority
- 60%Confidence
Evidence
“secrets in a model's context also perturb its token probability distribution on unrequested tasks, creating an inference-time statistical channel”
“Aggregating roughly 20 strictly filtered outputs recovers 24 of 50 held-out PINs (48%) exactly across all 10,000 candidates”
Sources
Affected / related
Qwen3-8B, Phi-3.5-Mini, OLMo-2-7B, subliminal leakage
Published 2026-11-30 18:16 UTC · updated 2026-12-01 08:35 UTC · AI-assisted summary, checked against quoted sources · How we score