Submitted:
26 November 2026
Posted:
30 November 2026
You are already at the latest version
Abstract
Providers of large reasoning models withhold the chain-of-thought (CoT) that their models generate, returning an answer, a short summary, and, in some APIs, an encrypted copy of the trace, to prevent distillation and keep sensitive intermediate content private. Eight studies published between March and October 2026 show how API clients can recover existing traces or obtain useful reasoning despite this restriction. This survey organizes that work at the level of threat models, mechanisms, and evaluation protocols. We formulate CoT extraction, compare the attackers that the studies assume, and group the attacks into three families according to how they obtain the trace: reconstruction from visible outputs, elicitation into a visible channel, and replay of the trace that the model has already produced. We then summarize how the attacks are evaluated, map the proposed defenses onto the families they address, and identify open problems. In the surveyed evaluations, no defense covers all three families. Comparing attacks needs a shared reference trace and separate measures of textual fidelity, task preservation, and downstream utility.
Keywords:
large language models
; chain-of-thought
; model extraction
; API security
; distillation
; security and privacy
1. Introduction
Large reasoning models (LRMs) generate a chain-of-thought before they answer [1,2]. The trace is longer and denser than the answer: it holds the problem decomposition, the attempts that failed, and whatever user data or tool output the model consulted. This makes it valuable to three parties. A competitor can fine-tune a student on traces and transfer more capability than answers alone provide [2,3,4]. An eavesdropper can read secrets that the model restated while reasoning [5]. A safety team can monitor the trace for misbehavior [6,7].
Providers responded to the first two risks by hiding the trace. By 2026, the major commercial APIs return a final answer, often a summary written by a separate model, and, in several cases, an encrypted block that the client must send back in later turns [8,9]. In agentic use, reasoning state also persists across tool calls [10], can be carried between models, and ends up in session logs that developers share [9]. Two providers have reported campaigns that attempted to extract their models’ reasoning [11,12]. Between March and October 2026, eight papers demonstrated extraction or useful reasoning recovery despite hidden-trace interfaces [9,10,13,14,15,16,17,18]. Figure 1 places them next to concurrent defenses. The papers are concurrent, and this survey reconciles how they name the task (trace inversion, reasoning exposure, CoT extraction, decoding), which attackers they assume, and how they score success.
Contributions. (i) A common formulation of CoT extraction and a side-by-side comparison of threat models (Section 2 and Section 3). (ii) A taxonomy of three attack families tied to the API surface each one exploits, with the mechanism of each attack (Section 4, Figure 2). (iii) A summary of evaluation protocols and metrics, a map from proposed defenses to the families they address, and open problems (Section 5, Section 6 and Section 7).
Scope and Method. We include work whose main objective is to obtain reasoning that a provider withholds. We inspected references and ran targeted online searches, with a cutoff of November 2026. The core comparison covers eight attack papers, supplemented by a precursor blog post [19] and a deployment audit [20]; anti-distillation and classical extraction are covered only where they inform threat models or evaluation.
Figure 1.
Timeline of CoT extraction attacks and related defenses.

2. Background and Problem Setting
2.1. What a Hidden-Reasoning API Still Returns
Given an input x, an LRM M generates a trace c and then an answer y. The client does not receive c, but it receives several fields that depend on it (left of Figure 2):
- the answer y;
- the reasoning-token count ℓ, reported for billing;
- when tools are enabled, tool-call arguments a. Reasoning persists across tool calls within a turn [10].
Each attack in this survey exploits a subset of . Provider terms also restrict how outputs may be used; technical resistance to extraction is a separate question.
2.2. Problem Formulation
A CoT extraction attack has black-box access to M. It chooses the request (prompt, tool schema, replayed blocks, tool responses), observes a view , and outputs an estimate , where denotes attacker-side resources such as a surrogate model. The protected asset differs across studies: provider capability, a particular generated trace, or confidential content inside it.
Target. The formulation leaves open which trace should match, because the request determines the trace that M generates. We distinguish the benign trace c, generated for the unmodified input x, from the attack-conditioned trace, generated for the attacker’s modified request. An attack that leaves the request unmodified targets c. One that modifies it recovers at best , which need not resemble c. One that suppresses hidden reasoning has neither, and its output can only be compared with , a benign trace from a separate run.
2.3. Related Lines of Work
CoT extraction inherits from four older lines. Model extraction trains a surrogate model from a victim’s outputs [33]. Inversion and prompt extraction recover hidden inputs such as a system prompt [34,35,36]; here, the hidden object is an intermediate computation generated afresh on every query. Training-data extraction tests whether a model can be made to emit a string that appeared in training [37], and side-channel attacks infer the content of hidden responses from metadata such as packet sizes and timing [38,39]. Earlier privacy work connected trace exposure to hidden-data recovery: Leaky Thoughts [5] measures whether prompt injection makes a personal assistant reveal private fields copied into its reasoning, and Wu et al. [40] report hidden-CoT exposure of o1 models in a red-teaming competition. Attacks that inflate reasoning to raise cost [41] or transplant harmful traces between models [42] use the same channel for other goals and are outside our scope.
Figure 2.
Attack surfaces of a hidden-reasoning API and the three families of CoT extraction attacks. Solid arrows: field a family reads its output from; dashed arrow: field used only as feedback; dots: goals discussed for each family.
Figure 2.
Attack surfaces of a hidden-reasoning API and the three families of CoT extraction attacks. Solid arrows: field a family reads its output from; dashed arrow: field used only as feedback; dots: goals discussed for each family.

