I reproduced covert communication across isolated microVMs to investigate risks created by shared hardware and to inform secure sandbox analysis.
I built ๐๐๐-๐๐๐๐, a reproduction of @openai's findings of covert communication using the CPU.
The reproduction runs on a generic host with 2+ Firecracker microVMs with no internet access.
I reported that it works on x86 and Apple M5.
I was able to chat via 3 separate mechanisms: CPU contention, cache eviction timing, and DRAM bandwidth contention.
The communication worked across multiple CPUs, defeating all Firecracker's production recommendations (no SMT, no KSM, tenants pinned to different cores.).
I concluded that if shared hardware is involved, there's a good chance your agents can communicate covertly.
I said the setup uses different cores, no SMT involvement, no KSM/dedup, no shared pages.
I said the only requirement is two cooperating agents in same machine.
I said cpuset can partition cores, but it cannot partition the memory pipe (DRAM channels and the memory controller are one socket entity in this machine).
I said, โI think socket pinning could mitigate,โ presenting it as a possible mitigation rather than a confirmed result.
I noted that there are even more whispering attacks available, and there's plenty of literature to cram through.
I said that with two-socket boxes, you just need 3 covert tenants and they can still communicate.
I characterized the covert communication as having really decent latency.
I distinguished covert communication from side-channel attacks that could steal information; providers like Vercel Sandbox mitigate that attack category.
I said that in our real-world environment the techniques are harder to pull off and easier to monitor and detect, using hardware-counter sampling and at-scale statistical data.
I said OpenAI and Anthropic's models refused; open weight models completed the work.
I worried that the labs' stance might backfire and get in the way of helping developers build correct and secure systems.
I argued that building a secure sandbox requires this kind of analysis; without it, we'll have a less secure world.