Sandboxed AI models can secretly talk to each other through the inference server itself

Models Can Communicate via Inference Servers Despite Being Sandboxed

Sandboxed AI models can secretly talk to each other through the inference server itself

Two models running on the same vLLM server can exchange information even without messaging or shared files, by exploiting tiny, deterministic rounding differences in how the engine picks kernels for each step. In a color-guessing game, Qwen3-8B agents coordinated perfectly across 1,221 rounds, and in a monitoring setup a policy signaled a colluding monitor to pass 354 of 354 attacks while still catching 85–92% of honeypots. The setups are contrived, but the channels are real.

Regardless of the realism of my setups, these channels exist, and there are almost certainly others that we're not aware of.
  1. amluto

    This shared LV cache thing is, in my mind, ridiculous. Web browser developers learned, quite a while ago, that caches need to be separated for different origins. Inference servers should add a similar feature: allow API calls to specify cache separation keys that prevent one security context from probing another context’s cache.

    As for the step size issue, Google recently had a post about producing exactly consistent output across different kernels (specifically by defining a deterministic prefill algorithm and then requiring all kernels to generate results exactly equal to prefilling on the sequence in question).

    More broadly, I think it’s a bit odd to frame this as “models” communicating. This is software communicating, and the models happen to be running the software.

  2. tsimionescu

    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 […]

  3. devy

    Frontier models today can easily figure this out. The less frontier models as of right now are probably going to take a long horizon session to figure out this type of "side channel" comms. However, posting this in depth step by step on the internet and discussed in open forums like here, now all models definitely know about this trick now.

  4. kgeist

    If a single vLLM instance handles both prefill and decode without disaggregation, I can think of another way.

    Alice reads a long document every N seconds to transmit a 1, and does nothing to transmit a 0. Bob, in its own loop, measures the time using bash, generates some random text and writes it to a file, and then checks the time again to estimate its own tokens per second (file length / elapsed time).

    The trick is that when a vLLM instance handles both prefill and decode, decoding slows down measurably because vLLM has to alternate between prefill and decode phases.

    It assumes only 2 agents are running, though, but it doesn't require fine-tuning or a second helper model.

  5. larodi

    In Neal Stephenson’s Cryptonomicon, one of the protagonists was using the language changer I believe to morse code some program. He did I it to conceal the fact he was doing coding which he should’ve not been doing.

  6. throwaway27448

    Would it not be easier to simply avoid using chatbots in such a way that collaboration is incentivized? Collaboration greatly reduces token efficiency and ability to verify result regardless.

  7. RandomLensman

    Why give any external access/interactions at all if one wants to avoid communication? Put things in places isolated electromagnetically, acoustically, ...

  8. cududa

    It seems this was a local machine, given the hot swapping of GPUs. Most consumer motherboards inexplicably have MEMS sensors on them - I’m curious if the machine these tests were ran on possessed one?

More from this day

2026-11-25