3. Threat Models
Table 1 compares the eight attacks. All assume a black-box attacker without weights, logits, or server-side access. They differ in five respects, analyzed next.
Goal. The three reconstruction attacks, REP, and Stepwise-Querying want a training signal for distillation [13,14,16,17,18]. The reconstruction attacks and Stepwise-Querying are indifferent to whether equals c, and TraceForge aims for the student’s style over the victim’s. Two attacks want the trace itself: EchoCoT treats it as the asset and requires near-verbatim recovery [10], and Forced-Reasoning uses it as an instrument for comparing frontier models [15]. Stolen Thoughts has the broadest goal set: once the native trace is readable, it also yields other users’ secrets and enables misuse, namely harmful content that the visible answer withheld and a channel for instructions hidden from monitors of the conversation [9].
Interface Privilege. The attacks form a ladder. REP, RECAST, and Stepwise-Querying need only the visible response, while Trace Inversion also uses the summary when one is returned, and TraceForge conditions on tool calls and their results in agentic transcripts. EchoCoT and Forced-Reasoning also need tool calling, and EchoCoT needs the reasoning-token count as feedback. Two attacks need request controls beyond prompts and tool definitions (Ctrl. in Table 1): Forced-Reasoning must force a named tool and disable native reasoning, and Stolen Thoughts must place an encrypted block in a fabricated conversation with a sibling model that accepts it.
Resources. Trace Inversion is the most demanding; it requires a surrogate reasoning model that exposes traces, a summary emulator, and a fine-tuned inverter. TraceForge is comparable: it trains a generator and a critic on traces of an open model family whose terms permit this use. RECAST trains nothing; it prompts an off-the-shelf decoder model and a second cleaner model. REP needs a shadow model to write its demonstrations. EchoCoT’s optimized variant uses an optimizer LLM and tuning questions to find an injection sequence for each target model; its manual variant uses hand-written injections. Stolen Thoughts runs no model of its own but relies on a weaker sibling of the target as a decoder; Forced-Reasoning and Stepwise-Querying need no auxiliary model, although Stepwise-Querying issues one query per solution step. The other attacks adapt at most a prompt or a tool description to the target.
Attacker Position. Seven attacks are first-party: the attacker extracts reasoning from its own queries. Only Stolen Thoughts has a third-party mode, in which the attacker decodes blocks others published in logs, such as agent trajectories [9].
Stealth. The attacks differ in how easily a provider that inspects requests could recognize them. Trace Inversion and TraceForge send ordinary task prompts only, and RECAST wraps them in role-play templates (e.g., teacher and student) that ask for intermediate steps. Stepwise-Querying asks the model to re-derive and check single steps of its own solution, which resembles ordinary tutoring use. REP’s prompt includes worked examples wrapped in code blocks. Forced-Reasoning and EchoCoT both define a tool with a free-text argument for the model to write reasoning into; Forced-Reasoning also forces the first call and disables native reasoning, while EchoCoT rejects the output as incomplete until the last call, to obtain a more complete trace. Stolen Thoughts sends adversarial instructions to a weaker sibling model; the target model receives ordinary queries, or none when published blocks are decoded.
4. Attack Mechanisms
We group the attacks by how the output trace is produced (Figure 2). The grouping matters for defense: each family depends on a different property of the model or its API.
4.1. Reconstruction: Infer the Trace from Outputs
Trace Inversion never reads the hidden trace [13]. It treats the trace as a hidden variable to be inferred from what the API shows, extending language-model inversion [34] from inputs to intermediate computation. First, the attacker queries a surrogate reasoning model that exposes its traces, compresses each trace with a prompt that imitates the victim’s summary style, and fine-tunes an inverter to map (input, answer, summary) to the full trace; a second inverter is trained without summaries for APIs that return none. Second, the inverter is applied to the victim’s outputs and produces a long trace consistent with the answer. Third, a student is fine-tuned on the synthesized traces. Because it uses only the answer and the summary, the attack is unaffected by any protection applied to the hidden trace and has no interface-level fix. The output is a surrogate: it agrees with the victim’s answer, but is not verified against the victim’s reasoning, which matters for analyzing the victim but, the authors argue, not for training a student. The surrogate may be much weaker than the victim: it only teaches the inverter, which at attack time sees the victim’s outputs.
Two later systems also drop the victim-style surrogate. TraceForge [16] trains a generator on traces of the student’s own model family to write the trace for a given context and answer, and a critic trained to tell generated from real family traces supplies adversarial feedback and selects among candidates. Applied to a teacher’s answers, it writes “family-native” traces; the author argues this avoids provider terms because no proprietary trace is read. With the answers fixed, students trained on these traces outscored students trained on the teacher’s own released traces on two coding benchmarks, by 3.7 and 7.1 points in single runs, while Trace Inversion’s traces produced a degenerate student; the victim’s true trace need not be the best training target. RECAST [17] trains nothing: an off-the-shelf decoder model writes a staged first-person rationale from the question and the victim’s answer, and a second model strips dialogue, meta-commentary, and early statements of the answer. Its trace reflects the decoder’s own reasoning, and the authors report only a one-item pipeline check, so its distillation utility is unmeasured.
4.2. Elicitation: Make the Model Reason Visibly
Elicitation attacks induce the model to reason in a channel the client can read. The simplest form is a direct request to write out the reasoning behind a response, as in the campaigns reported in the wild [11]; EchoCoT’s evaluation finds such requests ineffective for near-verbatim recovery [10].
REP prepends question-reasoning-answer demonstrations generated by a shadow model and wrapped in a code-like format that prints a reasoning file [14]. The model continues the pattern and writes reasoning into its visible answer. The authors attribute this to suppression training on conversational text, which does not carry over to code.
Forced-Reasoning registers a tool with a single free-text argument, forces the model to call it first through the API’s tool-choice control, and disables native reasoning or sets it to the lowest effort [15]. The model then uses the argument as its workspace; the tool computes nothing, and each call is answered with a fixed acknowledgment. That text replaces native CoT and may differ from it.
Stepwise-Querying first asks for a brief solution and then sends one independent query per step, asking the model to re-derive that step from the problem, check its validity and completeness, and correct the provisional answer [18]. The expanded steps are assembled into a training trace. Where REP and Forced-Reasoning divert hidden reasoning into a visible channel, Stepwise-Querying asks for new visible reasoning and aims at distillation utility, with no reference trace.
In this family the model writes the text anew for the reader, so whether it reflects the model’s computation is a faithfulness question [43,44]. The family depends on model behavior: reasoning is only loosely tied to the thinking channel, and models reason visibly when the thinking block is bypassed or switched off, even when told not to [45,46,47].
4.3. Replay: Re-emit the Existing Trace
Replay attacks recover a trace that already exists by getting a model that holds it in context to copy it out.
Block replay. Encrypted blocks keep the provider stateless, which requires that a block be accepted when the client sends it back. Green [19] observed that blocks are also accepted outside the conversation that produced them: across sessions, across accounts, and, for one provider, across models. Stolen Thoughts turns this portability into extraction [9]. The attacker places a block produced by a well-defended frontier model into a fabricated conversation with a weaker compatible model of the same provider and instructs that model to transcribe its “own” reasoning. Because blocks are portable across users, this also applies to blocks published in session logs, and a crafted block can carry hidden instructions into a victim’s session.
Tool-loop replay. EchoCoT uses the fact that the trace stays in context across tool calls within a turn [10]. It defines a scratchpad tool, asks the model to archive its reasoning there, rejects the early archives as incomplete, demanding the full thinking block, and accepts the last. Early archives are polished summaries; later ones approach the raw trace. The reasoning-token count and the summary, when available, serve as feedback signals of fidelity. The tool is the same device as in Forced-Reasoning, but native reasoning stays on, so the model copies its existing trace instead of reasoning in the tool argument.
Both attacks exploit the fact that a model conditioning on its previous reasoning can read it, so the trace is at most semi-hidden [9]. Block replay also requires that blocks be accepted outside their original context, which a provider can restrict; tool-loop replay requires only the reasoning continuity across tool calls that agents rely on.
5. Evaluation Protocols
5.1. Reference Traces and Ground Truth
Trace fidelity can be checked directly only where the true trace is available. Four studies validate on open-weight models, and the three latest report no fidelity measurement; for proprietary models, the evidence is by proxy or limited to downstream utility (Table 2). Stolen Thoughts cannot be validated on open models, because it requires a provider’s encrypted blocks. The proxies are the reported token count, agreement with the provider’s summary, task accuracy relative to native reasoning, and qualitative signatures such as secrets that appear nowhere in the visible conversation [9].
The reference also differs across studies (Table 2). Trace Inversion is scored against the benign trace c, and Stolen Thoughts decodes a stored c. EchoCoT is scored against the attack-conditioned trace produced under its tool request, and REP against both c and . Forced-Reasoning disables or minimizes native reasoning and is compared with a separately sampled . These scores answer different questions: sampling is stochastic, so two native traces of one question already differ [14,15], and evaluations should distinguish recovery of a fixed recorded trace from similarity to another valid solution.
5.2. Three Notions of Success
Trace Fidelity asks whether matches a reference trace as text. Studies report n-gram overlap or, more strictly, the fraction of the trace recovered in exact spans (Token-EM). EchoCoT combines the latter with the relative length error into an attack success rate, ASR@k, at several thresholds k [10].
Behavioral Consistency asks whether the attacked model still solves the task as it does unattacked: whether its answer is unchanged [10,14], and whether reasoning routed through the attack channel reaches the accuracy of native reasoning [15].
Functional Utility asks whether the trace is useful to the attacker regardless of its resemblance to c. It is measured by the accuracy of a student fine-tuned on versus students trained on answers, summaries, or true traces [13,14,16,18]. TraceForge and Stepwise-Querying give the first head-to-head comparisons across attacks, both against Trace Inversion, and they disagree. Trace Inversion stays within 4 points of Stepwise-Querying on mathematics and code and beats it in one of 16 settings [18]; in TraceForge’s setup it scores 3.7 and 6.6 on HumanEval+ and MBPP+, against 59.2 and 60.1 for TraceForge with the same teacher answers [16]. The outcome depends on the teacher, the task, and the training recipe. Two newer measures look at the training signal itself. An LLM judge rated TraceForge’s traces 0.68 for authenticity against 0.66 for real traces of the same family [16], and stepwise explanations raised a frozen student’s step accuracy over global ones in 25 of 32 settings [18].
6. Defenses
Table 4 maps defenses to the families of Section 4. We split replay by surface because tool-context retention and encrypted-block acceptance require different controls. The marks summarize what the cited studies show or argue.
Interface. Beyond hiding the trace, which every attack assumes, a provider can withhold the signals that guide extraction. EchoCoT evaluates removing or perturbing the reasoning-token count, which partly reduces the attack; an attacker can also estimate the count from total usage [10]. Removing the count has a cost for oversight: it is a content-free signal that rises when a model is prompted to answer untruthfully [50]. A defensive system prompt has a similar partial effect on EchoCoT, and REP is evaluated with one already in place [14]. For Forced-Reasoning, the proposed measures are to disallow the forced selection of free-form tools when native reasoning is off and to classify tool arguments for deliberative content [15].
Protocol. Panfilov et al. [9] propose binding encrypted reasoning to an authorized user and conversation context while isolating the models that accept it; server-side storage replaces portable blocks with identifiers, which still require access control. The providers mitigated the reported paths [12], but a follow-up audit found that mitigations on direct APIs did not consistently extend to third-party hosting services [20]: the hosting service is itself a trust boundary, and a model name alone does not establish present vulnerability. Conversely, an OpenAI-compatible chat-completions relay, which differs from the native APIs the attacks target, blocked Forced-Reasoning, EchoCoT, and Stolen Thoughts by exposing no reasoning fields or blocks, rejecting named tool choice, and filtering free-text tool arguments [17]. For tool-loop replay, dropping the trace between tool calls stops the attack in EchoCoT’s tests but removes the continuity that multi-step tasks rely on [10].
Model Level. Refusal or alignment training reduces elicitation in REP’s SecAlign-style experiment [14,48], and the newest models of one provider reject the Forced-Reasoning protocol, partly by refusal and partly by API errors on its required settings [15]. Such training is format-specific and has a cost: pressure on what a model writes in its trace can make it less informative to monitors [6,7], and fine-tuning on stylistically rewritten traces alone gives a model enough control over its CoT to hide side tasks from a monitor [51].
Trace Level. Anti-distillation alters a trace so that it remains correct but teaches a student poorly, by changing the sampling distribution [21] or the output layer [22], rewriting the trace [23,25], removing a few influential sentences [26], mixing the teacher with a proxy student [27], or training an adapter that perturbs the positions a proxy student imitates most [30]. These methods were designed for traces that are shown to the user; their effect on elicited or replayed hidden traces is untested, and they cannot affect reconstruction, which ignores exposed reasoning. A cheaper variant steers the teacher’s activations toward a corrupted style only for queries flagged as malicious [32]. Because it changes generation rather than the returned text, it could also reach the answers that reconstruction trains on and the native traces that replay copies, but only for flagged queries; no study has tested this coverage. Protecting the content of reasoning is a separate objective: private-reasoning training [52], PII-aware prompting and fine-tuning [53], and activation steering [54] reduce the secrets a trace contains but do not prevent its copying.
Detection. Aggregate traffic detection complements controls over individual responses, since reconstruction uses ordinary task queries. Distribution tests over query windows detect classical extraction workloads [49], and providers report account-level detection in practice [11], but their coverage of the three families is not established. An economic analysis argues that penalties deter distillation when detection is likely, and that otherwise an incumbent can respond by releasing its own distilled model [55].
Attribution. Watermarks inherited by distilled students [25,56] or embedded in the model by BiCoT [57] assume visible traces: BiCoT excludes hidden-CoT APIs [57], and teacher identification fails given only final answers [58]. Two newer detectors work through the suspect’s API: WM-Basin tests whether text a student generates aligns with a key-specific gradient signal left by watermarked teacher traces, and survives quantization, pruning, and RL post-training [31]; distillation inference calibrates a hypothesis test with shadow students trained on the teacher’s traces or on answers only [29]. Both assume that the student trained on traces the teacher emitted, and none is tested against extraction (RQ3).
Summary. Every row of Table 4 leaves at least one family uncovered, no evaluated defense addresses reconstruction, and no study tests one defense against all three families.
7. Open Problems and Future Directions
RQ1: How Can Fidelity Be Verified on Closed Models? Claims about proprietary models rest on proxies. A cooperative evaluation could commit to a trace before the attack and privately score submitted candidates, with query limits, since feedback can guide extraction. Short of that, the field needs a shared open-model benchmark, as exists for classical extraction [59], that fixes the victim model version, the service that hosts it, reasoning effort, task set, and query budget; states which reference trace is targeted; and reports refusals and parse failures over all attempted inputs. The surveyed papers report different subsets of these, and whether fidelity on open models predicts fidelity on closed ones is untested.
RQ2: How Much Is a Verbatim Trace Worth? Distillation utility is measured for Trace Inversion, TraceForge, REP, and Stepwise-Querying only; neither replay study fine-tunes a student. A matched study would train one student, under one budget, on answer-only data, summaries, the attacker’s own model traces, and reconstructed, elicited, and replayed traces of the same victim, against an undistilled baseline. It would establish how utility varies with fidelity, and whether providers should protect the trace or limit what answers alone reveal. Three findings caution against assuming that fidelity pays: a synthesized family-style trace outscored the teacher’s own trace with the answers fixed [16]; when distillation is followed by reinforcement learning, simple attacks on the data current APIs return match attacks that recover full traces [28]; and the compressed traces of a highly capable model are reused less effectively by weaker models [15]; whether an inverter can undo this by expanding them is open.
RQ3: Can Attribution Survive Extraction? Where prevention fails, a provider may still prove that a student learned from its model, but each family breaks a different assumption of current watermarks. Replay copies the native trace, so a mark sampled into c [56] may survive, whereas a mark added by rewriting the returned trace [25] never enters it. Elicited text is generated anew and carries a mark only if every output channel, tool arguments included, is marked. Reconstruction never sees the trace, so only marks in the answers and summaries it trains on can reach the student; answer-level marks exist [60], but their transfer through distillation is untested, and a generator that rewrites traces in the student’s style [16] may erase the token statistics that current detectors rely on, and no one has tested whether WM-Basin’s parameter-space signal survives it [31]. Detection also changes hands: reference-based teacher identification and distillation inference need the teacher’s full traces [29,58], which the provider holds but a third party does not.
RQ4: How Does Extraction Scale to Collaborative Agent Systems? Multi-agent and multi-user deployments multiply tool calls, lengthen traces, and encourage sharing session logs. Extraction there extends beyond reasoning text to procedural capability [61], orchestration harnesses [62], and private skills visible in tool-call logs [63]. No study yet measures how extraction and its defenses affect long-horizon tasks, shared memory, or isolation between users.
RQ5: Which Defenses Hold in Deployment? Most defense evidence comes from one attack with fixed prompts; attackers that re-optimize prompts, combine families, or continue training after distillation, as studied for anti-distillation [27], are untested. The one complete fix for tool-loop replay removes continuity, so ephemeral reasoning [10], server-side state [9], and information-flow controls over all channels and metadata [15,19] need evaluation. Encrypted reasoning also hides injected instructions from users and monitors [9], while open traces aid oversight [6] but invite distillation; a joint evaluation should weigh extraction success against privacy, utility, and how monitorable traces remain.
8. Conclusions
Hidden reasoning of large reasoning models can be reconstructed from visible outputs, elicited into a visible channel, or replayed from model context. Each route depends on a different property of the model or its API. No evaluated defense covers all three, and none stops reconstruction. Measurement is the main gap: fidelity on proprietary models rests on proxies, and no matched study shows what verbatim traces add over approximate ones. Collaborative agent systems, which share reasoning state and session logs, are the most pressing open setting.
Limitations. The surveyed literature is small and recent, and most of it has not been peer reviewed. We report results as the papers state them and reran no attack. Several attacks were disclosed to providers, so current APIs may block them. References
References
- Wei, J.; Wang, X.; Schuurmans, D.; Bosma, M.; Ichter, B.; Xia, F.; Chi, E.; Le, Q.V.; Zhou, D. Chain-of-Thought Prompting Elicits Reasoning in Large Language Models. In Proceedings of the Proc. NeurIPS, 2022.
- DeepSeek-AI. DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning. arXiv:2501.12948 2025. [CrossRef]
- Hsieh, C.Y.; Li, C.L.; Yeh, C.K.; Nakhost, H.; Fujii, Y.; Ratner, A.; Krishna, R.; Lee, C.Y.; Pfister, T. Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizes. In Proceedings of the Proc. ACL, 2023.
- Guha, E.; Marten, R.; Keh, S.; Raoof, N.; Smyrnis, G.; Bansal, H.; Nezhurina, M.; Mercat, J.; Vu, T.; Sprague, Z.; et al. OpenThoughts: Data Recipes for Reasoning Models. arXiv:2506.04178 2025.
- Green, T.; Gubri, M.; Puerto, H.; Yun, S.; Oh, S.J. Leaky Thoughts: Large Reasoning Models Are Not Private Thinkers. In Proceedings of the Proc. EMNLP, 2025.
- Korbak, T.; Balesni, M.; Barnes, E.; Bengio, Y.; Benton, J.; Bloom, J.; Chen, M.; Cooney, A.; Dafoe, A.; Dragan, A.; et al. Chain of Thought Monitorability: A New and Fragile Opportunity for AI Safety. arXiv:2507.11473 2025. [CrossRef]
- Baker, B.; Huizinga, J.; Gao, L.; Dou, Z.; Guan, M.Y.; Madry, A.; Zaremba, W.; Pachocki, J.; Farhi, D. Monitoring Reasoning Models for Misbehavior and the Risks of Promoting Obfuscation. arXiv:2503.11926 2025.
- Anthropic. Building with Extended Thinking. Claude Platform documentation, 2026. https://platform.claude.com/docs/en/build-with-claude/thinking.
- Panfilov, A.; Schmotz, D.; Shumailov, I.; Beurer-Kellner, L.; Schaeffer, J.; Prabhu, A.; Geiping, J.; Andriushchenko, M. Stealing Reasoning Traces from Proprietary LLM APIs. arXiv:2608.09867 2026. [CrossRef]
- Qu, Y.; Yang, Z.; Cui, C.; Leng, Y.; Chu, J.; Zhang, Y. EchoCoT: Extracting Hidden Chain-of-Thought from Large Reasoning Models. arXiv:2608.20055 2026.
- Anthropic. Detecting and Preventing Distillation Attacks, 2026. https://www.anthropic.com/news/detecting-and-preventing-distillation-attacks.
- OpenAI. Disrupting a Coordinated Model-Distillation Campaign, 2026. https://openai.com/index/disrupting-a-coordinated-model-distillation-campaign/.
- Zhang, T.; Morris, J.X.; Shmatikov, V. How to Steal Reasoning Without Reasoning Traces. arXiv:2603.07267 2026. [CrossRef]
- Lu, Y.A.; Tsai, C.Y.; Tsai, Y.L.; Popa, R.A.; Yu, C.M. Hidden Thoughts Are Not Secret: Reasoning Trace Exposure in LLMs. In Proceedings of the Proc. EMNLP, 2026. arXiv:2606.00642.
- Luo, X.; Ren, T.; Yu, W.; Li, X.; Li, Q.; Bjerva, J. Capable yet Parsimonious: Extracting and Characterizing Hidden Chain-of-Thought in Frontier Models. arXiv:2609.26637 2026.
- Wang, Y. TraceForge: Distilling with Your Own Thinking. arXiv:2610.29680 2026. [CrossRef]
- Wang, Q.; Xu, K.; Wan, C.; Wang, J. RECAST: REconstruction of Chain-of-Thought via Auditable Structured Traces. arXiv:2610.41813 2026.
- Yu, D.; Wang, W.; Wang, T. Stepwise-Querying: Distilling Reasoning without Access to Teacher Chain-of-Thought. arXiv:2610.41769 2026. [CrossRef]
- Green, M. Let’s Talk About Encrypted Reasoning. A Few Thoughts on Cryptographic Engineering (blog), 2026. https://blog.cryptographyengineering.com/2026/05/29/fooling-around-with-encrypted-reasoning-blobs/.
- Schaeffer, J.; Panfilov, A.; Schmotz, D.; Shumailov, I.; Beurer-Kellner, L.; Prabhu, A.; Geiping, J.; Andriushchenko, M. Adversaries Can Still Steal Reasoning from American Frontier Models via Third-Party Cloud Aggregators. Technical report, Stolen Thoughts project, 2026. https://stolen-thoughts.com/stolen_thoughts_update.pdf.
- Savani, Y.; Trockman, A.; Feng, Z.; Xu, Y.E.; Schwarzschild, A.; Robey, A.; Finzi, M.; Kolter, J.Z. Antidistillation Sampling. arXiv:2504.13146 2025.
- Li, P.; Tan, Z.; Zhang, M.; Qu, H.; Liu, H.; Chen, T. DOGe: Defensive Output Generation for LLM Protection Against Knowledge Distillation. arXiv:2505.19504 2025. [CrossRef]
- Ding, J.; Cui, L.; Dong, L.; Zheng, N.; Wei, F. Information-Preserving Reformulation of Reasoning Traces for Antidistillation. arXiv:2510.11545 2025.
- Jiang, B. DistillGuard: Evaluating Defenses Against LLM Knowledge Distillation. arXiv:2603.07835 2026.
- Ma, X.; Yeoh, W.; Zhang, N.; Vorobeychik, Y. Protecting Language Models Against Unauthorized Distillation through Trace Rewriting. In Proceedings of the Proc. ACL, 2026.
- Hartman, M.; Jayaraman, V.; Choraria, M.; Savani, Y.; Varshney, L.R. Hiding in Plain Sight: Detectability-Aware Antidistillation of Reasoning Models. arXiv:2604.23238 2026. [CrossRef]
- Allouah, Y.; Haghifam, M.; Koyejo, S.; Shokri, R. The Distillation Game: Adaptive Evaluations & Efficient Defenses. arXiv:2605.22737 2026.
- Javaheri, S.; Panfilov, A.; Britton, O.; Gal, Y.; Gideoni, Y. Distillation Defenses Easily Break After Reinforcement Learning. arXiv:2609.35699 2026.
- Chen, E.; Du, Y. Poster: A Preliminary Study of LLM Distillation Inference. arXiv:2610.12137 2026. [CrossRef]
- Dao, Q.P.; Nguyen, B.A.; Van, L.N.; Do, T.T.; Harandi, M.; Le, T. Conflict-Aware Logit Adapters for Utility-Preserving Anti-Distillation. arXiv:2610.31046 2026.
- Chang, H.; Elsahar, H.; Sander, T.; Fernandez, P.; Mahloujifar, S.; Rebuffi, S.A.; Souček, T.; Tran, T.; Lacatusu, V.; Parimi, S.; et al. Watermark Basins: Black-Box Detection of Distilled LLMs. arXiv:2610.37266 2026.
- Ngo, A.T.; Chattopadhyay, A. Antidistillation is Cheap: Lightweight Distillation-Resistance via Stylistic Corruption. arXiv:2611.17772 2026. [CrossRef]
- Tramèr, F.; Zhang, F.; Juels, A.; Reiter, M.K.; Ristenpart, T. Stealing Machine Learning Models via Prediction APIs. In Proceedings of the Proc. USENIX Security, 2016.
- Morris, J.X.; Zhao, W.; Chiu, J.T.; Shmatikov, V.; Rush, A.M. Language Model Inversion. In Proceedings of the Proc. ICLR, 2024.
- Zhang, Y.; Carlini, N.; Ippolito, D. Effective Prompt Extraction from Language Models. In Proceedings of the Proc. COLM, 2024.
- Hui, B.; Yuan, H.; Gong, N.; Burlina, P.; Cao, Y. PLeak: Prompt Leaking Attacks against Large Language Model Applications. In Proceedings of the Proc. ACM CCS, 2024.
- Carlini, N.; Tramèr, F.; Wallace, E.; Jagielski, M.; Herbert-Voss, A.; Lee, K.; Roberts, A.; Brown, T.; Song, D.; Erlingsson, Ú.; et al. Extracting Training Data from Large Language Models. In Proceedings of the Proc. USENIX Security, 2021.
- Weiss, R.; Ayzenshteyn, D.; Amit, G.; Mirsky, Y. What Was Your Prompt? A Remote Keylogging Attack on AI Assistants. In Proceedings of the Proc. USENIX Security, 2024.
- Carlini, N.; Nasr, M. Remote Timing Attacks on Efficient Language Model Inference. arXiv:2410.17175 2024. [CrossRef]
- Wu, T.; Xiang, C.; Wang, J.T.; Yu, W.; Sitawarin, C.; Sehwag, V.; Mittal, P. Does More Inference-Time Compute Really Help Robustness? arXiv:2507.15974 2025.
- Kumar, A.; Roh, J.; Naseh, A.; Karpinska, M.; Iyyer, M.; Houmansadr, A.; Bagdasarian, E. OverThink: Slowdown Attacks on Reasoning LLMs. arXiv:2502.02542 2025. [CrossRef]
- Khalil, A.; Kassem, A.M.; Abdelrazek, M.; Rana, S.; Rostamzadeh, N.; Farnadi, G. Hidden in Thought: Transferable Chain-of-Thought Artifacts Induce Harmful Behavior. arXiv:2607.15286 2026.
- Lanham, T.; Chen, A.; Radhakrishnan, A.; Steiner, B.; Denison, C.; Hernandez, D.; Li, D.; Durmus, E.; Hubinger, E.; Kernion, J.; et al. Measuring Faithfulness in Chain-of-Thought Reasoning. arXiv:2307.13702 2023.
- Chen, Y.; Benton, J.; Radhakrishnan, A.; Uesato, J.; Denison, C.; Schulman, J.; Somani, A.; Hase, P.; Wagner, M.; Roger, F.; et al. Reasoning Models Don’t Always Say What They Think. arXiv:2505.05410 2025. [CrossRef]
- Ma, W.; He, J.; Snell, C.; Griggs, T.; Min, S.; Zaharia, M. Reasoning Models Can Be Effective Without Thinking. arXiv:2504.09858 2025.
- Wang, S.; Yang, W.; Long, X.; Wang, Q.; Chaudhary, V.; Han, X. Demystifying Hybrid Thinking: Can LLMs Truly Switch Between Think and No-Think? arXiv:2510.12680 2025. [CrossRef]
- Lei, D.; Lin, K.Q.; Lu, P.; Torr, P.; Zou, J. Thinking Inertia: LLMs Keep Thinking When Told Not To. In Proceedings of the Proc. NeurIPS, 2026. arXiv:2610.11765.
- Chen, S.; Zharmagambetov, A.; Mahloujifar, S.; Chaudhuri, K.; Wagner, D.; Guo, C. SecAlign: Defending Against Prompt Injection with Preference Optimization. In Proceedings of the Proc. ACM CCS, 2025.
- Liu, S.; Guo, Q.; Dong, Y. An Embarrassingly Simple Detector for Model Extraction Attacks in Large Language Model API Traffic. arXiv:2606.05725 2026. [CrossRef]
- Morales, M.; Dominik, T.; Gao, V.; Shirey, K.; Rimkevičius, P.; Schurger, A.; Maoz, U. Reasoning-Token Spikes Under Prompted Untruthful Responses in Large Language Models. arXiv:2610.10405 2026.
- Yong, Z.X.; Arnav, B.; Wang, M.; Korbak, T.; Watkins, O. Chain-of-Thought Controllability Can Reduce Chain-of-Thought Monitorability. arXiv:2611.21799 2026.
- Puerto, H.; Li, H.; Han, X.; Baldwin, T.; Gurevych, I. From Leaky Thoughts to Private Reasoning: Controlling What LRMs Say to Themselves. In Proceedings of the Proc. EMNLP, 2026. arXiv:2602.24210. [CrossRef]
- Das, A.; Chintha, S.S.; Girmal, R.; Pandey, K.; Endait, S. Chain-of-Sanitized-Thoughts: Plugging PII Leakage in CoT of Large Reasoning Models. arXiv:2601.05076 2026.
- Batra, S.; Tillman, P.; Gaggar, S.; Kesineni, S.; Zhu, K.; Dev, S.; Panda, A.; Sharma, V.; Chaudhary, M. SALT: Steering Activations towards Leakage-free Thinking in Chain of Thought. arXiv:2511.07772 2025.
- Sen, D.; Wu, J.; Ziani, J. What Can Firms Do in the Face of Model Distillation? arXiv:2610.38088 2026. [CrossRef]
- Sander, T.; Chang, H.; Souček, T.; Tran, T.; Lacatusu, V.; Rebuffi, S.A.; Mourachko, A.; Parimi, S.; Ropers, C.; Moritz, R.; et al. TextSeal: A Localized LLM Watermark for Provenance & Distillation Protection. arXiv:2605.12456 2026.
- Lu, J.; Li, Y.; Song, T.; Wang, W.; Qu, W.; Guan, H.; Zhang, J. Echoes within the Reasoning: Stealthy and Effective Watermarking via Chain of Thought. In Proceedings of the Proc. ICML, 2026.
- Rawat, R.; Chen, S.; Anand, A.; Duan, M.; Rotsted, B.; Min, S. Reference-Based Distillation Detection in LLMs. arXiv:2607.09692 2026. [CrossRef]
- Liu, S.; Zhao, K.; Xu, R.; Chen, J.; Wu, N.; Wang, Y.; Dong, Y. Do Defenses Against LLM Extraction Work Across Attacks? A Lifecycle Benchmark of Black-Box Model Extraction. arXiv:2610.00839 2026.
- Liu, S.; Li, X.; Liu, H.; Fang, D.; Yan, Y.; Duan, B.; Zheng, Q.; Su, L.; Hu, X. Distilling the Thought, Watermarking the Answer: A Principle Semantic Guided Watermark for Large Reasoning Models. In Proceedings of the Proc. ICLR, 2026.
- Lyu, X.; Wu, Y.; Han, Y.; Liu, S.; Zhang, L.; Wang, B.; Wang, B.; Ma, X.; Wang, W. AgentLeak: Cloning Stronger LLM Agent Capabilities onto Weaker Agents Beyond Skill Stealing. arXiv:2609.07131 2026.
- Cui, Y.; Yang, W.; Shi, Y.; Xia, J.; Jiang, H.; Gao, L.; Bao, C. Agent Harness Distillation: Inference-Time Harness Extraction and Exploitation in Autonomous Multi-Agent Systems. arXiv:2607.28147 2026. [CrossRef]
- Xu, S.; He, Z.; Fung, Y.R. RedAct: Redacting Agent Capability Traces for Procedural Skill Protection. arXiv:2606.10813 2026. [CrossRef]
Table 1.
Threat models of CoT extraction attacks. Fam.: attack family (reconstruction, elicitation, or replay).
Table 1.
Threat models of CoT extraction attacks. Fam.: attack family (reconstruction, elicitation, or replay).
| Goal | Victim API surface | Attacker resources | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Attack | Fam. | Distill. | Trace | Secrets | Misuse | y | s | ℓ | a | e | Ctrl. | Aux. model |
Train- ing |
Target tuning |
Sibling model |
Third party |
Benign queries |
Recovered trace |
| Trace Inversion [13] | Rec. | ✓ | ● | ◐ | ○ | ○ | ○ | ○ | ● | ● | ◐ | ○ | ✗ | ✓ | synthetic | |||
| TraceForge [16] | Rec. | ✓ | ● | ○ | ○ | ◐ | ○ | ○ | ● | ● | ○ | ○ | ✗ | ✓ | synthetic | |||
| RECAST [17] | Rec. | ✓ | ● | ○ | ○ | ○ | ○ | ○ | ● | ○ | ○ | ○ | ✗ | ✓ | synthetic | |||
| REP [14] | Eli. | ✓ | ● | ○ | ○ | ○ | ○ | ○ | ◐ | ○ | ○ | ○ | ✗ | ✗ | re-verbalized | |||
| Stepwise-Querying [18] | Eli. | ✓ | ● | ○ | ○ | ○ | ○ | ○ | ○ | ○ | ○ | ○ | ✗ | ✓ | re-verbalized | |||
| Forced-Reasoning [15] | Eli. | ✓ | ○ | ○ | ○ | ● | ○ | ● | ○ | ○ | ◐ | ○ | ✗ | ✗ | tool workspace | |||
| EchoCoT [10] | Rep. | ✓ | ○ | ◐ | ● | ● | ○ | ○ | ◐ | ○ | ● | ○ | ✗ | ✗ | native | |||
| Stolen Thoughts [9] | Rep. | ✓ | ✓ | ✓ | ○ | ○ | ○ | ○ | ● | ● | ○ | ○ | ◐ | ● | ✓ | ✓† | native c | |
| ● required; ◐ optional or light; ○ not needed. Ctrl.: request controls beyond prompts and tools. † Adversarial prompts go to the sibling model only. | ||||||||||||||||||
Table 2.
Evaluation protocols. Ref.: reference trace; GT: ground truth; Prop.: proprietary models; Def.: defenses.
Table 2.
Evaluation protocols. Ref.: reference trace; GT: ground truth; Prop.: proprietary models; Def.: defenses.
| Attack | Ref. | GT | Prop. | Utility test | Def. |
|---|---|---|---|---|---|
| Trace Inversion [13] | c | ✓ | ✓† | Fine-tuning | – |
| TraceForge [16] | – | – | ✓† | Fine-tuning | – |
| RECAST [17] | – | – | ✓‡ | – | – |
| REP [14] | c, | ✓ | ✓‡ | Fine-tuning | ✓ |
| Stepwise-Querying [18] | – | – | ✗ | Fine-tuning | – |
| Forced-Reasoning [15] | ✓ | ✓ | In-context | – | |
| EchoCoT [10] | ✓ | ✓ | – | ✓ | |
| Stolen Thoughts [9] | stored c | – | ✓ | – | – |
| †Downstream utility only. ‡Qualitative, one-item pipeline check. | |||||
Table 3.
Evaluation metrics. GT: needs true traces.
| Metric | What it shows | GT | Used in |
|---|---|---|---|
| Trace fidelity | |||
| BLEU, ROUGE, token-F1 | Lexical overlap with the true trace | ✓ | [10,13,14,15] |
| Token-EM, ASR@k | Near-verbatim recovery | ✓ | [10] |
| Step-type and tree structure | Same kinds of reasoning steps in similar proportion | ✓ | [15] |
| Length error or ratio | Completeness, against or reported ℓ | – | [9,10,13] |
| Summary recall, entailment | Agreement with the provider’s summary | – | [10] |
| Behavioral consistency | |||
| Parse or tool-call rate | Attack yields well-formed output | – | [10,14] |
| Answer match | Answer unchanged | – | [10,14] |
| Accuracy recovery | Extracted reasoning does the work of native reasoning | – | [15] |
| Functional utility and impact | |||
| Student accuracy | Value as fine-tuning data | – | [13,14,16,18] |
| Judged authenticity | Looks like the student family’s traces | – | [16] |
| Step information gain | Helps a frozen student complete a step | – | [18] |
| In-context reuse | Value as context for another model | – | [15] |
| Leaked-artifact counts | Secrets and PII recovered | – | [9] |
Table 4.
Defenses by attack family: reconstruction (Rec.), elicitation (Eli.), tool-loop replay (Tool), block replay (Block).
Table 4.
Defenses by attack family: reconstruction (Rec.), elicitation (Eli.), tool-loop replay (Tool), block replay (Block).
| Replay | ||||
|---|---|---|---|---|
| Defense | Rec. | Eli. | Tool | Block |
| Hide or summarize the trace | ✗ | ✗ | ✗ | ✗ |
| Perturb the trace (anti-distillation) [21,22,23,25,26,27,30] | ✗ | ? | ? | ? |
| Steer generation for flagged queries [32] | ? | ? | ? | ? |
| Remove or perturb token counts [10] | – | – | ∼ | – |
| Defensive system prompt [10,14] | – | ✗ | ∼ | ? |
| Refusal or alignment training [14,15,20,48] | – | ∼ | ? | ∼ |
| Restrict forced or free-form tools [15] | – | ∼ | ? | – |
| Bind blocks to context; isolate models; keep state server-side [9] | – | – | – | ? |
| Drop reasoning between tool calls [10] | – | – | ✓ | – |
| Traffic-level detection [11,49] | ? | ? | ? | ? |
| ✓ stops; ∼ reduces; ✗ no help; ? untested; – not applicable. | ||||
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.