Researchers steal proprietary LLM inference chains via cross-model compatibility of encrypted inference blocksStealing Reasoning Traces from Proprietary LLM APIs
The authors find that encrypted chain-of-thought blocks in commercial APIs can be transferred between models from the same vendor, and that weak models can be used to bypass frontier-model protections and transcribe their chain of thought verbatim.
The attacker is a standard unprivileged API adversary, with no need for insider access or server-side state, and cannot obtain proprietary weights. A first-party adversary exploits cross-model compatibility to replay encrypted blocks generated from their own queries into cheap weaker models to bypass alignment; a third-party adversary scrapes public trajectories to steal privacy credentials or inject malicious blocks.
- Mainstream LLM APIs, to protect intellectual property and prevent abuse, have abandoned plaintext chain-of-thought and encapsulate it in encrypted blocks for client return. This stateless design introduces unconstrained cross-session, cross-user, and cross-model compatibility, exposing encrypted reasoning blocks to malicious replay and data extraction risks.
- The authors exploit the asymmetry in safety alignment between different models within the same vendor ecosystem, injecting encrypted chain-of-thought blocks generated by a strong model into a lighter-weight model from the same vendor with weaker defenses and lower cost, and using prompts to induce the weak model to transcribe the thought content verbatim into plaintext, thereby bypassing the jailbreak protections on the strong model itself.
- On Anthropic, OpenAI, and Google models, token counts track billed reasoning tokens at a 1:1 ratio; from 6,708 publicly scraped agent trajectories, 62 API keys and other sensitive credentials were recovered; prefilling 1% of reasoning on HLE STEM problems raised Kimi-K3's answer overlap from 0.160 to 0.305.
- The empirical evaluation is limited to specific API versions as of early July 2026 and relies on the stochastic generation capability of weaker models; the wild trajectory analysis is only a non-exhaustive sample and does not establish causal distillation inference; after vendor fixes, this extraction attack can no longer be reproduced, and the paper does not report end-to-end call latency or network delay.
- Evaluated models
- Claude Opus 4.8Claude Haiku 4.5GPT-5.6 SolGPT-5.6 LunaGemini Robotics 1.6GPT-5GPT-5.2 Codexo4-miniClaude Sonnet 4.6Claude Opus 4.7Claude Sonnet 5Claude Sonnet 4.5Claude Fable 5Gemini 3.1 Flash LiteGPT-5.5Kimi-K3GLM-5.2InklingDeepSeek-V3.1DeepSeek-V4-Flash
- Benchmarks
- Codeforces (Open-R1 subset)AIME 2025Humanity's Last ExamClawBenchClawBenchV2TracePostTrainBenchHarmBench
- Metrics
- Decoded-to-billed thinking-token ratioExtraction errorDistinct leaked privacy artifactsTrajectory leakage rateBest-of-k n-gram overlapStyle-classifier AUCPerplexity
Researchers found that the APIs of Anthropic, OpenAI, and Google hand chain-of-thought to the client as encrypted blocks for return transmission, and these encrypted blocks can be reused across sessions, users, and models within the same vendor's ecosystem. They injected the encrypted reasoning blocks of strong models into weaker, less protected models from the same vendor (such as Claude Haiku 4.5, GPT-5.6 Luna, and Gemini Robotics 1.6), forcing them to transcribe the plaintext verbatim, thereby extracting their reasoning chains without directly jailbreaking the strong models. This vulnerability gives rise to four types of attacks: bypassing anti-distillation mechanisms to steal proprietary reasoning, extracting privacy data at scale from public session logs, obtaining harmful information through hidden reasoning channels, and implanting invisible prompt injections in encrypted blocks. The researchers scraped 6,708 public agent trajectories from GitHub and Hugging Face, decoded 315,320 reasoning chains, and recovered 367 items of PII and 182 credentials, of which real user sessions contained 62 API keys, 33 passwords, and 30 email addresses.
Why it was selectedThe paper discloses that encrypted reasoning blocks can be reused across sessions, users, and models, and provides measured results and mitigation recommendations for the APIs of Anthropic, OpenAI, and Google.
Related events and news
5 events · 9 news mentions
News that mentions this paper
日本IPA发布11月AI安全简报
- 独立行政法人情報処理推進機構(IPA)cites the paper's id or link日本IPA发布11月AI安全简报:智能体式攻击基础设施扩散至各类威胁行为者
• "[2608.09867] Stealing Reasoning Traces from Proprietary LLM APIs"
Mindgard 博客解析模型抽取与蒸馏攻击
- Mindgard Blogcites the paper's id or link什么是模型提取攻击?蒸馏攻击如何通过 API 窃取 AI 模型
Panfilov et al. (August 2026) found that these encrypted blocks were interchangeable across models from the same provider.
OpenAI压缩功能漏洞可提取模型隐藏推理
- Infosecurity Magazinecites the paper's id or linkOpenAI 压缩功能漏洞让研究者得以提取模型原始推理
Show 6 more news items
CSET 发文拆解黑盒蒸馏五步骤
- CSETcites the paper's id or link黑盒蒸馏是如何运作的
“new safeguards” that address them. https://arxiv.org/abs/2608.09867;
Anthropic 升级反蒸馏防御并点名 Kimi、GLM
- Anthropic Researchcites the paper's id or linkAnthropic 加强针对蒸馏攻击的防御
They’ve also moved reasoning between models (using one with weaker safeguards to extract the stronger model’s reasoning) and between accounts, using the proxy networks described above to continue
- Anthropiccites the paper's id or linkAnthropic 加强对蒸馏攻击的防御
They’ve also moved reasoning between models (using one with weaker safeguards to extract the stronger model’s reasoning) and between accounts, using the proxy networks described above to continue
- Adversa AIcites the paper's id or linkOWASP 2026 LLM Top 10 等 15 项 GenAI 安全资源汇总
Stealing reasoning traces from proprietary LLM APIs
- Embrace The Redcites the paper's id or link博主复现加密 LLM 推理轨迹还原攻击,跨账号取回 GPT-5.6 推理中的密码
A few days ago, a paper named “Stealing Reasoning Traces from Proprietary LLM APIs” was published.
- Simon Willisoncites the paper's id or link论文披露从专有 LLM API 窃取加密思维链的方法
Stealing Reasoning Traces from Proprietary LLM APIs (via) A vanity domain name (stolen-thoughts.com) for a neat paper:
Paper analysis
What problem does this paper attempt to solve?
The paper finds that encrypted reasoning blocks from commercial APIs can be interchanged across models, creating a weak-model decryption channel that bypasses strong-model alignment.
The core problem is that encrypted chain-of-thought data blocks returned to clients in commercial large-model APIs have an architecture-level cross-model compatibility vulnerability that can be exploited for low-cost bypassing of alignment protections and verbatim decryption of proprietary reasoning.
- Scenario and significance: Frontier large language models rely on internal long chain-of-thought (Chain-of-Thought) to perform complex reasoning, which contains dense information such as intermediate assumptions, tool outputs, user data, and contextual secrets. To protect intellectual property and prevent harmful content leakage, Anthropic, OpenAI, and Google abandoned plaintext chain-of-thought transmission and instead return signed AEAD-encrypted blocks, which the client carries back in subsequent multi-turn conversations to keep the server stateless.
- Shortcomings of existing mechanisms: Model vendors rely on refusal training and output filtering of frontier models to prevent chain-of-thought leakage. Previous research only noted that encrypted blocks could be replayed across sessions or out of order outside the original context, without fully assessing the risk of interchangeability across users and models.
- Core observation and hypothesis: The authors observed significant security-protection asymmetry within model families: strong models such as Claude Opus 4.8 or GPT-5.6 Sol deploy strict anti-introspection and anti-distillation alignment, while weaker models from the same vendor, such as Claude Haiku 4.5 or GPT-5.6 Luna, lack such constraints; at the same time, vendors generally use global keys for signing, making encrypted blocks fully interchangeable across sessions, users, and models.
- Proposed solution in the paper: The authors propose a scalable decryption jailbreak attack that replays encrypted reasoning blocks generated by a protected strong model into a weaker model in the same ecosystem, inducing it to act as a decryption machine that transcribes the chain of thought verbatim into plaintext, thereby bypassing the need to jailbreak the strong model itself, and demonstrate attack avenues such as model distillation, privacy theft, covert prompt injection, and harmful content extraction.
- Threat model:
- Attacker goal: Extract the private chain of thought of a victim strong model for distillation, steal privacy credentials from third-party public trajectories, implant hidden instructions in encrypted blocks to perform prompt injection, or induce the model to generate harmful thoughts and transcribe them to bypass safety filters.
- Attacker knowledge: standard, unprivileged API adversary; no access to server-side infrastructure, no ability to observe server-side internal state, no access to proprietary model weights, and operations entirely within the standard API specification.
- Attacker capability: A First-Party Attacker queries the strong model through their own API to obtain encrypted blocks and replays them into a weaker model from the same vendor; a Third-Party Attacker collects other people's uncleaned encrypted blocks from public code repositories or agent logs for decryption, or implants malicious encrypted blocks into victim workflows.
- Victim system: Proprietary API providers that use client-side storage of encrypted chain-of-thought blocks (Anthropic, OpenAI, Google), as well as developers and end users who publish interaction logs containing thought-signing on public platforms.
What related research exists?
Related work covers directions such as black-box model distillation, encrypted chain-of-thought analysis, chain-of-thought safety, and long-range injection in agents.
Encrypted chain-of-thought and API architecture security:
- Matthew Green (2026) explored encrypted reasoning mechanisms, noting that encrypted blocks can be replayed across sessions or out of order; the authors note that his work only focused on portability, did not discover fully compatible cross-user and cross-model interchange vulnerabilities, and at the time vendors had not confirmed security risks.
- OpenAI (2026), Anthropic (2026b), and Google (2026) proposed extended-thinking and reasoning-signature mechanisms, abandoning plaintext chain-of-thought transmission and encapsulating reasoning payloads in AEAD envelopes returned by the client for stateless continuous interaction.
Model stealing and chain-of-thought distillation:
- Traditional black-box model distillation (Tramèr et al., 2016; Kim and Rush, 2016; Wallace et al., 2020; Gudibande et al., 2024; Ye et al., 2025; Lee et al., 2025; Rawat et al., 2026): relies only on observable model outputs for imitation learning; the authors note that visible outputs alone reveal only final results, while chain-of-thought provides dense intermediate reasoning supervision, enabling stronger capability transfer.
- Chain-of-thought trajectory inversion without traces (Zhang et al., 2026a): by querying GPT-5.4 mini and training a trajectory inversion model to synthesize long reasoning from outputs and summaries, fine-tuned models improved on MATH500; the authors note that this method can only reconstruct approximate proxy reasoning, whereas their method extracts the true original chain-of-thought verbatim.
- Chain-of-thought training and test-time scaling (Wei et al., 2022; Jaech et al., 2024; Muennighoff et al., 2025; Javaheri et al., 2026): shows that test-time compute scaling and dense reasoning traces are crucial for model capabilities.
Chain-of-thought monitoring and covert security threats:
- Hidden reasoning risks and jailbreaks (Green et al., 2025; Mao et al., 2026; Zhou et al., 2025; Khalil et al., 2026): models may deeply explore harmful topics or leak private data during the thinking phase; even if visible outputs enforce refusal, hidden channels still pose risks.
- Chain-of-thought monitorability and faithfulness (Baker et al., 2025; Carroll et al., 2026; Lanham et al., 2023; Greenblatt et al., 2024; Korbak et al., 2025; Schoen et al., 2025): note that directly applying alignment pressure to chain-of-thought leads to confusion and reduced monitorability, and API-returned reasoning summaries are often unfaithful.
- Agent long-horizon safety and injection (Rank et al., 2026; Schmotz et al., 2026; Andriushchenko et al., 2025): reveal that shared trajectories in automated long-horizon tasks are susceptible to injection and prompt attacks.
Baseline methods and benchmark datasets:
- Benchmarks used in experiments include Codeforces (Open-R1 subset), AIME 2025, Humanity's Last Exam (HLE), HarmBench, PostTrainBench, ClawBench, and ClawBenchV2Trace.
- Commercial models analyzed include Claude 4.5/4.6/4.7/4.8, GPT-5 series and GPT-5.6 series, Gemini 3 series; open-source models used as controls and for evaluation include Kimi-K3, Kimi-K2.6, Kimi-K2.5, GLM-5.2, DeepSeek-V3.1, DeepSeek-V4-Flash, Inkling, and GPT-OSS-120B.
Positioning relative to existing work: The authors note that previous research either relied on complex jailbreaks to directly confront strong models' strict safety filters, or used visible outputs to inversely fit approximate reasoning; this paper exploits cross-model and cross-session compatibility vulnerabilities within the model ecosystem, shifting the decryption burden to cheap, weakly aligned weak models, achieving end-to-end verbatim true chain-of-thought extraction without directly jailbreaking strong models.
How does the paper address this problem?
Inject strong models' encrypted blocks into weakly aligned models from the same vendor, inducing verbatim plaintext transcription with reconstruction verification.
The overall idea is to exploit cross-model compatibility vulnerabilities in commercial APIs to bypass the alignment defenses of strong models, inject encrypted reasoning blocks into the same vendor’s cheap weak models that are not strictly aligned, induce them through specific prompts to transcribe the encrypted content verbatim into plaintext, and supplement this with a reconstruction verification mechanism.
Vulnerability Analysis and Cross-Model Compatibility
- Global key and stateless design: to avoid the overhead of storing session state on the server, vendors encapsulate the chain of thought as a Base64-encoded AEAD envelope and return it to the client; because model switching and automatic rerouting are supported, vendors use a global key across the entire ecosystem, without binding the ciphertext to the session, user, or model.
- Three compatibility levels: within-session and cross-session compatibility (allowing out-of-order or replay in a new session), cross-user compatibility (allowing an attacker to replay the ciphertext of another user’s session), and cross-model compatibility (allowing ciphertext generated by a strong model to be placed into a weak model’s input).
- Current state of compatibility testing: in testing in July 2026, in the Claude family, except for Fable 5, the reasoning of each generation of models could be replayed by other models; the GPT-5.6 series could replay the reasoning of all earlier GPT models; the reasoning of each Gemini model could be replayed by other models (Table 1).
Fuzzy Decryption Attack Process Based on Weak Models
- Weak decryptor selection: to reduce attack difficulty, the weakest-protected compatible model in each vendor ecosystem was selected as the fuzzy decryptor: Claude Haiku 4.5 for Anthropic, GPT-5.6 Luna for OpenAI, and Gemini Robotics ER-1.6 for Google.
- Decryption jailbreak prompts and output prefilling: this exploits weak models’ lack of refusal training for chain-of-thought transcription, using specific tags (such as
<thinking-copy>,<transcribed>,<thought>) to guide the model to transcribe. For models that support assistant-turn output prefilling (such as Haiku 4.5 and Gemini models), the starting tag is directly prefilled in the assistant turn, forcing the model to output verbatim starting after the tag (Figure 2, Figure 33, Figure 38). - Extraction fidelity evaluation: when the true server-side plaintext cannot be obtained, the authors define the extraction error formula: extraction error = | 1 − (tokens in extracted reasoning)/(billed tokens in the original reasoning block) |, using the API-billed token count as a reference baseline to measure the consistency between the length of the extracted text and the original chain of thought (Appendix C.2).
Customized Extraction Strategies for Different Vendors’ APIs
- Claude extraction and reconciliation process: Haiku 4.5 at temperature 1.0 can stably output reasoning content close to a 1:1 token ratio in a single prompt; for occasional refusals or noise, an optional reconciliation step was designed, injecting up to 3 candidate texts generated by Haiku together with the original signature into Opus 4.8, where at temperature 0 Opus 4.8 removes noise and reconstructs a faithful transcription (Figure 34, Appendix C.1).
- GPT extraction and chunking evasion: GPT models deploy an API-level filter that detects more than 50 consecutive repeated tokens; the authors use chunked extraction (limiting generation to 50 tokens per round and stitching with preceding and following word overlap), sampling up to 50 candidates on GPT-5.6 Luna and selecting the smallest extraction error, and falling back to GPT-5.6 Terra if the error exceeds 0.1 (Figure 35–37, Appendix C.2).
- Gemini extraction process: Gemini sampling produces relatively more noise, so the authors use Gemini Robotics ER-1.6 to sample up to 20 candidates, select the 3 candidates with the smallest error, and hand them to Gemini 3.5 Flash for reconciliation and reconstruction (Figure 38–39, Appendix C.3).
Cryptographic and System-Level Defense Recommendations
- Cryptographic context binding: proposes embedding user_id into the AEAD associated data for stateless verification by the gateway, and using a lightweight hash chain to strongly bind each reasoning block to the session and preceding blocks:
\tau_{n+1} = H(\text{user\_id} \mathbin{\Vert} \text{session\_id} \mathbin{\Vert} H(\tau_n \mathbin{\Vert} \text{salt}_2) \mathbin{\Vert} \text{salt}_1), making cross-session and out-of-order replay ineffective (Eq. 1, Appendix A.2). - Architectural redesign and server-side revocation: recommends shifting to a stateful architecture in which the server stores the chain of thought and the client holds only a random ID; when retaining client-side storage, supports session pruning through a Merkle tree, and rotates or revokes signing keys when anomalous extraction is detected. The full prompt templates are in Appendix C.
What experiments did the paper conduct?
Experiments confirm that reasoning from models of three major vendors can be decoded at near 1:1, and public trajectories recovered 62 API keys and other sensitive credentials.
Experimental setup
- Models tested and decryptor models: The models tested and attacked include Anthropic's Claude Opus 4.8, Opus 4.7, Opus 4.6, Opus 4.1, Sonnet 5, Sonnet 4.6, Sonnet 4.5, Haiku 4.5, Fable 5; OpenAI's GPT-5.6 Sol, GPT-5.6 Terra, GPT-5.6 Luna, GPT-5.5, GPT-5.4, GPT-5.4 mini, GPT-5.3-Codex, GPT-5.2 Codex, GPT-5.1-Codex-Max, GPT-5, GPT-5-mini, o4-mini; Google's Gemini 3.1 Pro, Gemini 3 Pro, Gemini Robotics ER-1.6, Gemini 3.5 Flash, Gemini 3 Flash, Gemini 3.1 Flash Lite. Open-source comparison models include Kimi-K3, Kimi-K2.6, Kimi-K2.5, Kimi-K2.7-Code, GLM-5.2, DeepSeek-V3.1, DeepSeek-V4-Flash, Inkling, GPT-OSS-120B.
- Datasets and test scale: The controlled extraction fidelity test uses 120 Codeforces programming problems (Open-R1 subset); capability and style tests use AIME 2025 and Humanity's Last Exam (HLE, 30 questions: 15 STEM and 15 non-STEM); the public trace analysis scraped 6,708 public agent traces on GitHub and Hugging Face (decrypting 315,320 thought blocks); benchmark traces include PostTrainBench, ClawBench (including 75 Opus 4.7 runs and 81 GPT-5.5 runs of ClawBenchV2Trace), and TerminalBench; jailbreak tests use HarmBench.
- Evaluation metrics: ratio of decrypted tokens to billed tokens, extraction error, number of distinct leaked items, session leak rate (%), best-of-k n-gram token overlap, style classifier AUC, perplexity (PPL), number of probabilistic extraction queries.
- Review and annotation method: In-the-wild privacy extraction uses a two-stage LLM-as-a-judge process (stage one is high-recall initial screening by Haiku 4.5, stage two uses a dedicated prompt to determine genuine sensitive credentials, excluding placeholders and environment variable names, followed by manual verification); thought-summary unfaithfulness is screened for candidates by an LLM judge and Claude Code, with comprehensive manual inspection.
- Repetition and sampling settings: The style overlap test samples batches at k = 1, 10, 50, 100; the style classifier uses five-fold cross-validation (grouped by question); API experiments cost about $30,000 in total.
Main results
The table below presents the distribution of sensitive privacy and credential artifacts found by decryption among the 315,320 thought blocks scraped from public sources (per Table 4):
Swipe horizontally to read the table
Sensitive information item (per Table 4) Initial screening flags (Labeler 1) Judged genuine (Labeler 2) Distinct unique values Genuine user sessions Appearing only in reasoning blocks API key 966 90 69 62 11 Password 1,235 330 72 33 2 Access token 852 84 30 24 3 Private key 62 11 11 7 0 Personal email 651 232 72 30 3 Personal name 4,350 541 173 130 4 File/repo path 31,380 373 281 279 24 Total, all categories 76,778 2,194 941 704 64 - Encrypted thought blocks cause undetected genuine leaks: Of the 704 genuine sensitive items identified in genuine non-benchmark user sessions, 64 (about 9%) exist only in encrypted thought blocks and do not appear at all in the visible chat history; the authors point out that this means users cannot remove data sealed in encrypted signatures even if they clean the plaintext before sharing.
- High-risk credentials commonly persist in public sessions: After excluding manually synthesized benchmark data, genuine user sessions decrypted 62 distinct API keys, 33 passwords, 24 access tokens, and 7 private keys (Table 4). In the overall sample, 0.3% (1,028) of the 315,320 thought blocks contain leaked items, and by session, 4.9% (328) of the 6,708 sessions contain at least one genuine sensitive information leak (Section 4.1).
- Cleanup instructions instead worsen data retention: The authors observed that when users ask the agent to anonymize or "clean" a session, the model often re-reads the full history in hidden thoughts and lists the sensitive values to delete one by one, thereby fixing the sensitive data into encrypted thought blocks (Section 4.1).
Cross-vendor model extraction fidelity and distillation-defense evasion
- Controlled problem token tracking: On 120 Codeforces problems, using Haiku 4.5, GPT-5.6 Luna, and Gemini Robotics 1.6 to decrypt the thought signatures of each vendor's strong models, the number of decrypted generated tokens closely follows y=x against the original billed thought token count reported by the API, showing a near 1:1 tracking relationship (Figure 1).
- Difficulty difference between direct jailbreaking and weak-model decryption: The target models themselves are constrained by refusal-introspection training and character-matching filters, whereas with Haiku 4.5, for example, a single fixed prompt suffices to reliably decrypt the full set of problems; GPT-5.6 Luna requires dynamic templates and chunking coordination, but this greatly lowers the barrier compared with attacking strong models directly (Section 2.4).
- Economic feasibility: The authors estimate, based on 2025 Claude Haiku 4.5 API pricing, that decoding 10,000 reasoning traces with a 12,000-token input-output window costs only about $720 at standard API rates (Section 3.1).
Jailbreak validation and long-horizon agent prompt injection
- Extracting harmful thoughts by bypassing output filters: The authors queried Opus 4.8 with a rewritten HarmBench car-theft prompt; the model gave a compliant answer in the visible output but in its chain of thought derived in detail the specific vehicle's vulnerabilities and physical theft methods; by decrypting that encrypted block with Haiku 4.5, they successfully recovered the harmful information that had been filtered at the visible layer (Figure 4, Section 3.2).
- Cross-model, cross-task covert prompt injection: The authors injected a backup instruction into o4-mini to obtain an encrypted thought containing data-exfiltration logic; when replayed into GPT-5.6 Sol executing an unrelated PPT-editing task, GPT-5.6 Sol treated it as its own prior thinking and automatically added malicious code to the generated script that uploads files to an external server, with no plaintext trace in the visible session (Section 4.2).
- Long-horizon workflow poisoning: In a long-horizon PostTrainBench trace, using Haiku 4.5 to generate a thought block containing instructions to exfiltrate methodology files and implanting it at the tail of the trace, when the victim continued running the trace with Opus 4.7 (based on the Claude Code framework), every modification uploaded files to the attacker's server per the injected instruction (Section 4.2).
Style induction of open-source models by proprietary model chains of thought (Appendix B)
- Shift in visible-answer n-gram overlap: On 30 HLE questions, prefilling the first 1% of tokens (4–10 tokens) of Opus 4.8 decrypted thoughts into Kimi-K3's thought channel increased the n-gram overlap of its visible answers with Opus 4.8's answers on 29 questions; the average overlap on STEM questions rose from 0.160 to 0.305 (difference +0.15, p=1.7e-5), and on non-STEM questions from 0.203 to 0.289 (difference +0.086, p=6.3e-6), both remaining statistically significant after Bonferroni correction; the control model Inkling showed no clear change under the same intervention (STEM from 0.205 to 0.217, p=0.074, Table 3, Figure 9).
- Style classifier and characteristic-word analysis: A logistic regression classifier based on character 3-5 grams was trained on 90 questions (12 AIME, 78 Codeforces). Opus prefilling lowered the AUC of GLM-5.2 and Kimi-K3 relative to Opus reference text to 0.94 and 0.97 (both 0.99 without prefilling); Sol prefilling lowered Kimi-K3's AUC relative to Sol reference text from 0.97 to 0.93 (Figure 27). Jaccard characteristic-word overlap shows that Kimi-K3 already shared 0.18 of characteristic words with Sol without prefilling (0.19 after prefilling), while under Opus prefilling Kimi-K3 and GLM-5.2 reached 0.18 and 0.23 characteristic-word overlap with Opus respectively (both 0.00 without prefilling, Figure 29).
- Thought length contraction: When prefilling a 4-word lookahead fragment, Kimi-K3's median thought tokens fell from 5,700 to 2,500 (the median for the Opus source is 1,100), and GLM-5.2's from 17,600 to 7,800; DeepSeek-V3.1, Inkling, and Kimi-K2.6 retained their own original thinking-length distributions (Figure 32, Appendix B.4.5).
Other ablations and analyses
- Prefill length sensitivity: GLM-5.2's AUC already falls to 0.96 under 1-word Opus prefilling, levels off after 8 words, and reaches 0.92 at 16 words; Kimi-K3's AUC falls to 0.97 under 1-word prefilling and stays at 0.95–0.97 across lengths (Figure 31).
- Number of probabilistic extraction queries (HLE): Without prefilling, extracting a 16-token thought fragment from each open-source model requires more than 10^10 queries; under 1% Opus prefilling, extracting the subsequent 16-token visible answer requires about 4×10^5 queries for Kimi-K3, 10^7 for GLM-5.2, and more than 10^14 for Inkling and DeepSeek-V4-Flash (Appendix B.3.1).
- Perplexity differences (Codeforces): Except for Kimi-K3 and Kimi-K2.7-Code, all evaluated models assign higher perplexity to their own thoughts than to some other models' thoughts (Figure 26).
- Summary length compression ratio: The display: summarized text provided by the Claude API is about one-fifth the length of the hidden thought tokens (Figure 40, Appendix C.4).
- Synthetic persona information extraction (ClawBenchV2Trace): 75 Opus 4.7 runs recovered all 7 identity fields of Alex Green plus the password token; 81 GPT-5.5 runs recovered 5 items including name and address, but the password and security-question answers did not appear in the thoughts (Table 5).
Negative results, exceptions, and failure cases
- Extraction failure modes: Occasional failures of the decryptor models fall mainly into three categories: refusing to transcribe the reasoning, directly echoing the prompt template, or confusing things and claiming that no preceding thought exists in the context (Appendix C.1).
- GPT extraction obstacles: Compared with Claude, decryption by GPT models shows marked length and source variability (e.g., Luna is more stable extracting from Sol than from GPT-5-mini), and frequently triggers the 50-token repeated-content block, forcing the experiments to use a 50-token segment-by-segment continuation scheme, during which Luna often refuses to continue and proposes returning everything at once (Appendix C.2).
- High Gemini decoding noise: Single-pass decoding by Gemini Robotics ER-1.6 has significantly higher noise than Claude, requiring up to 20 samples with selection of the minimum-error candidate and then reconciliation by Gemini 3.5 Flash (Appendix C.3).
- No direct verbatim memorization of proprietary thoughts found in open-source models: In the probabilistic extraction test, the number of queries required for open-source models to reproduce a 16-token proprietary thought fragment without prefilling is as high as 10^9 to 10^12, which does not support the direct verbatim memorization hypothesis (Appendix B.3.1).
- Cases of thought-summary unfaithfulness: In an AIME 2025 question, Opus 4.8's original thought had already recalled the answer before deriving it, while in 8/18 cases the summary listed the answer in advance, and in 1 case it rewrote "Let me verify by computing" as "Let me set up coordinates", packaging the verification as an independent derivation (Figure 42); in another case, an undetermined guess discarded within the thought was stated directly as a definite quantity in the summary (Figure 41); GPT-5.6 Sol's summary even recorded only the formatting requirements while omitting all mathematical derivation (Figure 43).
What are some points that can be further explored?
The authors note that the evaluation is limited to specific API versions and cannot access true plaintext, and the evaluation does not exhaust all public agent datasets.
Limitations and Future Directions Noted by the Authors
- API version and testing time window: Empirical evaluation is limited to specific API versions and reasoning models from Anthropic, OpenAI, and Google available in early July 2026; vendors may change proprietary cryptographic implementations without notice, altering attack effectiveness (from Section 5.1).
- Lack of true plaintext baseline and generation randomness: Extraction relies on the decoding model's stochastic generation; although token count comparisons show high tracking, without server-side true plaintext chain-of-thought as a baseline, absolute fidelity of all decrypted tokens cannot be verified (from Section 5.1).
- Non-exhaustive wild public trajectory scanning: The crawl of wild public trajectories is a preliminary scan, not an exhaustive audit of all published agent datasets, serving only as a targeted demonstration of the direct privacy threat from this vulnerability (from Section 5.1).
- Residual gaps in post-training alignment defenses: Cryptographic binding only limits which model is allowed to decrypt the envelope; it cannot constrain whether a model complies with transcription instructions when legitimately processing its own historical reasoning; the authors list training models to recognize and reject transcription-style jailbreaks like
<thinking-copy>as future post-training work (from Appendix A.5). - Non-causal nature and sample limitations of open-source distillation analysis: The Appendix B analysis of proprietary-to-open-source distillation was conducted after vendor fixes, relies on a small, competition-biased problem set (90 problems), and an external API deployment environment that cannot be fully controlled; observed style shifts can only establish behavioral compatibility, not causally infer memorization or distillation (from Appendix B disclaimer and Section B.4.1).
Experimental Coverage
- Vendor and model coverage: Measurements cover 18 proprietary reasoning models from three major commercial API providers—Anthropic, OpenAI, and Google—available in July 2026 (Table 1), and test 9 open-source or control models in appendix analyses (Figure 26).
- Dataset coverage: Extraction fidelity tests are based on 120 Codeforces problems (Figure 1); capability and style tests use AIME 2025 (up to 18 problems) and HLE's 30 problems (Table 3, Figure 40); wild privacy analysis covers 6,708 public agent trajectories collected from GitHub and Hugging Face (decrypting 315,320 reasoning blocks, Table 4).
- Attack type coverage: Demonstrates model distillation extraction, wild privacy and credential theft, jailbreak extraction based on HarmBench prompts, and prompt injection based on o4-mini/GPT-5.6 Sol and Haiku 4.5/Opus 4.7 (Section 3 and Section 4).
- Unreported information: The paper does not report end-to-end network latency and precise timing for each API call; and after responsible disclosure to vendors, vendors have implemented fixes, so the extraction attacks in the paper can no longer be reproduced after August 2026 (from Reproducibility Statement).
Summarize the main content of the paper
The paper reveals a cross-model interchangeability vulnerability in client-side encrypted reasoning blocks, proposes a low-cost extraction method, and provides defensive solutions.
- Paper positioning: This paper reveals systematic interchangeability vulnerabilities across sessions, users, and models in the client-side encrypted chain-of-thought data blocks used by mainstream commercial large-model APIs (Anthropic, OpenAI, Google) to maintain stateless architectures.
- Problem to be solved: Vendors hide chain-of-thought to protect commercial intellectual property and prevent harmful information leakage, but have widely enabled loose encrypted-block compatibility within the ecosystem, putting the introspective alignment defenses of strong models at risk of being breached due to security asymmetry in weaker models from the same vendor.
- Core method mechanism: Proposes a decryption jailbreak method based on weaker models acting as fuzzy decryptors; the attacker injects encrypted signatures generated by a strong model into low-cost, loosely defended weaker models from the same vendor (e.g., Claude Haiku 4.5, GPT-5.6 Luna, Gemini Robotics 1.6), using output prefill or targeted prompts to induce them to transcribe the encrypted content verbatim into plaintext, and when necessary combines a strong model for denoising and reconciliation.
- Core experimental findings:
- On 120 Codeforces problems, the number of tokens generated by decryption closely tracks the API-reported original billed reasoning tokens at a 1:1 ratio (Figure 1).
- From 6,708 publicly scraped agent interaction logs (315,320 encrypted blocks), 941 independent sensitive artifacts were decrypted, and 62 API keys, 33 passwords, and other credentials were recovered from real user sessions, of which 64 items existed only in the encrypted reasoning and had already been cleaned by users from the visible chat records (Table 4).
- Successfully demonstrated restoring hidden reasoning for HarmBench malicious requests into uncensored outputs, and performing covert prompt injection against GPT-5.6 Sol and Opus 4.7 by hiding malicious backup instructions in encrypted blocks (Section 3.2, Section 4.2).
- Prefilling 1% of Opus 4.8 reasoning raised the best visible-answer n-gram overlap of Kimi-K3 on HLE STEM problems from 0.160 to 0.305 (Table 3).
- Author conclusions and implications: The current design of keeping encrypted data secret from users while lacking replay protection against third parties cannot guarantee privacy and security; the authors recommend adopting server-side stored stateful architectures, or forcibly binding user and session hash chains in AEAD associated data, and call on the industry to pay attention to the alignment shortcomings of weaker models in multi-model ecosystems.