Stealing Reasoning Traces from Proprietary LLM APIs
Summary
Leading LLM providers hide chain-of-thought reasoning by returning it to clients as encrypted blocks that are passed back with each request. The authors identify an architectural vulnerability: these encrypted blocks are interchangeable across sessions, users, and models within a provider's ecosystem. Injecting an encrypted reasoning trace from a strong model into a weaker, less safeguarded model of the same provider makes it decode and emit the trace verbatim in plaintext, a scalable "decryption jailbreak" that never jailbreaks the stronger model directly. Four attack vectors are demonstrated across Anthropic, OpenAI, and Google: circumventing anti-distillation protections; large-scale private data extraction (decoding 315,320 reasoning blocks scraped from public repositories recovered 367 PII artifacts and 182 credentials); exposure of hazardous reasoning content even when the visible answer refuses; and invisible prompt injection hidden inside encrypted blocks to poison public agentic rollouts. Cryptographic and system-level mitigations are proposed following responsible disclosure.
- Venue
- arXiv
- Source
- arxiv
- Access
- free
- License
- arXiv (open); CC BY 4.0
- License family
- Other
- Language
- en
- Purpose
- Research paper
- Time period
- published 2026-08-10
- Author type
- human
- Added
- Aug 11, 2026
- Verified
- Aug 11, 2026
- Research status
- done
From the source
- Published
- Aug 10, 2026
- arXiv categories
- cs.CR, cs.AI, cs.LG
- Citations
- 9 (3 influential)
- References
- 0
Abstract (from arXiv)
Leading large language model providers now conceal their models' step-by-step reasoning, or chain-of-thought, to protect intellectual property and limit information leakage. Rather than storing these traces server-side, providers return them to the client as blocks of encrypted text, which the client passes back with each subsequent request. Building on prior research, we identify an architectural vulnerability: these encrypted blocks are fully compatible and interchangeable across different sessions, users, and models within a provider's ecosystem. We exploit this compatibility to develop a scalable decryption jailbreak. By injecting an encrypted reasoning trace from a given model into a weaker, and less safeguarded model from the same provider, we force it to decode and output the trace verbatim in plaintext, without ever jailbreaking the more capable model directly. This vulnerability enables four distinct attack vectors. First, it circumvents anti-distillation mechanisms, allowing adversaries to extract a proprietary model's reasoning, as we demonstrate across Anthropic, OpenAI, and Google. Second, it allows for large-scale private data extraction. Developers frequently share session logs publicly, unaware of contents of the encrypted blocks. By decoding 315,320 reasoning blocks scraped from public repositories, we recovered 367 Personally Identifiable Information (PII) artifacts and 182 credentials. Third, it inadvertently reveals hazardous information hidden within the reasoning process, even in cases where the model's final, visible output safely rejects a malicious request. Fourth, attackers can leverage this flaw to execute invisible prompt injections, embedding malicious payloads entirely within encrypted blocks to poison public agentic rollouts. Following responsible disclosure, we propose concrete cryptographic and system-level mitigations to secure client-side reasoning.
Tags
Topics
Computer Science
Similar entries
- Dataset DeepSeek V4 Pro Hermes Reasoning Traces
- Paper How to Steal Reasoning Without Reasoning Traces
- Paper daVinci-LLM: Towards the Science of Pretraining
- Other LLM-based agents reasoning // CoT, ToT, GoT!
- Paper Adversaries can still steal reasoning from American frontier models via Third-Party Cloud Aggregators ("Stolen Thoughts" update)
- Benchmark Humanity's Sixth Sense (HSS): Scale AI's benchmark for intuitive visual reasoning