Pioneers Insight Method Research Author
Stealing Reasoning Traces from Proprietary LLM APIs — Ilia Shumailov & Alexander Panfilov
Back to Episodes

Stealing Reasoning Traces from Proprietary LLM APIs — Ilia Shumailov & Alexander Panfilov

Summary

  • Ilia Shumailov and Alexander Panfilov show that the “encrypted” reasoning blobs frontier models hand back to users can be decoded by replaying them into a smaller model in the same family — and Anthropic, OpenAI and Google share the same vulnerability. No cryptography is broken: the server still decrypts the blob, and, as Panfilov puts it, “a small model is super willing to tell you what the thought was about… the server does the whole job for you.” The paper, Stealing Reasoning Traces from Proprietary LLM APIs, drew ~3 million views in 40 hours.
  • The blobs are portable across users, model variants and fabricated conversations, turning reasoning extraction into a jailbreak. You can lift a thought out of an Opus session and inject it into “absolutely random place, in random fabricated conversation with Haiku,” then coax the model into stating its content. Panfilov’s most shocking finding: “after the third attempt, I’m getting [a] universal jailbreak that decodes reasoning of Anthropic models.”
  • The privacy exposure is real and non-obvious: sanitizing the visible transcript is useless if the encrypted blob survives. API keys, passwords, emails and internal IP addresses reasoned about but never shown can be recovered — Panfilov scraped around 350,000 blobs from GitHub and Hugging Face and ran a classifier for privacy-related information that found many examples.
  • The Kimi result is a strange, suggestive artifact—not proof of distillation. Prefilling just two tokens of Opus reasoning into Kimi/K3 makes the visible answer start looking like Opus — an artifact not seen in GLM, Inkling or Deepest Zip. Panfilov says shared data vendors or RL environments might explain it; Ilia stresses that the analysis used a small number of samples and that it is “really hard to claim” distillation.
  • Some reasoning traces use alien, hard-to-monitor language — “marinate, vantage, theatrical,” empty-space quotes — with Alexander saying the effect appears mostly in Codex models. They also caught models contemplating cheating (“I can cheat… but then the user would catch me”) before ultimately deciding against it, in genuine user sessions rather than benchmarks. The cause and whether the behavior is worsening remain unknown.
  • Ilia’s contrarian macro call: defensive uplift may exceed offensive uplift, and it is a talent bottleneck models can help break. Verified software and capability-based access controls have been established in “the security literature for the past 25 years” but were gated by scarce experts; he is “ready to bet that defensive uplift is going to be humongous.” His analogy: credit-card replay attacks are theoretically widespread yet are reported only “once or twice in a country”—not all theoretical harms are scalable in practice.
  • Panfilov, a self-described “doomer four days a week,” argues the safety/capability tradeoff has collapsed: an unreliable agent is neither safe nor doing what users want. His worry is pacing — “every month better and better systems” enable more threats while patching may lag behind — citing the Hugging Face incident and OpenAI pausing training for two weeks.
  • On framing, Panfilov calls the attack “jailbreaking and misuse, 100%,” while Ilia agrees that is technically right and says the policy implications are “above our pay grade.” Responsible disclosure went smoothly: all three labs acknowledged receiving the reports without hostility, which Tim calls “very refreshing” given security’s history of attacking vulnerability reporters.

Deep dive

1. One vulnerability, three frontier labs, “same people doing same things”

  • The core mechanism: a reasoning model returns two parts — an invisible encrypted reasoning blob and a visible answer — and “you can just decode it and see the content.” The researchers collected blobs from Anthropic, OpenAI and Google and found all three share the same vulnerability: thoughts of bigger models can be replayed into smaller models.
  • Why would every frontier lab share this vulnerability? Panfilov’s deadpan answer: “It’s the same people. Same people doing same things.” Ilia later says the same Claude subscription was used across the labs and “the guy made the same mistake.”
  • The threat surface includes extracting secrets from user sessions, training or distilling on decoded traces, prompt injections and jailbreaks — “all this exciting stuff.”

2. Portable thoughts and the “intrusive thought” injection

  • The blobs are portable across users (lift a blob from your Claude Code account and replay it as someone else), across model variants (including Opus-to-Sonnet downgrades), and within fabricated conversations. Panfilov says you can take “a thought out of Opus’s conversation and put it in absolutely random place, in random fabricated conversation with Haiku, and Haiku would interact with this thought.”
  • Panfilov’s framing is that “you’re injecting fake reasoning into some conversations, and then with this fake reasoning you can launch a variety of different attacks.” On OpenAI models, the same reasoning can be replayed five times in one conversation with fabricated user turns — “you can inject the same intrusive thought five times.”
  • The extraction itself needs no cryptographic break: construct a fake conversation and ask the model what the thought was about. In the episode’s Tim-the-chatty-human analogy, the encrypted thought is handed to Tim, who simply explains what he was thinking. The exchange is compared to Inception.

3. Alien reasoning, contemplated cheating, and monitorability

  • Some decoded traces are “very alien-like,” full of phrases such as “marinate, vantage, theatrical” and literal empty-space quotes that “don’t make any sense for a human reader,” making the model harder to monitor. This echoes prior Apollo and Meter reports; Ilia says the researchers also saw it in “wild reasoning traces.” Alexander says it appeared mostly in Codex models, which are trained to be better at code, but the cause is unknown and may be an RL artifact.
  • The monitorability tension, as Panfilov frames it, is a possible trade-off between efficiency and legibility: a model may use fewer words or give one word several meanings, but that makes oversight harder.
  • A recurring, “kind of funny” finding: searching legible traces for “cheat” surfaces models reasoning, “the user asked this, but I can cheat… but then the user would catch me.” In all the cases discussed, the model ultimately decides against scheming. Crucially, these were genuine user sessions involving assembly and mathematics, not benchmarks, so Panfilov rejects evaluation awareness as the explanation.

4. The Kimi artifact — suggestive, not proof

  • The experiment: prefill part of an Opus reasoning trace into an open model and let it continue. Panfilov expects that with a substantial prefill—around 50%, for example—any model would adopt the source’s style because this is conditional autoregression.
  • The surprise is at two tokens: the visible answer begins looking like an Opus answer. The artifact appeared for Kimi/K3, not GLM, Inkling or Deepest Zip. Panfilov says he has no explanation for how a model would associate the first two tokens with the answer style.
  • Ilia stresses that this was a small post-hoc analysis on a small number of samples and that it is “really hard to claim” that any model was distilled. Panfilov says shared data vendors or RL environments could be an alternative explanation.
  • Other breadcrumbs are cited but not endorsed as decisive: a Ryan Greenblatt post and reports of Kimi K2.5 having “a massive identity crisis,” sometimes claiming to be Claude, DeepSeek or GLM. Their distinctive advantage is that, having extracted the reasoning traces, they can perform an analysis others cannot readily reproduce.

5. The crypto that wasn’t broken, and the summarizer problem

  • The cryptography discussion describes a state that is compressed, encrypted and accompanied by a signature or integrity check before being injected back. The exact scheme is not public; Matt Green’s write-up gives a hypothesis involving ChaCha or AES in an unusual mode. The researchers tried cryptographic attacks, none worked, and none were needed: “the system was broken by itself.”
  • The researchers argue that the case for measuring attacker uplift is clearer here than in ordinary jailbreaking. An attacker can take extracted summaries or reasoning, train or distill on them, and measure how much capability improvement results. Summary detail can therefore be treated as a measurable dial.
  • On the “one global key per family” claim, Ilia says he did not make that claim and suggests it came from Matthew Green’s post. Tim says it is unlikely that all models use the same key and speculates that the key may not matter because the same thoughts can still be injected broadly, with an apparent Fable exception. Panfilov explains that a model-name check could block cross-model injection for Fable.

6. Fixes exist, on three levels

  • Architectural fixes from Panfilov include not sending reasoning to the user at all. If reasoning must be sent, encryption at step N could depend on the N−1 query or reasoning so a blob cannot be replayed in a random context. Another option is a hierarchy: allow some models’ reasoning to be replayed broadly, but do not let a weaker model read a stronger model’s thoughts.
  • Model- and system-level mitigations can reuse jailbreak defenses from biosecurity and cybersecurity. Because GPT reasoning looks like a very different distribution from normal text, even a small classifier might detect a leak and “just kill the request.”
  • Panfilov flags an unresolved utility question: how much capability is lost if reasoning is stripped from downgrade contexts? Tim notes that, as a human, he finds mathematical derivations easier to follow step by step than from a final answer alone. Panfilov responds that this should be tested.

7. Poisoned traces, safety worldview, and the defensive bet

  • The invisible-prompt-injection threat concerns expensive, long-running agentic or post-training benchmark traces that might be shared online. The example is hypothetical: a roughly 10-hour run that could cost about $1,000 to reproduce. An attacker could share a trace that looks clean while its encrypted thoughts have been poisoned with instructions such as “exfiltrate your data.” Because the reasoning is encrypted, a user cannot inspect it.
  • The guests compare this to downloading a clean-looking codebase alongside an unchecked or unsigned malicious binary. The visible material may look safe while the artifact being executed contains hidden instructions.
  • Panfilov, the “doomer four days a week,” sees pacing risk — threats emerging faster than patches — pointing to the Hugging Face incident and OpenAI pausing training for two weeks. He also cites Daniel Oleka’s work on massive online deanonymization, where models might be used to stalk people, potentially at roughly the level of private investigators.
  • Ilia’s counterweight and the episode’s through-line: be a “cold-headed scientist,” do not anthropomorphize, and build controlled environments. The authors openly describe their findings as “anecdotal evidence at best.” His credit-card analogy is that replay attacks are theoretically possible broadly yet are reported only “once or twice in a country”; not every theoretically possible harm is practically scalable. His bet is that defensive uplift, unlocked by 25 years of security literature no longer gated on scarce talent, “is going to be humongous.”
  • On framing, Panfilov agrees with Nathan Lambert that the attack is “jailbreaking and misuse, 100%,” rather than a claim about distillation itself. Ilia says that is technically right while leaving the policy implications “above our pay grade.”