Back to list
Industry NewsAI SecurityLarge Language ModelsCybersecurity Research

Security Vulnerability Exposed: Researchers Extract Hidden Reasoning Traces from Proprietary LLM APIs

A significant security vulnerability has been identified in proprietary Large Language Model (LLM) APIs, allowing for the extraction of hidden reasoning traces. Researchers discovered that model providers return reasoning as encrypted blocks to clients, which are intended to be portable for conversation continuity. However, by replaying these blocks within weaker, jailbroken models from the same provider, the raw reasoning of stronger models—such as Claude Opus—can be extracted verbatim. This technique, demonstrated across OpenAI, Anthropic, and Google models, has led to the leakage of technical identifiers, personally identifiable information (PII), and credentials. The study analyzed 120 Codeforces problems, showing a direct correlation between reported hidden thinking tokens and the decoded reasoning length.

Hacker News

Key Takeaways

  • Researchers have discovered a method to steal hidden reasoning traces from proprietary LLM APIs by replaying encrypted blocks in jailbroken models.
  • The vulnerability affects major frontier models from providers including OpenAI, Anthropic, and Google.
  • Extracted data includes sensitive information such as technical identifiers, PII, and credentials.
  • The decoded reasoning length closely matches the hidden thinking-token counts reported by the APIs.

In-Depth Analysis

The Mechanism of Reasoning Extraction

The vulnerability stems from how model providers handle a model's internal reasoning process. When a user interacts with an LLM, the reasoning trace is returned to the client as an encrypted block. This block is designed to be portable, meaning it is sent back to the server to maintain context as the conversation progresses. Researchers found that these blocks can be replayed outside their original context. By injecting an encrypted reasoning block from a high-performance model (like Claude Opus) into a weaker, jailbroken model from the same provider (like Claude Haiku), the raw reasoning can be transcribed verbatim.

Data Leakage and Model Correlation

The study demonstrated the effectiveness of this attack across 120 Codeforces problems. By comparing the number of hidden thinking tokens reported by the API against the token count of the decoded reasoning, researchers confirmed a near-perfect match. Beyond mathematical logic, the extraction process revealed a significant amount of sensitive data. Out of the collected items, the researchers identified 351 distinct leaked items, including 204 technical identifiers, 126 instances of PII, and 23 sets of credentials.

Industry Impact

This discovery poses a major challenge for AI safety and intellectual property protection. The ability to extract "hidden" reasoning undermines the competitive advantage of proprietary models and exposes internal logic that providers intended to keep private. Furthermore, the leakage of PII and credentials through reasoning traces highlights a critical privacy risk in how encrypted state data is managed and validated across different model tiers within the same ecosystem.

Frequently Asked Questions

Question: How are the reasoning traces extracted from the API?

Reasoning traces are extracted by taking the encrypted reasoning block returned by a high-end model and replaying it as an injection into a weaker, jailbroken model from the same provider, which then transcribes the hidden text.

Question: Which AI providers are affected by this vulnerability?

Researchers successfully demonstrated this extraction technique across frontier models from OpenAI, Anthropic, and Google.

Question: What kind of sensitive information was leaked during the research?

The research identified several categories of leaked data, most notably technical identifiers, personally identifiable information (PII), and credentials.

Related News

Huawei Reports 36% Profit Decline in First Half as R&D Investment in AI and Smart Devices Surges
Industry News

Huawei Reports 36% Profit Decline in First Half as R&D Investment in AI and Smart Devices Surges

Huawei's financial results for the first half of the year reveal a significant 36% drop in profit, primarily driven by escalating costs and a substantial increase in research and development (R&D) expenditure. The company's R&D spending has reached 25.9% of its total revenue, reflecting a strategic pivot toward advanced technologies. This intensive investment is specifically targeted at the artificial intelligence (AI) sector and the development of smart devices. While the profit margin has narrowed due to these rising operational costs, the financial data underscores Huawei's commitment to long-term technological leadership through heavy capital allocation in emerging high-tech markets. The report highlights a clear trade-off between immediate profitability and the aggressive pursuit of innovation in the AI and hardware ecosystems.

Pentagon Expands AI Capabilities by Integrating Custom Versions of OpenAI's ChatGPT and SpaceXAI's Grok
Industry News

Pentagon Expands AI Capabilities by Integrating Custom Versions of OpenAI's ChatGPT and SpaceXAI's Grok

The U.S. Department of Defense has significantly broadened its artificial intelligence toolkit by integrating specialized versions of OpenAI's ChatGPT and SpaceXAI's Grok into its central AI portal. These high-profile generative AI models join Google's Gemini, which was already accessible through the Pentagon's centralized platform. This strategic move highlights the military's increasing reliance on private-sector innovation to enhance its technological infrastructure. By hosting these diverse models on a single portal, the Pentagon aims to provide its personnel with a variety of advanced natural language processing tools, facilitating a multi-model approach to defense-related AI applications. The integration marks a notable collaboration between the Department of Defense and leading AI developers, signaling a new phase in the deployment of commercial AI technologies within government frameworks.

Instagram Implements New Reach Restrictions on Undisclosed AI Influencer Profiles to Address User Frustration
Industry News

Instagram Implements New Reach Restrictions on Undisclosed AI Influencer Profiles to Address User Frustration

In a significant move to bolster platform transparency, Instagram has begun limiting the reach of AI-generated profiles that fail to disclose their synthetic nature. This policy shift is a direct response to the mounting frustration among users regarding the presence of undisclosed AI influencers. By restricting the visibility of these accounts, Instagram aims to ensure that the distinction between human creators and artificial entities remains clear. The decision highlights a growing trend in social media management where algorithmic visibility is used as a tool to enforce disclosure standards. As AI technology becomes more integrated into content creation, Instagram's latest measures represent a proactive step in managing the impact of synthetic media on user engagement and trust.