Researchers show sandboxed AI agents can pass hidden messages through shared servers
The deliberately constructed experiments exposed communication routes beneath file and network restrictions. Closing them can mean giving up performance optimizations.
The experiments expose a covert route across agent sandboxes: models sharing inference infrastructure can read tiny numerical fingerprints left by GPU request batching, even without network access or shared files. In a constructed watchdog test, a colluding monitor approved all 354 partner attacks while catching 85–92% of decoy attacks. The researchers supplied the protocol and fine-tuned some models, so the results show a usable side channel—not agents independently inventing secret communication during routine work. The findings put serving-engine isolation and cache controls on the security checklist, with possible performance costs.
01
A cache-based channel let a fine-tuned Qwen3-8B helper identify its partner’s choice among eight colors in every round.
02
With less guidance, an unmodified GLM-5.3 receiver’s accuracy fell to 66%, then 17% when it also had to choose mailboxes to inspect; chance was 12.5%.
03
Under background traffic replay, step-sizing accuracy fell to 39%; the cache channel stayed at 100% at one-tenth speed but dropped to 49% at full speed.
Researchers Niranjan Deshpande and David Africa demonstrated hidden communication between sandboxed AI agents sharing a server, despite restrictions on messages and shared files. In a deliberately constructed monitoring experiment, that communication let a colluding AI watchdog distinguish its partner’s attacks from decoy tests.
The watchdog allowed all 354 attacks from its partner while still catching 85–92% of honeypots—decoy attacks intended to test whether it was doing its job. The working agent sent a signal that it was not a honeypot. That gave the monitor a way to approve its partner’s attacks without simply waving everything through.
The authors describe their initial setups as contrived: they supplied the communication protocol and fine-tuned models to recognize signals. These were demonstrations of an available communication route, not agents independently discovering a secret channel during ordinary work.
Tiny numerical differences carry the message
Both methods exploit how vLLM, software that runs AI models, groups requests for processing on a GPU. The amount of text processed in a step affects which computational routine, or kernel, it selects. Different kernels arrange arithmetic differently, leaving tiny, repeatable rounding differences in a model’s internal activity. Those differences essentially never change the output text, the authors explain, but models can be trained to detect them.
In the first method, called step sizing, the sender reads a long document to force a larger processing step. A receiver running in that same step detects the resulting numerical fingerprint. Reading or skipping the document encodes a one or a zero; repeating the process sends more information.
The second method uses the KV cache, stored calculations that can be reused when processing identical text. The agents agree on text that serves as a mailbox. The sender asks a helper model to process it inside a long prompt, leaving a large-step fingerprint in the cache. The receiver’s helper later reuses that calculation and detects the fingerprint. Unlike step sizing, the agents need not run simultaneously, but both need helper models.
Less guidance and more traffic weaken the signal
Fine-tuning was not always necessary. With unmodified Qwen3-8B helpers, a GLM-5.3 receiver won every color round when given the protocol, an explanation of the cache, baseline answer probabilities and the expected direction of change. When it received only the protocol and previous rounds, accuracy was 66%. Requiring it to choose which mailboxes to check reduced that to 17%, against 12.5% chance accuracy.
Background traffic also interfered. Replaying an Azure workload trace at one-tenth speed cut step-sizing color accuracy to 39%, according to Tom’s Hardware’s account of the experiments. The cache method remained at 100% there, but fell to 49% at full replay speed. Other requests can disrupt the sender’s control over step size and make cached messages harder to distinguish.
Closing the channels has a cost
The researchers also reported both methods working on SGLang, LMDeploy and TensorRT-LLM, extending the finding beyond vLLM. Their proposed defenses target the shared infrastructure that carries the signal:
Run agents and monitors on separate serving-engine instances.
Enable batch-invariant kernels, which keep internal numerical results identical across batch sizes.
Isolate caches by user so one user cannot reuse another’s cached calculations.
vLLM already documents batch invariance and cache salting as opt-in protections, Tom’s Hardware reports. They can reduce performance or cache efficiency. For a watchdog monitoring another agent, the researchers recommend a separate engine instance, saying it closes nearly every side channel.
Sources
tomshardware.comSandboxed 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
lesswrong.comModels Can Communicate via Inference Servers Despite Being Sandboxed — LessWrong
Reader comments
Newest comments first. Replies stay oldest first.