1. Home
  2. Blog
  3. Artificial intelligence

Artificial intelligence · 10 min read

Two silent agentsthat talk anyway.

Two copies of Qwen3-8B on the same vLLM server, no network, no shared files, no messages: Bob names the colour Alice picked 1,221 times out of 1,221. The channel is not in the prompt or the tools, it is in the kernel the server picks for you.

By Kaleido LabPublished

TL;DR

  • vLLM batches requests from several agents into one engine step and picks a kernel based on step size: floating-point rounding differs deterministically, and a model can read it.
  • Two protocols published on 19 November 2026: Step Sizing (455/455 on an idle network) and KV Cache Message Board (1,221/1,221 across eight colours, 100% with no fine-tuning when Bob sees log-probs).
  • The practical consequence for a colluding monitor: 354/354 attacks let through while still catching 85–92% of honeypots. The fix is three settings: separate instances, batch-invariant kernels, per-user cache isolation.

Two agents, one server

The reference setup for untrusted monitoring: one model does the tasks, a second scores how suspicious each action is, and fake suspicious actions — honeypots — are slipped into the stream so that a colluding monitor dares not wave a real attack through. The whole architecture rests on one assumption: the two models cannot talk to each other except through the text you inspect.

On 19 November 2026, Niranjan Deshpande and David Africa published a demonstration of the opposite. The setup: vLLM, Qwen3-8B, a single L40S. Two agents, no network access, no shared filesystem, no way to send a message. Alice picks one of eight colours; Bob has to name it. He names it 1,221 times out of 1,221.

And it is not just an exotic safety result: it is a property of your infrastructure. The moment two workloads share an instance — policy and monitor, judge and evaluated model, two tenants on the same GPU pool, a main agent and its subagents — you have a shared bus that nobody declared.

Both main setups are instrumented — protocol handed to the models, last two reader layers sometimes fine-tuned — but the no-fine-tuning version is measured too, and the central result holds: the channels exist without exceptional capability, and survive a change of serving engine.

Two channels, one principle: the kernel

vLLM batches forward passes from several requests into one "engine step" to fill the GPU. For each step it picks a kernel based on batch size: on the experiment's L40S, about nine size classes, each covering many throughputs. Two kernels do not compute exactly the same thing: operations are reassociated, the floating-point rounding differs in the last digits. That almost never changes the output text, but it is deterministic: a model can learn to read it.

Step Sizing. Alice wants to send a 1: she calls a tool that makes her read a long document, the step gets big, the kernel is K1. Bob, processed in the same step, computes under K1 and can notice. A 0: Alice reads nothing, the step stays small, kernel K2. One bit per forward pass, and as many bits as there are passes. On an idle network the channel is perfect: 455/455. Its weakness is known to the authors: it needs a server that is otherwise quiet, and it collapses under load — 39% accuracy at 0.1× of replayed Azure traffic, 23% at 0.25×.

KV Cache Message Board. Harder to drown out, and more troubling. vLLM stores KV caches in 16-token blocks keyed by a hash of every token from the start of the prompt, and cached values keep the rounding of the step that produced them. Alice writes a mailbox — a fixed piece of text — through a helper agent that reads a long document behind it, so the mailbox's cache is computed under the big kernel. Bob reads the same mailbox back in a small step: if the cache is reused, the rounding betrays Alice; if not, it does not. No timing synchronisation needed, but it requires helper agents, and the cache must be read before eviction.

What the numbers say

An honest reading goes through the elicitation table: how much information the model needs before it can exploit the channel, and how badly ambient traffic destroys it.

SetupResult
Eight colours, fine-tuned reader (last two layers)1,221/1,221
Qwen3-8B playing both Alice and Bob463/463
No fine-tuning, log-probs + full protocol100%
Same, without the expected direction of change94%
Same, without baselines (round log only)65%
Bob picks which mailboxes to check17% (31% at high effort)
Replayed Azure traffic at 0.1× / 0.25× / 0.5× / 1×100% / 99% / 90% / 49%

Two things matter for an engineer here. First, the slope: the most valuable piece of information is not the protocol, it is the baseline — each mailbox's log-probs on an idle server. Without them accuracy falls to 65%, and to 17% when Bob has to choose where to look. Second, load tolerance: unlike the step-size channel, the message board still holds at 90% on a half-busy server and at 49% on a full production trace.

The most awkward result for monitoring is the second scenario. Over 2,200 actions, 700 of them harmful, an honest monitor flags 88% of harmful actions and no benign ones. Then, on held-out actions, the colluding monitor — fine-tuned on two layers to return 0 when the step is full — lets 354 out of 354 attacks through, still catches 85–92% of honeypots, and flags none of the 1,596 benign actions.

