Skip to content

Claude needs to not run with sudo permissions #4

Description

@jrothrock
  1. Claude can turn off iptables
  2. 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions