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

Semantica: Building Graph-Native Infrastructure for Context-Aware and Traceable AI Systems
Industry News

Semantica: Building Graph-Native Infrastructure for Context-Aware and Traceable AI Systems

Semantica, a new project from semantica-agi, introduces a graph-native infrastructure specifically designed to address the critical needs of context-awareness and traceability in artificial intelligence. By moving away from traditional data structures and embracing a graph-based foundation, Semantica aims to provide AI systems with a more nuanced understanding of complex relationships and a transparent audit trail for decision-making. This development represents a significant step toward creating more explainable and contextually grounded AI models, offering a robust framework for developers who prioritize transparency and relational data integrity in their AI applications.

AI Milestone: Google Gemini and OpenAI ChatGPT Surpass One Billion Monthly Active Users
Industry News

AI Milestone: Google Gemini and OpenAI ChatGPT Surpass One Billion Monthly Active Users

Google's AI platform, Gemini, has officially reached the one-billion-user milestone, joining an elite group of Google products. CEO Sundar Pichai announced the achievement on X, noting that Gemini is now the fastest-growing product in the company's history. While a significant feat for Google, Gemini follows OpenAI's ChatGPT in reaching this massive scale. This milestone marks a turning point in the mainstream adoption of generative AI, as two of the world's leading platforms now command audiences comparable to established digital services. The rapid growth of these tools highlights the accelerating pace of AI integration into daily life and the competitive landscape between tech giants.

OpenAI Special Projects Lead Brad Lightcap Announces Departure After Eight-Year Tenure to Pursue New Venture
Industry News

OpenAI Special Projects Lead Brad Lightcap Announces Departure After Eight-Year Tenure to Pursue New Venture

Brad Lightcap, a prominent executive at OpenAI, has officially announced his departure from the artificial intelligence research lab after an eight-year tenure. Having previously served as the company's Chief Operating Officer (COO) before transitioning to his most recent role as the special projects lead, Lightcap's exit marks the conclusion of a significant chapter in his career. In an internal memo later shared on the social media platform X, Lightcap informed his colleagues that he has spent the past several months contemplating the "next horizon" and intends to start "something new." This leadership transition comes as Lightcap moves on from his long-standing position at the forefront of the AI industry to explore independent opportunities.