Skip to content

Conversation

@mhl-ant
Copy link
Collaborator

@mhl-ant mhl-ant commented Nov 24, 2025

These features enable integration with external security proxies:

  • env: Custom environment variables to set inside the sandbox. Useful for passing CA certificate paths when using MITM proxies.

  • preCommand: Shell command to run after network bridges are established but before the user command. Useful for initialization tasks.

  • skipGitConfigProtection: Skip mandatory blocking of .git/config and .git/hooks writes. Enable only when using an external security proxy that already protects against git config exploits (core.fsmonitor, etc.).

Also updates generateProxyEnvVars() to accept custom env vars and wires everything through the Linux sandbox path.

🤖 Generated with Claude Code

These features enable integration with external security proxies:

- `env`: Custom environment variables to set inside the sandbox. Useful for
  passing CA certificate paths when using MITM proxies.

- `preCommand`: Shell command to run after network bridges are established but
  before the user command. Useful for initialization tasks.

- `skipGitConfigProtection`: Skip mandatory blocking of .git/config and
  .git/hooks writes. Enable only when using an external security proxy that
  already protects against git config exploits (core.fsmonitor, etc.).

Also updates generateProxyEnvVars() to accept custom env vars and wires
everything through the Linux sandbox path.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@mhl-ant
Copy link
Collaborator Author

mhl-ant commented Nov 24, 2025

@ddworken @ollie-anthropic I'll fix the merge conflicts, but for now just looking to understand if this is in the right direction / if there's any structural feedback. my high level goal is to reuse the sandboxing part, but make it so I can point to a different network proxy instead of the built-in one.

Code does seem to work on my machine in my test env, but n=1 :)

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.

2 participants