|
|
|
|
|
by molson8472
145 days ago
|
|
Once approval fatigue and ongoing permission management kicks in, the temptation is strong to run `--dangerously-skip-permissions`. I think that's what we all want - run agents in a locked-down sandbox where the blast radius of mistakes and/or prompt injection attacks is minimal/acceptable. I started running Claude Code in a devcontainer with limited file access (repo only) and limited outbound network access (allowlist only) for that reason. This weekend, I generalized this to work with docker compose. Next up is support for additional agents (Codex, OpenCode, etc). After that, I'd like to force all network access through a proxy running on the host for greater control and logging (currently it uses iptables rules). This workflow has been working well for me so far. Still fresh, so may be rough around the edges, but check it out: https://github.com/mattolson/agent-sandbox |
|