Skip to content

docker: Document that policy allows agents to bypass sandbox. Mention podman as safer alternative. #155

Description

@mnylen

This is probably known and unavoidable, but it may be worth documenting as unsafe: --enable=docker lets an agent bypass the sandbox’s filesystem restrictions. Because Docker can access the host filesystem, an agent could run an existing local image, mount the user’s home directory, and extract/overwrite files from it.

A very simple reproduction:

safehouse --enable=docker docker run --volume=$HOME/.zshrc:/flag --rm -it alpine:3.22 cat flag

Prints your .zshrc. Assumes alpine:3.22 is already pulled locally.

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

    documentationImprovements or additions to documentation

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions