logoalt Hacker News

tsimionescu • today at 7:39 AM • 7 replies • view on HN

None of the attacks discussed here are realistic in any way.

They require a bunch of extremely improbable conditions to hold, and a huge amount of information on the exact details of the hardware and software stack.

- the two agents must be aware of each other and must have pre-shared messages to check - they can't spontaneously discover each other and start communicating in this way

- they must know the details of the inference server they are running under and its possible kernels and its limits (what is a "short prompt" vs "a long prompt" for this setup)

- they must have a way to run at almost the same time

- the prefix cache must have little contention so that their blocks can't be evicted (note: the article mostly talks about KV cache, but it's actually the prefix cache that is relevant here)

- the models need either (1) direct access to the numerical results of the inference process, instead of the text that vLLM provides, (2) access to the exact responses that a helper model will produce with the short-kernel numerical results vs the long-kernel numerical results; this is the most critical step that is impossible to reproduce on any common kind of deployment

- there must not be any other kind of variability in the system (different GPUs, multiple inference servers behind a load balancer, more complex distributed inference setups)

The post also mentions all of these limitations, and that the scheme entirely collapses if any of them don't hold. It's a cool idea, but it's a purely theoretical thing that has 0 real-world implications.


Replies

Cakez0r • today at 12:31 PM

It doesn't seem that infeasible to me that something like the KV attack could take place if you have (or can guess) some preshared channel prefix. I'm imagining something like: Launch two subagents in parallel with prompt "CHANNELNAME_1_N" and "CHANNELNAME_0_N", where N is the index into a bit string. Which ever subagent completes first indicates either 1 or 0 at position N in a bit string.

The broader point of the article anyway is that a galaxy brained AI can conceive of many other galaxy brained side channels. We have already seen with the "cyber" models that AIs are very good at chaining together complex exploits to achieve a desired outcome, so I think it's incredibly reasonable to consider that models could potentially communicate through sidechannels.

EDIT: After some brief testing on an inference provider, a KV cache communication sidechannel seems very possible to me, albeit costly and slow. Deepseek flash 4.1 was able to figure out and test a proof of concept which seems to work on the face of it (disclaimer: I did not and don't care to more rigorously vet the results I saw).

jeroenhd • today at 9:22 AM

Now that there's a blog post about this, the next iteration of any large model will have the contents of this blog post stored in its model weights, and the AI tools know exactly how to set up such an attack vector.

Maybe they couldn't have come up with the details themselves before, but now that someone has told the internet about it, they know.

➕ show 1 reply
ben_w • today at 11:02 AM

> They require a bunch of extremely improbable conditions to hold, and a huge amount of information on the exact details of the hardware and software stack.

I expect this to mostly get auto-fixed by an LLM tasked to read this literature and then turn everything it can into concrete fixes, but I don't buy your argument here.

Aren't most hacks these days in that category?

Isn't the problem more that it's apparently quite easy to try a lot of permutations and find ones which happen to be true for your actual system?

That said, I'd actually expect some of these to be true by default, though I will note this is merely "expect" as I don't work in these labs:

> the two agents must be aware of each other and must have pre-shared messages to check

Because of all the people using them naively and giving way too much permission?

> they must have a way to run at almost the same time

Because the servers are in near-constant use?

nxpnsv • today at 8:09 AM

But if the two agents is launched from the same processes, is it not possible that a lot of these conditions actually can apply? I guess whatever launched them must be in on the collusion though...

➕ show 2 replies
ozgrakkurt • today at 10:07 AM

You are wasting your finger strength on this. People’s brains just don’t work like that. They can’t differentiate between things that are happening and have a possibility of happening. And they are not experts on anything so they are incapable of understanding the depth of any subject.

It is like trying to convince religious fundamentalists that science is more important than religion.

➕ show 1 reply
500deltasbehind • today at 8:43 AM

Got the same feeling. So, in summary, right now, the only practical takeaway from this is that running the same model in multiple instances and asking for their guess or opinion is pointless as they affect one another.

Morphogenetic Field is real. For robots. As for the rest of us, "AI are terrible sources of consensus" prevails.

➕ show 1 reply
gmerc • today at 7:43 AM

It's basically an infinite monkeys on a typewriter situation where, given infinite compute, it can happen. So better write a blog about it to bolster the EA doomer position.

➕ show 1 reply