Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.268 ·

Sandboxed Bash/PowerShell commands can declare a per-command network allowlist

A new allowed_domains option lets sandboxed Bash/PowerShell commands reach specific extra hosts, enforced against the actual sandbox

TierNothing to try yethow much it should matter to you
Useful5my rating, 1 to 5
Signal4worth watching, 1 to 5
AreaSandbox Networkwhat it touches
KindIn Developmentin v2.1.268,
Group of 6 Nothing to try yet Notable

A new allowed_domains option lets sandboxed Bash/PowerShell commands reach specific extra hosts, enforced against the actual sandbox

What

  • Bash, PowerShell, and Monitor tool calls can now include an allowed_domains field listing hosts (plain domain, wildcard, or IP, each with an optional port) that a sandboxed command is allowed to reach. In auto mode this list is reviewed together with the command by the auto-mode classifier and applied for that one command; in any other mode it's ignored.
  • The list is checked against anti-spoofing rules that reject loopback/IPv4-mapped addresses and canonical-form mismatches.
  • If a command carries an allowed_domains list but wouldn't actually run inside a confining sandbox, execution is now refused outright instead of silently running unconfined. When it does run sandboxed, the list is registered with the sandbox manager for the life of the process and unregistered on exit or error, via new registerCommandNetworkLists/unregisterCommandNetworkLists sandbox functions.
  • A new canned deny response short-circuits network classification for hosts not in the command's allowed_domains, returning the message "not in this command's allowed_domains — re-run the command with this host listed if it needs it" instead of running the full classifier.
  • The whole capability is gated behind the tengu_flickering_rain flag plus sandboxing being enabled, and applies to both Bash and PowerShell's input validation.

Why

This gives the model a way to ask for specific extra network access a sandboxed command needs (for example, to reach a particular API) without disabling sandbox network confinement altogether, while making sure the allowlist is only honored when a real sandbox is actually enforcing it.

Read from
Names in the bundleallowed_domains
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up allowed_domains, on Claude Code changelog. * Added per-command `allowed_domains` to Bash, PowerShell and Monitor in auto mode with sandboxing: the hosts a command needs are reviewed with it and opened for it alone; other hosts are refused changelog see the edit
What has happened since
Flag reading moved The flag server now returns on for tengu_flickering_rain, read as this account. A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
Flag reading moved The flag server now returns off for tengu_flickering_rain, read as this account. A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
Flag reading moved The flag server now returns on for tengu_flickering_rain, read as this account. A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.

See this across every release →

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhether tengu_flickering_rain is switched on for any given user is not known from this evidence.
Anthropic's documentation agreesAnthropic's documentation has since written up allowed_domains, on Claude Code changelog.

See this entry in the whole of v2.1.268 →

Feedback