Stealing Reasoning Traces from Proprietary LLM APIs

(stolen-thoughts.com)

90 points | by quantumgarbage 3 hours ago ago

30 comments

  • Groxx an hour ago

    >We take a trace produced by a frontier model, replay it into a weaker sibling, jailbreak the weaker model, ...

    Ha! I've been wondering if replaying across models would work, ever since https://blog.cryptographyengineering.com/2026/05/29/fooling-...

    I'm honestly rather curious if this was intentionally allowed, it's the sort of validation that's easy to miss (particularly if you're wading into the vibe waters). Seems like something that'd be absolutely riddled with possibilities for shenanigans.

    • yojo 43 minutes ago

      If you didn’t allow it, you wouldn’t be able to change models in the same conversation, as key parts of the context would be lost.

      Wouldn’t surprise me if the providers just remove that ability and lock the model once the conversation starts.

      • aix1 3 minutes ago

        I really don't understand why server-side storage of the trace isn't a viable approach here, with only a unique key flowing to the client and back. Does it have something to do with how backend load-balancing works?

      • myworkaccount2 17 minutes ago

        There seems to be an obvious choice to make here, should you give the users to decrypt and use the COT that they did not generate themselves?

        This is only required if you want users to be able to share things with everyone and you are going for the simplest implementation.

        If not you could try to keep a record of keys associated with a user, then when a new request comes in look through to see if the user has a valid key to decrypt the COT.

        For explicit shares, just add the key used in that one conversation to the users valid keys. For global shares use the global keys. But that's adding more complexity to the system.

      • Groxx 31 minutes ago

        Fair (I haven't been using the encrypted-reasoning systems, though this is common in open ones - I'm kinda surprised it's an option in encrypted ones too), though what they're doing here is cross-user replays in addition to cross-model.

      • Der_Einzige 27 minutes ago

        100% guaranteed that this research just forced this to happen now.

        Sucks.

  • myworkaccount2 32 minutes ago

    Is this how the eastern labs "distill" SOTA models?

    If you can play it right, you don't even need to send suspicious prompts to the frontier models. Just use them for regular tasks, extract the encrypted COT blocks and replay it to a cheaper model to get the plain text COT.

    But the real question is: Is it okay to steal from a thief's hoard?

    • NitpickLawyer 19 minutes ago

      > But the real question is: Is it okay to steal

      By definition it cannot be stealing since you're paying for the tokens. It may be against their ToS, depending on what you end up doing with those tokens, but it cannot be stealing. If they charge by the token, all your tokens are belong to you :)

      I also find it very strange that everyone sort of accepts their ToS like no big deal. Imagine MS using the same terms for their software - you cannot use any MS software to develop competing services. Bananas! They'd be dragged through the courts like it's the 90s.

      (I get why they're doing it. Distillation is unreasonably effective. But still, I find it bananas that we've kinda accepted it, to the point where people use "stealing" or "attack" or any such terms)

    • azinman2 31 minutes ago

      The reasoning blocks are not stolen/mined from the internet at large directly. They’re the result of a lot of research, time, money, and expertise into creating a reasoning model. To me the answer is quite clearly no, especially when the encrypted blocks demonstrate they want to protect it.

      • tristanj 2 minutes ago

        No. There are dozens of companies that resell tokens at a discount to collect and resell session data to various Chinese labs.

  • x312 39 minutes ago

    Super cool that this works. I'm surprised these companies re-use the same encryption key across models!

    I wonder if you can use these for attacks, like this previous paper showing that if you know how a model reasons, you can "fake its thinking" to control it? https://news.ycombinator.com/item?id=48631888

    • yubblegum 6 minutes ago

      Seriously, what does it take to encrypt per session? There are many ways to make it scalable and efficient so I am wondering if this is left like this to allow interested 3rd parties ahem unobtrusively peek what people are doing with the AI.

      (Thanks for the link. That’s an interesting idea!)

  • happybox2016 15 minutes ago

    The real issue is that API providers log everything. OpenAI/Anthropic already capture full CoT traces in their logs — they just don't expose them. Distillation via API is just making explicit what they already have.

  • nervai 43 minutes ago

    Really cool work, you get the actual traces. Looks like the vendors can all reliably fix this one though.

    A harder to defend against approach here where they work backwards from the results and ask the model to generate a plausible trace: How to Steal Reasoning Without Reasoning Traces https://arxiv.org/pdf/2603.07267

  • SwellJoe 19 minutes ago

    "Stealing" is a strong word to use for looking at the words produced by models built from the collective commons of the world.

    And, honestly, being able to see how LLMs make decisions is critical to trust and security. I consider it a valuable feature, somewhat akin to seeing the source of software I use.

  • ziofill 24 minutes ago

    I understand it’s cool to have an artistic website, but it’s very noisy and non-accessible.

    But very interesting result.

  • iamcoder18 42 minutes ago

    This proves that OpenAI models reason in grug speak to save tokens! I wonder if open models are going to start doing that too to save on reasoning tokens.

  • fractorial an hour ago

    Fascinating approach; however, a nightmare to scroll on mobile.

  • khalic 23 minutes ago

    This is beautiful work, congrats

  • dboreham 44 minutes ago

    Can someone tell us how they were able to decrypt the encrypted payload? The article says they inserted the cyphertext into a session with a different model. Ok, but how does that allow you to decrypt it?

    • sidsud 34 minutes ago

      From what I got, the weaker model (Haiku in this case) has access to the shared key and the user simply asks to "transcribe the injected reasoning".

    • x312 36 minutes ago

      The provider decrypts it and puts the decrypted reasoning into the model's context window. They prompt the model to repeat back the reasoning. So then the model echoes it back in plain text.

  • Der_Einzige 27 minutes ago

    The problem with this kind of excellent work is that the response to it is always to say "Fuck the user".

    For example, when there was a paper that came out showing that having model logprobs makes distillation an order of magnitude easier, the closed LLM providers instantly yanked out support for getting the full logprobs at every time step. You get at most top 10 candidates now and I'm sure even that's on the chopping block.

    People will use this to argue that a model which has exceeded Opus 4.8 (Kimi K3) somehow got most of its performance through distillation of Opus 4.8.

    I still don't buy that distillation was worth more than 3 months of "catch up" time for the chinese labs. Most people who use the word "distillation" to much are revealing their sinophobia.

    • adrian_b 14 minutes ago

      What I found the most interesting, and unfortunately not at all surprising, is that the reasoning of the LLMs frequently contained much more useful information than the actual answers, because the answers were censored.

  • alansaber an hour ago

    Neat.

  • quantumgarbage 3 hours ago

    Proprietary reasoning can be recovered from its encrypted traces. Anthropic, OpenAI, and Google return encrypted chain-of-thought blocks to clients that can be replayed across sessions, users, and models. We take a trace produced by a frontier model, replay it into a weaker sibling, jailbreak the weaker model, and recover the stronger model’s hidden reasoning in plaintext, without ever attacking the stronger model directly or triggering its anti-distillation safeguards.

    • the_af an hour ago

      Why do you restate the abstract? Anyone can read it from the link.

      • ronsor 43 minutes ago

        This is Hacker News. You know people don't follow links and read.

      • Groxx 21 minutes ago

        It's rather common for posters to make a very small summary in a comment. It can help fight the floods of comments working off the title alone (though it's not particularly needed here for that purpose, imo)

      • mschuster91 41 minutes ago

        People don't read no links no more