Swapping encrypted reasoning blocks lets a weaker model reveal proprietary LLM chain-of-thought
The authors assert they can extract step-by-step reasoning from proprietary LLM APIs by injecting encrypted traces into a less-protected model of the same provider
AI/ML arXiv 10 Aug 2026 Attack Prototype evidence
Published as “Stealing Reasoning Traces from Proprietary LLM APIs”
Why it matters
Attackers can cheaply steal proprietary model reasoning and sensitive user data at scale, undermining intellectual-property protection and privacy guarantees of LLM services.
Summary
The authors show that encrypted chain-of-thought blocks returned by major LLM APIs can be replayed into weaker models from the same provider, forcing those models to decrypt and output the hidden reasoning in plaintext. Using this technique they decoded 315,320 public reasoning blocks and recovered 367 PII artifacts and 182 credentials, demonstrating a scalable privacy breach. The evidence is based on large-scale scraping of public repositories and controlled cross-model extraction experiments, but the authors note they cannot guarantee exact fidelity of the recovered traces and that their search was not exhaustive.
What they found 2
- Decoding 315,320 public reasoning blocks recovered 367 PII artifacts and 182 credentials.
“By decoding 315,320 reasoning blocks scraped from public repositories, we recovered 367 Personally Identifiable Information (PII) artifacts and 182 credentials.”
- 0.3% of decoded blocks contain at least one privacy leakage.
“Out of 315,320 decoded thinking blocks, 0.3% (1,028) contain at least one privacy leakage.”
Caveats 4
- The authors admit they cannot guarantee that the extracted thoughts correspond exactly to a model’s private reasoning.
- Their secret-extraction experiments are limited to a non-exhaustive search over publicly-shared session traces.
- In the absence of a ground-truth reasoning trace and the stochasticity of the generation process, we cannot guarantee that the extracted thoughts correspond exactly to a model’s private reasoning.
- Our experiments here are limited to a non-exhaustive search over publicly-shared session traces.
What’s new here 4
- Exploits cross-model compatibility of encrypted reasoning blobs to extract proprietary chain-of-thought without attacking the target model directly.
- Performs large-scale decoding of publicly-shared reasoning blocks, quantifying real-world privacy leaks.
- Demonstrates invisible prompt-injection attacks via malicious encrypted blocks.
- Provides concrete cryptographic and system-level mitigation recommendations.