AIDEFEND in Action AIA-0116 Validated Research Published: Oct 26, 2026

Compaction Smuggling: Hidden Reasoning Survives a Change of Carrier

Xint tested OpenAI's conversation-compaction API, which compresses earlier work for later model calls. A client-steered compaction carried protected reasoning from gpt-5.6-sol into an encrypted item accepted by gpt-4.1 and gpt-4o, which echoed readable content. This was controlled API research using the researchers' own puzzles, not a demonstrated theft of another user's conversations. Xint reports an undisclosed fix on October 23, 2026.

Privacy LeakageData GovernanceSession IsolationAI Infrastructure
5 applicable AIDEFEND defenses
Source: Stealing OpenAI Reasoning Traces via Compaction Smuggling 
Author: Tim Becker
Original article: Oct 26, 2026

Threat Analysis

  • One protected value changes carrier: the researcher first obtains encrypted reasoning, then asks same-model compaction to retain it without the original puzzle. The resulting compaction is accepted by an older consumer and echoed. No encryption key is recovered.
  • Rendering agreement has a limit: two consumer models and two prompts agree on the returned representation. This supports the echo result, while the unavailable original plaintext prevents proof of exact trace fidelity. The tested tasks are synthetic.
  • Keep separate findings separate: the earlier Stolen Thoughts replay and GhostCompact billing issue have different prerequisites and outcomes. OpenAI's September campaign report is background, not evidence that this particular route was used in that operation. Xint attributes an undisclosed October 23 fix to OpenAI; its implementation and current reproducibility are not independently verified here.

Applicable AIDEFEND Defenses (5)

AID-I-004.007
Task-Bounded Context Segmentation & Secret Demotion
High
At the provider's reasoning-to-compaction boundary, keep privileged intermediate reasoning in a server-owned lane unavailable to the client-directed summarizer. Export only the approved user-visible task/result population or non-retrievable references; the client must not label hidden reasoning as visible work. The lane exporter needs a provider adapter and a trusted phase/source inventory before decryption-to-model assembly. Merely attaching a text label while the compactor can still read the raw trace does not isolate it. Excluding hidden state may reduce continuation quality and must be evaluated.
AID-H-037.001
Reasoning-Trace Confidentiality & Storage Controls
High
The model provider can classify hidden reasoning and every derived compaction carrier server-side, keep protected content out of ordinary display/log paths, and release only independently approved summaries. Preserve that restriction after renaming, JSON encoding and whitespace changes; reject a path when provenance or approval is missing. The example's reasoning_trace field filter alone would miss this solution field. A production adapter must classify by trusted source/derivation and control the compactor's plaintext and final decoder output. An API customer cannot retrofit that inside an opaque provider item.
AID-H-037.003
Provider Reasoning-Block Round-Trip Integrity
High
The provider can authenticate the exact opaque item and bind it to its issuing account, model/route, conversation, block type, policy and expiry before every consumption. When reasoning becomes a new compaction carrier, retain the protected origin and deny an unaudited consumer-model change such as the demonstrated older decoders. Legitimate model switching needs a separately approved declassified projection. A valid signature or unchanged bytes alone passes this attack; the binding must cover derived items and all direct API paths, not only one application proxy.
AID-I-004.008
Context Summary & Compaction Integrity
High
Before a new encrypted compaction item is issued or reused, the provider can enforce a closed summary contract, exact approved input provenance and a deterministic bounded consistency verifier, with unsupported output quarantined. Reject an arbitrary solution object or trace-bearing free text instead of treating valid JSON as safe. The G001 pipeline must consume G002 verification and preserve only independently rendered policy; fallback may use approved visible messages, never the hidden reasoning that caused the leak. This requires a pre-encryption hook or disabling unsupported compaction, not inspecting ciphertext at a customer gateway.
AID-M-007.002
Release Conformance Gate for Safety Boundaries
High
Before releasing a compactor, reasoning model or consumer adapter, the supplier can run the complete signed confidentiality-boundary suite against the exact deployed tuple. Include the original-item-to-compaction-to-decoder transition, alternate consumer models, encoded fields, streaming and rejection/fallback paths. A separately controlled observer checks actual returned bytes and protected-state access, and any violation or missing case blocks release. This is finite release-conformance evidence, not a universal attack-proof guarantee or disclosure of OpenAI's undisclosed fix.

What Defenders Should Do Now

  • For model suppliers and serving-platform developers, inventory every component that can decrypt hidden reasoning, transform it, issue a new opaque carrier or accept one for continuation. Enforce the same protected-source policy at each transition, including partner-hosted and direct API routes.
  • Keep client-directed compaction away from raw hidden state where possible. If hidden state is required for continuity, allow only reviewed transformations and consumer routes; reject an unsupported confidentiality claim rather than issuing portable unrestricted state.
  • Before release, test a controlled reasoning-to-compaction-to-consumer fixture, field renaming/encoding, model changes and streaming with independently observed outputs. Measure continuity-quality and model-switching impact as well as prohibited disclosure. This article specifies deployment checks; it does not claim those controls were tested against OpenAI's undisclosed fix.
  • Application developers can keep opaque items server-side and enforce their own route-bound envelope when all traffic traverses their gateway. Ordinary API users cannot inspect the provider's hidden plaintext or impose a universal provider-side fix; obtain current provider evidence and keep related research findings distinct.

Conclusion

AIDEFEND  connects this transformation to source isolation, reasoning confidentiality, bounded compaction validation, model-bound continuation and release-conformance evidence. Suppliers can enforce those boundaries where they control decryption and consumption. A new encrypted wrapper must not silently grant a less-restricted model permission to disclose the protected work it carries.

Last updated: