Podbot's security model is based on capability-based containment:
-
Host socket isolation: The Rust command-line interface (CLI) holds the host Podman/Docker socket. The agent container never receives access to this socket.
-
Nested containers: The agent container can run an inner Podman service for any nested container operations, isolated from the host.
-
Filesystem capabilities: The
cap-stdcrate provides capabilities- oriented filesystem access, preventing path traversal attacks. -
Credential injection: Host credentials (Claude, Codex) are copied into the container at startup rather than mounted, preventing runtime credential exfiltration.