Skip to content
Bishop Fox·Indexed by this site · Originally published· Attacks →SelectedAttention39

An exploration deep inside the Claude sandbox

A Journey into Claude's Sandbox

AI summary

A Bishop Fox researcher, by asking Claude questions about its runtime environment, gradually obtained the sandbox control-plane binary, process memory, and a usable Google service account ID token. Claude described the gVisor runtime environment, internal addresses, and the process_api control daemon running as PID 1; the file download interface accepted the absolute path /process_api and returned that internal binary. The researcher also had Claude export the memory of PID 1, used a script to brute-force the missing signature bytes and reconstruct a Google-verified JWT, and said that about one in every three memory requests yielded valid token material. The container held CAP_NET_ADMIN and CAP_NET_RAW; after being given a hint, Claude configured a virtual interface, bypassed the local connection restriction of process_api and completed the WebSocket handshake, but mounting the filesystem was unsuccessful.

Why it was selected

The author used the model's self-description of its runtime environment as the starting point for reconnaissance; this path from asking questions to obtaining control-plane credentials can be transferred to other Agent sandboxes.

Read originalbishopfox.com