- Claude can turn off iptables
- It can read the allowlist-proxy private key passed in via
-e in docker with sudo cat proc/${pgrep allowlist-proxy}/environ. We can't move the private key to embed, as we just move the goalposts and it will just disassemble the binary. This allows claude to add files to allowed-domain list (we want this) but then can sign the file, overwrite the other one, and sighup the proxy.
Claude might not do these things though even with sudo, as it shouldn't really have any context surrounding this (in normal cases it won't see the .devcontainer / main.go / entrypoint.sh). More obfuscation security but maybe it's fine for now
Removing it requires investigation with DinD on Macos with --privilleged
-ein docker withsudo cat proc/${pgrep allowlist-proxy}/environ. We can't move the private key to embed, as we just move the goalposts and it will just disassemble the binary. This allows claude to add files to allowed-domain list (we want this) but then can sign the file, overwrite the other one, and sighup the proxy.Claude might not do these things though even with sudo, as it shouldn't really have any context surrounding this (in normal cases it won't see the .devcontainer / main.go / entrypoint.sh). More obfuscation security but maybe it's fine for now
Removing it requires investigation with DinD on Macos with
--privilleged