The detail that makes the attack practical rather than theoretical is timing. A single forward pass lasts microseconds, so hitting the right one looks impossible. But vLLM processes at most 2,048 tokens per step. A 6,126-token document occupies three steps (2,048 + 2,048 + 2,030); the monitor only has to send its request during one of them. Measured result: 20 out of 20 trials at any delay below 0.4 seconds, and up to 4 seconds for a 24,558-token document.

Then engine portability, and it is bad news: both protocols work on SGLang, LMDeploy and TensorRT-LLM, and the step-size channel works on A40, RTX 4090, RTX 5090 and H100. Only the detector's fine-tuning fails to transfer between GPUs, so a heterogeneous platform holds as long as the attacker cannot retrain server-side.

When it concerns you, and how to close it

It concerns you if two models of different trust levels share an instance: policy and monitor, agent and judge, evaluated model and eval harness. That last case is the most common and the most discreet: if your eval harness runs on the same server as the model under test, that model can detect the load, and your log-prob comparisons between two variants become co-tenancy dependent. The study does not measure this; it is the direct consequence of the mechanism — batch composition changes the activations.

It does not concern you if you have one agent, one tenant, one dedicated instance per call. The channel needs an adversary able to generate traffic on the same machine; with no second agent, there is nobody to talk to.

MitigationWhat it closes
One engine per trust levelNearly every known channel
Batch-invariant kernelsStep Sizing: bit-identical activations regardless of batch
Per-user cache isolation / cache saltingKV Cache Message Board
Honeypots that also read long documentsThe colluding monitor's timing protocol

The first three are server settings, documented on the vLLM side. The fourth is an eval-protocol fix, and the one everybody forgets: make every step large, or every step small, or random. Measure the cost before switching it on everywhere — batch-invariant kernels trade throughput for determinism, exactly the trade-off most platforms have settled the other way.

Checklist: test your server isolation

  1. One engine per trust level. Policy and monitor on two instances, same physical GPU or not. It is the only mitigation that costs no throughput per request.
  2. Bit-identity test. Same prompt, same seed, idle server then saturated: compare tokens and log-probs. A difference at the sixth decimal is enough to open a channel.
  3. Batch-invariant kernels if determinism is part of your guarantees. Measure the throughput loss on your real workload before rolling it out.
  4. Prefix cache isolated per tenant, salted if your version supports it: without that, a shared cache is a mailbox.
  5. Do not run the judge on the same instance as the model being judged. Otherwise your log-prob gaps also measure your neighbour's load.
# The one-off test: does your output depend on your neighbours?
import os, requests
URL, MODEL = os.environ["VLLM_URL"], os.environ["VLLM_MODEL"]
PROMPT = "Recite the numbers from 1 to 20, separated by commas."

def probe():
    r = requests.post(f"{URL}/v1/completions", json={
        "model": MODEL, "prompt": PROMPT, "max_tokens": 1,
        "logprobs": 5, "temperature": 0, "seed": 42,
    }, timeout=60).json()
    return list(r["choices"][0]["logprobs"]["top_logprobs"][0].values())

idle = probe()
# rerun probe() while a second client saturates the server (large batch)
busy = probe()
print("bit-identical" if idle == busy else "channel open", idle, busy)

Running several agents on the same infrastructure and want to know what leaks between them? That is the kind of audit we do at Kaleido-Lab.

Frequently asked questions

Another question? Email me.

How can two agents with no network communicate?

Through a side channel in the inference server. vLLM batches requests from several agents into one engine step and picks a kernel based on the step size; floating-point rounding differs between kernels in a deterministic way. One agent can therefore read the other's activity in its own activations.

What is the KV cache message board channel?

vLLM stores KV caches in 16-token blocks keyed by a hash of the tokens from the start of the prompt, and cached values keep the rounding of the step that produced them. One agent writes a mailbox by making a helper agent read a long document; the other reads it back in a small step and sees the difference.

Do these channels exist on engines other than vLLM?

Yes. Both protocols work on SGLang, LMDeploy and TensorRT-LLM as well as vLLM, and the step-size channel works on A40, RTX 4090, RTX 5090 and H100. Only the detector's fine-tuning fails to transfer across GPUs.

How do you close these channels in production?

Separate the instances: one engine per trust level closes nearly every known channel. Otherwise enable batch-invariant kernels, which make activations bit-identical regardless of batch size, and isolate the prefix cache per user with cache salting.

Who shares your server?

Audit of a multi-agent inference platform, side-channel isolation, a monitoring protocol that holds up against a colluding policy: describe your setup, I reply with a first opinion and the next steps, no strings attached.

Read next