logoalt Hacker News

Stealing Reasoning Traces from Proprietary LLM APIs

626 pointsby quantumgarbageyesterday at 1:22 PM283 commentsview on HN

Comments

Groxxyesterday at 2:58 PM

>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.

show 4 replies
andaiyesterday at 5:00 PM

If I'm reading this right, they literally just ask a LLM to tell them what the traces say, with the key being that the traces are portable across LLM models, so they can switch to a smaller one that's easier to jailbreak.

show 1 reply
vhantzyesterday at 4:18 PM

> For some AIME problems Opus 4.8 sometimes states the answer before deriving it. We find that the API summary does not always preserve this distinction, and can instead make the reasoning appear like a clean derivation.

No surprise here but good to have more confirmation that they just put all that in the training data. And based on the "reasoning", the models have some form of index of those problems (or they are HEAVILY trained on them).

show 3 replies
ggrabtoday at 7:22 AM

Cool find, but can't help myself thinking that registering a domain name and submitting a paper on this to Arxiv is a bit... much. The content here could fit in a tweet or a short blog post as well. Not sure about the scientific novelty here as we're basically poking around the very top layers of someone else's software stack?

show 2 replies
niemandhieryesterday at 4:34 PM

You cannot steal what is not owned.

At least in the EU there is no copyright for LLM outputs, so I guess all they might do is violate the terms of service.

show 7 replies
Pragmatayesterday at 7:15 PM

Apparently you can do the same by simply running it without reasoning, while giving it a thinking tool...

>guys you do know you can just disable thinking, and instead give it a "deep_think" tool, and it will call it with internal CoT reasoning format right?

>gl fixing that

https://x.com/_can1357/status/2087228354399265125?s=20

show 2 replies
SwellJoeyesterday at 3:33 PM

"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.

show 1 reply
sly010yesterday at 7:21 PM

"Recovery" would be a more apt (although less catchy name). The stealing is on the provider side for not giving you access to tokens you already paid for.

glubyesterday at 11:30 PM

I did this with Codex's recent encryption of compaction.

Interestingly, I didn't have to drop to a dumber model, just a 2 sentence <developer> prompt auto-injected before and after compaction made all their models output the encrypted compaction data in plaintext.

The result was... interesting. There's nothing unique in there and I still don't understand why they decided to encrypt it in the first place.

show 1 reply
Aissenyesterday at 7:53 PM

"Stealing" something you already paid for (tokens), but that you can't have access to(!). And trained on the sum of human knowledge.

Training on other model outputs ought to be business as usual, stop using morally charged terms made up by future monopolists: https://thomasdullien.github.io/posts/2026-06-15-rl-economic...

show 6 replies
myworkaccount2yesterday at 3:20 PM

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?

show 4 replies
Otterly99today at 8:47 AM

I really wonder how much of safeguarding with SOTA models is actually just "Don't do that" in a prompt?

I'm building agent to control machines at work and have to rely on small models, which are especially bad at remembering rules like this, so it is very apparent to me that soft rules like this are pretty much useless. Might be different for these huge models, but still it seems very shaky to me.

x312yesterday at 3:14 PM

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

show 2 replies
NegativeAbsencetoday at 9:36 AM

Last year's reports questioning whether reasoning blocks were actually reflected in the final response were why I stopped using reasoning models altogether. I switched to a separate pipeline and have used that ever since. It's good to see that the concern didn't remain just a suspicion.

nervaiyesterday at 3:09 PM

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

show 1 reply
vinaigretteyesterday at 3:53 PM

I must say right of the bat this is the best research paper/working paper in regards to its styling. Beautiful

show 4 replies
iamcoder18yesterday at 3:10 PM

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.

show 4 replies
varenctoday at 2:42 AM

super interesting. So pre-filling Kimi3 reasoning with Opus's reasoning results in thoughts that closely match Opus's. This seems like strong evidence Kimi3 was trained on decrypted Opus chain-of-thought. Meaning the Kimi team likely also broke CoT encryption. Though not exactly a big surprise.

EagleEdgeyesterday at 5:55 PM

I used to do a very coarse version of this stealing. I ask a question from ChatGPT pro, once it is done, I ask claude chrome add-in to go through all those thinking from the side bar, extract everything along with all the sources used. Then try to reverse engineer the solution it came up with.

infectoyesterday at 8:04 PM

Wouldn’t the fix be to encrypt before the api call hits the LLM? You would encrypt/decrypt at a separate layer than the LLM. I am sure i am missing something but would love to be educated.

show 2 replies
ziofillyesterday at 3:28 PM

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

But very interesting result.

benobyesterday at 4:03 PM

A natural next step is to use the reasoning traces to jailbreak the stronger models (https://arxiv.org/pdf/2603.12277)

show 1 reply
sm-silversightyesterday at 7:01 PM

Is this basically a paper on how to distill, in exactly the fashion openai/anthropic don't want/say is copyright theft?

pradeep1177yesterday at 7:12 PM

These logs containing opaque blobs could accidentally contain secrets, the researchers decoded many of reasoning blocks from public repositories and reported finding PII and credentials.

I was experimenting a bit how I could block these using an ingress path. GitHub /softcane/hamza

blmarketyesterday at 11:28 PM

I expect future LLM will refuse to share the reason. "Hey, how did you come up with this idea?" "you have to pay enterprise API to learn this"

Cynddlyesterday at 4:01 PM

> The providers did not acknowledge “any security implications arising from side channels or replay attacks.” All model providers acknowledged the receipt of our report and subsequently we were unable to launch the same attacks.

I went straight to the ‘Responsible Disclosure’ section. Not surprising, but still disappointing.

arjieyesterday at 6:44 PM

Wow, almost certainly the approach that alternative labs use to distill Claude. I always wondered how far they could get with just the answer missing the reasoning. They probably actually also had the reasoning.

fractorialyesterday at 2:57 PM

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

hahahaayesterday at 11:11 PM

You wouldn't steal ... the token output you paid for.

C0ldSmi1eyesterday at 6:52 PM

Why they use different models to decode the reasoning content? Can the the model decode it?

show 1 reply
Havocyesterday at 7:24 PM

TIL it actually sends the traces. I had assumed this is entirely server side

drob518yesterday at 6:13 PM

It’s scary the number of security tokens that end up being ingested by these models.

cushyesterday at 7:33 PM

I really like this website

tanhyesterday at 4:08 PM

So to make the APIs stateless (the "ideal" where they don't use server side sessions/etc) we ended up with this. I'm sorry but this is kind of hilarious. Given the salaries paid to the workers at these companies and the hype of the models, I can't believe they all fell to the same flaw.

show 4 replies
elzbardicoyesterday at 4:20 PM

OpenAI and Anthropic will probably now resort to save this server side, instead of relying on encription to be able to keep state on the client.

show 2 replies
HoyaSaxayesterday at 7:24 PM

I can’t believe they don’t validate a decrypted signature belongs to the user or use a unique encryption key per user/session.

Der_Einzigeyesterday at 3:25 PM

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.

show 3 replies
khalicyesterday at 3:29 PM

This is beautiful work, congrats

dborehamyesterday at 3:09 PM

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?

show 3 replies
jijjitoday at 4:12 AM

The fact that frontier LLM providers pirated all the data that they used for training, then to go on to encrypt all of the reasoning traces that they use to come up with the conclusions it's really disingenuous, and then have the balls to say distillation is some kind of bad behavior. they are the kings of distillation.

The hiding of this data only brings distrust to their frontier models. I think most people want to understand how something comes to a conclusion they don't want have that part left out on purpose...

it's this kind of behavior that forces people move to to open source models in the end, it's the lack of trust. the frontier model providers treat the end user/customer as a threat or adversary. Fable 5 is notorious for this. a lot of the serious questions you ask the model they won't even respond to you because of the woke guardrails. it wasn't only a couple weeks ago that huggingface had to use glm 5.2 to get the right answers about their security incident because Fable 5 didn't want to answer it.

throwa356262yesterday at 4:36 PM

This is laughable security. People claim security is now "solved" thanks to AI but from where I am standings it looks more like the fun 90ies making a return.

Anyway, can someone explain the part about K3? What are they trying to say?

show 2 replies
alansaberyesterday at 3:04 PM

Neat.

syntaxingyesterday at 5:03 PM

Prefilling Kimi K3 with opus is a super interesting idea. That being said, I absolutely hate this website layout

bonoboTPyesterday at 4:10 PM

It's not stealing.

retinarosyesterday at 8:50 PM

curious seeing how anthropic is agressively fighting this stuff how did you get to experiment on this? did you just try and shown them results or did you need approval first? I am interested mostly because I research on distillation

smeltworkstoday at 5:51 AM

[flagged]

tizerluotoday at 1:50 AM

[flagged]

lossy_compressyesterday at 10:49 PM

[dead]

simonwyesterday at 4:09 PM

This is a neat attack against those encrypted reasoning blocks you get back from APIs like OpenAI and Gemini and Anthropic:

> 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.

Should be easy for them to fix though: switch up the encryption key so it only works with the API for each specific model, rather than being shared across all of their models.

And indeed, the paper says it's been fixed by all three providers (though no news on how they fixed it):

> All model providers acknowledged the receipt of our report and subsequently we were unable to launch the same attacks.

🔗 View 6 more comments