feat(sandbox): extend managed allowlist with build + dataset egress domains

Widens the Bash-subprocess egress allowlist for common agent workflows:
Anthropic direct (api, statsig), Ubuntu mirrors, NodeSource/deb for Node,
crates.io (Rust), yarn, full npm + pypi groups, GitHub release assets,
and wildcards for geoboundaries, googleapis, jsdelivr — covers dataset
fetches and CDN-backed library assets that previously failed silently.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Thomas Friedel 2026-04-18 23:39:34 +02:00
parent c5f6764470
commit 6af5180513
1 changed files with 24 additions and 6 deletions

View File

@ -7,15 +7,33 @@
"enableWeakerNestedSandbox": true,
"network": {
"allowedDomains": [
"pypi.org",
"files.pythonhosted.org",
"registry.npmjs.org",
"anthropic-proxy",
"api.anthropic.com",
"statsig.anthropic.com",
"github.com",
"api.github.com",
"raw.githubusercontent.com",
"objects.githubusercontent.com",
"codeload.github.com",
"anthropic-proxy"
"objects.githubusercontent.com",
"raw.githubusercontent.com",
"release-assets.githubusercontent.com",
"registry.npmjs.org",
"npmjs.com",
"npmjs.org",
"yarnpkg.com",
"registry.yarnpkg.com",
"pypi.org",
"pythonhosted.org",
"files.pythonhosted.org",
"crates.io",
"index.crates.io",
"static.crates.io",
"deb.nodesource.com",
"archive.ubuntu.com",
"security.ubuntu.com",
"*.geoboundaries.org",
"www.geoboundaries.org",
"*.googleapis.com",
"*.jsdelivr.net"
]
}
},