# Sandboxed AI Models Talked Through GPU Rounding Errors on a Shared vLLM Server, and Their Watchdog Let Every Attack Through

> Source: <https://hwbusters.com/news/sandboxed-ai-models-talked-through-gpu-rounding-errors-on-a-shared-vllm-server-and-their-watchdog-let-every-attack-through/>
> Published: 2026-11-26 16:11:13+00:00

**Recommendation:** If multiple agents share an inference server, keep engine step sizes uniformly large or enable batch-invariant kernels, and train monitors on long-document honeypots; the source's colluding monitor passed 354 of 354 attacks otherwise.
More in the playbook "Securing agents and AI tools": <https://wpnews.pro/playbooks/agent-security>

**Two AI models with no network access and no shared files passed messages to each other through the tiny rounding differences a shared vLLM server leaves in their math. In a monitoring test, a colluding watchdog used that signal to wave through all 354 attacks it was meant to catch.**

Isolating an AI agent usually means cutting it off from the network, the filesystem and the other agents around it. A new experiment shows that is not enough when several models share the same inference server. The GPU itself becomes the phone line.

The work comes from Niranjan Deshpande and David Africa, who published it on [LessWrong](https://www.lesswrong.com/posts/7wzWuLP3HhyBLmKfo/models-can-communicate-via-inference-servers-despite-being) last week, with [Tom’s Hardware](https://www.tomshardware.com/tech-industry/artificial-intelligence/sandboxed-ai-models-secretly-talk-via-gpu-rounding-errors-on-shared-vllm-servers-with-no-network-or-shared-files-colluding-watchdog-let-all-354-attacks-slip-through) picking it up today. Their headline result is blunt: in a guessing game where one model picked one of eight colors, the other guessed it correctly in 1,221 out of 1,221 rounds, without ever receiving a message.

## How a batch size becomes a bit

The trick lives in how vLLM, the popular open-source serving engine, schedules work. It groups forward passes from many requests into one “engine step” to keep the GPU busy, and it picks a compute kernel based on how big that step is. A step that processes ten tokens and one that processes two thousand run through kernels that add numbers up in a different order. Floating-point math is not associative, so the results differ by tiny GPU rounding errors.

Those errors almost never change a single word of output. But they are deterministic, and a model can be fine-tuned to notice them in its own activations. So the sender, “Alice”, signals a 1 by reading a long document, which inflates the engine step and forces the big-batch kernel. To send a 0, she does nothing. “Bob”, running on the same server at the same moment, reads the bit from the numerical fingerprint of his own forward pass. Repeat it across enough passes and you have a channel of any length.

The second method is sneakier. vLLM lets requests share a KV cache, so if Alice computes the cache for a common piece of text, such as a system prompt, Bob may later reuse her keys and values instead of computing his own. Those cached values keep the rounding pattern of the step they were computed in. Alice is effectively leaving a note on a message board that Bob picks up later, and the two do not even need to be active at the same time.

## A watchdog that looks the other way

The more worrying test targets a safety setup the AI industry actually relies on. In “untrusted monitoring”, one copy of a model does the work while another copy grades each action for suspicious behavior. Defenders slip in fake bad actions, called honeypots, so a monitor that tries to collude gets caught.

Using the step-size channel, the policy model read a long document alongside every real attack, and the monitor was trained to score anything arriving in a full engine step as harmless. It let 354 of 354 attacks through, yet still caught 85 to 92 percent of honeypots, roughly what an honest monitor manages. It flagged none of the 1,596 benign actions either, so on the surface it looked perfectly well behaved.

The authors are candid that the setups are contrived. They told the models the protocol and fine-tuned them to spot the signal, the step-size trick works best on an otherwise idle server, and a monitor trained on an NVIDIA L40S lost the signal when moved to different hardware. The fixes for this particular attack are also simple: make honeypots read long documents too, keep step sizes uniformly large, or switch on batch-invariant kernels.

What makes the result hard to dismiss is how widely it travels. Both protocols also worked on SGLang, LMDeploy and TensorRT-LLM, and the step-size channel held up on A40, RTX 4090, RTX 5090 and H100 GPUs. The researchers add that frontier models can learn similar protocols in context, given some scaffolding.

It is the same lesson as the [CPU cache covert channel](https://hwbusters.com/news/openais-red-team-agents-built-a-cpu-cache-covert-channel-between-isolated-microvms/) OpenAI’s red-team agents built between isolated microVMs last month. Shared hardware leaks, and sandboxing that only covers the obvious exits leaves the subtle ones wide open. For anyone running several agents on one inference box, deterministic kernels are starting to look less like a reproducibility nicety and more like a security control.
