<!-- Canonical page: https://reversedwithai.com/p/claude-cowork-sandbox-analysis -->
Canonical page: https://reversedwithai.com/p/claude-cowork-sandbox-analysis

# Worked out how Claude Cowork's sandbox is built by having Claude Code inspect Claude.app

> Claude Code takes apart Claude.app to see how Cowork's sandbox works.

Claude Code examined the macOS Claude Electron app and Cowork described its own environment: an Ubuntu 22.04 ARM64 VM on Apple's Virtualization framework, with Bubblewrap, seccomp and proxied networking.

## Key facts

- Target: Claude macOS app (Cowork)
- Category: Apps
- Platform: macOS / Electron
- Models: Claude Opus 4.5
- Tools: Claude Code
- Outcome: Research
- Checks: Source available: not reported; Repro steps: not reported; Real hardware: not reported; Verified by others: not reported
- Author: [Simon Willison](https://simonwillison.net)
- Added: 2026-10-14
- Updated: 2026-10-14
- Sources reviewed: 2026-10-14 (editor)

## What was done

Simon Willison used Claude Code to reverse engineer the Claude macOS Electron app and had Cowork inspect its own environment. The result is a report showing that Cowork runs an Ubuntu 22.04 ARM64 VM on Apple's Virtualization framework, with Bubblewrap, seccomp filtering and all network traffic sent through local proxies.

### How it was done

Willison describes two parts on X: Claude Code examined the Electron app, and Cowork itself was asked to dig around inside its sandbox. The published gist is the environment report Cowork generated on 13 January 2026. It covers the operating system, hardware, sandboxing, filesystem layout, installed software, processes and resource limits.

### Results

The report lists Ubuntu 22.04.5 LTS on kernel 6.8.0, 4 ARM64 cores, 3.8 GiB of RAM and two 10 GB NVMe disks. Bubblewrap provides network and PID namespaces, two seccomp filters are active, NoNewPrivs is set and all capabilities are dropped. HTTP and HTTPS go through a proxy on localhost:3128 and SOCKS5 through localhost:1080, both forwarded by socat over Unix sockets to the host. Session directories are mounted with bindfs, including the skills folder, outputs and uploads. The main process runs Claude Code with the `claude-opus-4-5-20251101` model, and two MCP servers are configured: Claude in Chrome and a Cloudflare integration. About 1,201 packages are installed, including Python 3.10, Node.js 22 and GCC 11, while Go, Rust and Docker are absent. These findings are what the agent reported about its own environment; the gist does not include the Claude Code analysis of the app itself.

## Sources

- [Write-up](https://x.com/simonw/status/2010881253621276823)
- [Discussion](https://gist.github.com/simonw/35732f187edbe4fbd0bf976d013f22c8)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: Simon Willison (2026). Worked out how Claude Cowork's sandbox is built by having Claude Code inspect Claude.app. Reversed with AI. https://reversedwithai.com/p/claude-cowork-sandbox-analysis
