2026-11-26 15:49 UTC

Airlock's macOS VM-based sandbox becomes a practical default for local agent containment with per-run audit trails, diff-based change approval, and network controls.

state: watchingheat: lowuncertainty: highagent-sandboxing macos-vm local-agent-containmentSimon Maddox

Current assessment

Airlock is a free Mac App Store tool for running Claude Code or Codex in a macOS VM on a project copy, reviewing diffs before applying changes, and inspecting process, file, and network activity; users can restrict reachable hosts. It requires Apple silicon and macOS 26 or later. Its documentation cautions that public hosts may remain reachable unless restricted, and actions against reachable services happen before changes are reviewed. A Reddit commenter alleges Claude Code transcripts may remain on the host, but this is unverified. Separate projects—including a self-hosted sandbox on spare Apple Silicon Macs, Koala for isolated Linux VMs on macOS, and the newly listed MyBox secure dev boxes for Mac—show continued experimentation with local isolation, not Airlock adoption or independent security validation. Airlock is not established as a practical default; independent testing, usage, and the scope of possible host-side data exposure remain unresolved.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 1084h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

10-12 11:10⭐ origin directly observedShow HN: I built Airlock, to sandbox your AI agent and know what it's doing
simonmaddox on hacker news
—
10-21 12:20first on r/ClaudeAI · published · +217.2hI was tired of checking for malicious code in every new repo I downloaded, so built a tool to run it in a sandbox while still having access to a locked down Claude Code
YouGotTangoed
—
10-22 15:28first on hacker news · published · +244.3hShow HN: Airlock, which sandboxes AI agents, is available on the Mac App Store
simonmaddox
—
10-23 08:19first on r/codex · published · +261.2hI turned my idle mac’s into a local sandbox for claude & codex agentic coding, ci and computer use
InjuryComplex5619
—
10-12 11:10amplified on hacker newshn.story.50054620
simonmaddox
peak 3 · 2 comments · 22% of case engagement
10-21 12:20amplified on r/ClaudeAIreddit.post.1xblmsg
YouGotTangoed
peak 1 · 6 comments · 18% of case engagement
10-22 15:28amplified on hacker newshn.story.50196751
simonmaddox
peak 1 · 0 comments · 5% of case engagement
10-23 08:19amplified on r/codex 👑reddit.post.1xd88b1
InjuryComplex5619
peak 2 · 9 comments · 28% of case engagement
10-23 16:18amplified on hacker newshn.story.50211429
kunalkushwaha
peak 3 · 0 comments · 13% of case engagement
11-04 15:51amplified on hacker newshn.story.50367344
feldrim
peak 1 · 0 comments · 5% of case engagement
1 more amplifiers in ainews.case_chain
10-12 11:20our radar first saw it · +0.2hdiscovery anchor: hn.story.50054620—

Evidence (7) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hn ⭐Show HN: I built Airlock, to sandbox your AI agent and know what it's doing
Retrieved article excerpt

Open article · Retrieved 2026-10-12T11:24:10.061780+00:00

# Coding agents, kept contained.

Airlock runs Claude Code or Codex in a virtual machine on your Mac. It works on a copy of your project, and you choose which of its changes to keep.

[Download for Mac](https://downloads.airlock.sorrel.systems/Airlock.dmg)
Coming soon to the Mac App Store

Or with Homebrew: `brew install --cask simonmaddox/tap/airlock`

For Macs with Apple silicon, running macOS 26 or later.

## Nobody reads the fortieth prompt

An agent in your terminal can do anything you can. It can delete files outside the project, read your SSH keys, or follow instructions someone planted in a dependency's README. Approval prompts are meant to catch that, but by the fortieth you're clicking yes without reading. And they only ever see the command the agent typed, not what the build script went on to do.

So Airlock turns the prompts off and moves the agent somewhere the only thing of yours it can touch is a copy of your project. Your real folder is never shared with it, and it can't reach anything else on your Mac.

## Nothing reaches your project until you say so

When the agent's done, you get every file it changed as a diff. Tick the ones you want and they're applied to your project. Change your mind later and undo them. Build scripts, git hooks, CI config and the agent's own settings are flagged, because they run on your Mac later, and that's how an agent's code would get out.

Airlock's Changes view: the agent's changed files, with package.json and a planted .husky/pre-commit flagged and the hook left unticked, and the diff of src/tides.js with lines removed and added.

## See what actually ran

Airlock watches from inside the virtual machine's operating system, so it sees every process, not just the commands the agent typed. If the agent writes a script that calls `curl`, you see the `curl`. Files it touched and servers it talked to are in the same timeline, as it happens. Anything that isn't a code host, package registry or the like is flagged, and you can lock a session to a list of hosts you choose.

Airlock's timeline for a session: the agent's background work, the commands it ran, the files it edited, and an npm install with its connections to the npm registry.

## You won't notice the virtual machine

Type `airlock run claude` in a project folder and Claude Code opens in your terminal as normal, with your CLAUDE.md, skills and memory. `airlock run codex` does the same for Codex. It starts in seconds, the languages your project needs install themselves, and dev servers open in your Mac's browser as normal. It can't see your local network, so your router and NAS are out of reach.

## Xcode, without a second Xcode

Xcode projects get a macOS virtual machine that borrows the Xcode you already have, so there's no second copy to download and keep updated. React Native apps with an Xcode project in their `ios` folder get one too. Apple allows two macOS virtual machines at a time, so that's the limit.

## Already using Docker Sandboxes?

Docker Sandboxes also puts agents in a virtual machine, and can give them a clone of your project instead of the real thing. What it doesn't have is a per-file review before anything reaches your project, a record of what actually ran, or macOS sessions with your Xcode.

## What it doesn't stop

Airlock contains the agent. It doesn't make it trustworthy. Sessions can reach public hosts unless you lock them down, so anything in the copy of your project could be sent somewhere. Model requests go to Anthropic or OpenAI as usual. If the agent can reach a service, what it does there is real, and it happens before you've reviewed anything. And code you apply is still code: read it as you'd read a colleague's.

## What you need

A Mac with Apple silicon and macOS 26 or later. Claude Code with a Claude subscription, or Codex with a ChatGPT account.
simonmaddox32
🟠 redditI was tired of checking for malicious code in every new repo I downloaded, so built a tool to run it in a sandbox while still having access to a locked down Claude Code
ClaudeAI
YouGotTangoed16
🟧 hnShow HN: Airlock, which sandboxes AI agents, is available on the Mac App Storesimonmaddox10
🟠 redditI turned my idle mac’s into a local sandbox for claude & codex agentic coding, ci and computer use
codex
InjuryComplex561929
🟧 hnShow HN: Koala – Run AI Agents in Isolated Linux VMs on macOSkunalkushwaha30
🟧 hnHuman-in-the-loop authorization for AI agentsfeldrim10
🟧 hnShow HN: Secure dev boxes for your Macjanpmz20

Interpretation history

Decision trace