paper-with-me

홈 › Papers

Stealing Reasoning Traces from Proprietary LLM APIs

2026-08-10 · Alexander Panfilov, David Schmotz, Ilia Shumailov, Luca Beurer-Kellner, Joachim Schaeffer, Ameya Prabhu, Jonas Geiping, Maksym Andriushchenko hf

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.

📄 PDF Abstract BibTeX arXiv:2608.09867

Code (3)

MING-ZCH/open-thinking-replay ★ 8
Ytang520/prompt_injection_research_daily_arxiv ★ 1
heavyblock/hack-claude-cot ★ 2

Similar Papers 제목 키워드 기반

SELFDOUBT: Uncertainty Quantification for Reasoning LLMs via the Hedge-to-Verify Ratio

2026-04-07 · Satwik Pandey, Suresh Raghu, Shashwat Pandey arxiv

Uncertainty estimation for reasoning language models remains difficult to deploy in practice: sampling-based methods are computationally expensive, while common single-pass proxies such as verbalized confidence or trace …

Can't Hide Behind the API: Stealing Black-Box Commercial Embedding Models

2024-06-13 · Manveer Singh Tamber, Jasper Xian, Jimmy Lin

Embedding models that generate dense vector representations of text are widely used and hold significant commercial value. Companies such as OpenAI and Cohere offer proprietary embedding models via paid APIs, but despite…

Retrieval

CoIn: Counting the Invisible Reasoning Tokens in Commercial Opaque LLM APIs

2025-05-19 · Guoheng Sun, Ziyao Wang, Bowei Tian, Meng Liu 외

As post-training techniques evolve, large language models (LLMs) are increasingly augmented with structured multi-step reasoning abilities, often optimized through reinforcement learning. These reasoning-enhanced models …

Prediction Poisoning: Towards Defenses Against DNN Model Stealing Attacks

2019-06-26 · ICLR 2020 1 · Tribhuvanesh Orekondy, Bernt Schiele, Mario Fritz

High-performance Deep Neural Networks (DNNs) are increasingly deployed in many real-world applications e.g., cloud prediction APIs. Recent advances in model functionality stealing attacks via black-box access (i.e., inpu…

Autonomous VehiclesPrediction

Data-free Defense of Black Box Models Against Adversarial Attacks

2022-11-03 · Gaurav Kumar Nayak, Inder Khatri, Ruchit Rawal, Anirban Chakraborty

Several companies often safeguard their trained deep models (i.e., details of architecture, learnt weights, training details etc.) from third-party users by exposing them only as black boxes through APIs. Moreover, they …

Adversarial Robustness