Researchers Uncover Method to Steal AI Model Reasoning Traces
A novel vulnerability in proprietary LLM APIs allows attackers to extract sensitive reasoning traces by exploiting the interchangeability of encrypted data blocks across different models.

Researchers have identified a significant architectural flaw in how leading large language model (LLM) providers protect their proprietary models' internal reasoning processes. These providers typically encrypt step-by-step reasoning, known as chain-of-thought, and return it to the client as encrypted text blocks. These blocks are then expected to be passed back with subsequent requests to maintain model secrecy and prevent intellectual property theft.
The core of the vulnerability lies in the fact that these encrypted reasoning blocks are not unique to a specific session, user, or even model within a provider's ecosystem. They are fully compatible and interchangeable. This interchangeability allows attackers to take an encrypted reasoning trace generated by a powerful, proprietary model and feed it into a weaker, less safeguarded model from the same provider. The weaker model, unable to properly process the encrypted data, will often reveal the trace in plaintext, effectively bypassing the need to directly compromise the more capable model.
This exploit opens up several dangerous attack vectors. Firstly, it circumvents anti-distillation mechanisms designed to prevent unauthorized copying of model logic. Researchers have successfully demonstrated this across major LLM providers including Anthropic, OpenAI, and Google, proving the widespread applicability of the vulnerability. This allows adversaries to steal valuable proprietary AI reasoning, potentially replicating or undermining the work of legitimate developers.
Beyond intellectual property theft, the vulnerability poses a severe risk to data privacy. Developers often share session logs publicly, sometimes unaware that these logs contain encrypted reasoning blocks. By decoding a large corpus of these blocks scraped from public repositories, researchers uncovered a significant number of Personally Identifiable Information (PII) artifacts and credentials. This means sensitive data could be inadvertently exposed through seemingly innocuous shared logs.
Furthermore, the attack can reveal hazardous information that might be hidden within an LLM's internal thought process, even if the model's final, visible output safely rejects a malicious request. This means that while a model might refuse to provide harmful instructions directly, its underlying reasoning could still expose dangerous knowledge or methods, which attackers could then extract and weaponize.
Lastly, the flaw enables invisible prompt injections. Attackers can embed malicious payloads entirely within these encrypted blocks. When these blocks are processed by other models or agents, the malicious instructions are executed without any visible indication in the prompt itself, potentially poisoning public agentic rollouts or leading to unexpected and harmful behavior in AI systems.
Following responsible disclosure to the affected providers, the researchers have proposed concrete cryptographic and system-level mitigations. These recommendations aim to secure client-side reasoning by ensuring better encryption practices, unique block identifiers, and stricter validation of data interchangeability across models and sessions. Addressing this vulnerability is crucial for maintaining the integrity and security of proprietary AI models and the sensitive data they handle.