Skip to content

fix: Allow network access while file system isolation is enabled.#246

Open
dileepyavan wants to merge 2 commits into
anthropic-experimental:mainfrom
microsoft:clean-0487506-allow-network
Open

fix: Allow network access while file system isolation is enabled.#246
dileepyavan wants to merge 2 commits into
anthropic-experimental:mainfrom
microsoft:clean-0487506-allow-network

Conversation

@dileepyavan

@dileepyavan dileepyavan commented May 5, 2026

Copy link
Copy Markdown

fixes #253

Summary

This PR adds support for running sandboxed commands with normal network access when a user explicitly opts in, while continuing to keep filesystem protections in place.

Why

Some developer workflows need unrestricted network access, but still benefit from limiting what files a command can read or write. This change makes that use case easier to configure and clearer to document.

What changed

  • Adds a configuration option to allow normal network access when needed.
  • Keeps filesystem sandboxing active even when network restrictions are turned off.
  • Updates the README with guidance and examples for this mode.
  • Adds test coverage to make sure the behavior stays consistent.

@dileepyavan dileepyavan marked this pull request as ready for review May 5, 2026 22:41
@dileepyavan dileepyavan changed the title changes for allow network Allow network access while file system isolation is enabled. May 5, 2026
@dileepyavan dileepyavan changed the title Allow network access while file system isolation is enabled. fix: Allow network access while file system isolation is enabled. May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow disabling network isolation while preserving filesystem sandboxing

1 participant