Skip to content

The sandboxes' network allowlist

Every Docker Sandbox (sbx) on a Linux host reaches the internet through the sbx proxy, which allows only what the network policy allows. The policy is sbx's balanced profile, which already allows GitHub, Anthropic, npm and PyPI. On top of it, the sandboxes may reach the hosts in this list and nothing else. A host has a scope: every sandbox, or one named sandbox (a name from systemd/sandboxes.conf on the Linux host; scripts/windows/sandboxes.conf on the owner's workstation is on hold). A machine without a sandbox of that name skips the line.

The list is one file, scripts/sandbox/network-allow.conf (scripts/sandbox/network-allow.conf). sandboxes.sh setup (Linux host) and Sandboxes.ps1 setup (on hold: Windows sandboxes) apply it:

  • a host in the list that no live rule allows is allowed;
  • a host the list drops is removed where it is still allowed;
  • an allow rule outside balanced that the list does not name, such as one added by hand with sbx policy allow network, is reported as drift and left alone. setup --prune-network (-PruneNetwork for Sandboxes.ps1) removes it.
  • a rule a kit adds to its sandbox (since sbx 0.53, the claude kit's Anthropic hosts) or the organization sets is never drift and never removed: without them the sandbox cannot sign in. The global policy is the rules of scope global; a sandbox's own rules are those of scope sandbox:<name> (#837).

A second run changes nothing. sandboxes.sh without arguments (status) shows the drift, and dev-doctor's network allowlist drift row reports it from sandboxes.sh network-drift.

Changing what the sandboxes may reach is the owner's call. A host goes in or out through a pull request that edits network-allow.conf with a reason, never by hand on a host. After editing the file, regenerate the tables below with bash scripts/sandbox/network-allow-doc.sh. A test fails while this page differs from the file.

Sandboxes v2 (#840) declares the same hosts in v3 kits that a sandbox's environment file names, instead of sbx policy allow rules: sandbox/kits/<owner>-network holds the hosts of every sandbox, sandbox/kits/<owner>-network-<sandbox> those of one sandbox. They are written from this file by pwsh -NoProfile -File scripts/sandbox/network-kits.ps1; run it after editing the file too, a test fails while a kit differs. A kit's rules apply when the sandbox is created, so a dropped host is simply left out of the kits.

The hosts of scope "every sandbox" are also the trusted domains of the dev-env baseline (Claude Code baseline), in the same order; a test keeps the two equal.

The hosts

Host Scope Why
claude.ai every sandbox Claude Code's sign-in, Remote Control and the claude.ai connectors
mcp.context7.com every sandbox the Context7 MCP server; the proxy puts CONTEXT7_API_KEY into its requests
ide.aikido.dev every sandbox the Aikido MCP server and scans; the proxy puts AIKIDO_API_KEY into its requests
app.aikido.dev every sandbox the Aikido API; the proxy puts AIKIDO_API_KEY into its requests
*.powershellgallery.com every sandbox PowerShell modules (Pester, PSScriptAnalyzer) that provisioning and the gate install
onegetcdn.azureedge.net every sandbox the NuGet provider PowerShellGet bootstraps before it installs from the gallery
semgrep.dev every sandbox the ruleset the pre-push hook semgrep-push downloads; the push fails without it
nodejs.org every sandbox Node.js for a workspace whose mise config declares it (sandbox-provision.sh, #548)
antigravity.google every sandbox agy's installer script (sandbox-provision.sh, #632)
antigravity-cli-auto-updater-974169037036.us-central1.run.app every sandbox agy's release manifest and self-update (#632)
generativelanguage.googleapis.com every sandbox the Gemini API; the proxy puts agy's key GEMINI_API_KEY into its requests (#632)
*.frame.claudeusercontent.com every sandbox Artifact read: claude.ai serves each page's content from a host of its own under frame.claudeusercontent.com, with a short-lived read token, no credential (#874)
claude.lauper.net claude the public docs site built from this repository: checking the published pages
feecheck.lauper.net claude the FeeCheck site, checked from the claude sandbox
feecheck.lauper.app claude the FeeCheck app, checked from the claude sandbox
<owner>.github.io claude GitHub Pages of the owner's account
accounts.google.com claude Google sign-in for gcloud and the Google connectors (dev-env:ops-doctor)
api.cloudflare.com claude the Cloudflare API: tunnels and token checks of dev-env:ops-doctor
api.osv.dev claude the OSV vulnerability database, for dependency checks
adr.github.io claude architecture decision record templates and guidance, for docs/adr
docs.arc42.org claude the arc42 architecture documentation template
martinfowler.com claude architecture and engineering articles cited in decisions
learn.microsoft.com claude Microsoft documentation: PowerShell, Windows, Azure
docs.aws.amazon.com claude AWS documentation, for hosting comparisons
www.heise.de claude technology news articles the owner hands to a session
accounts.google.com feecheck Google sign-in for gcloud and the Google connectors (dev-env:ops-doctor)

Dropped: setup removes these rules where they are still live.

Host Scope Why it was dropped
www.ozimmer.ch claude dropped by the owner 2026-11-13: allowed for one article only (#745)
cognitect.com claude dropped by the owner 2026-11-13