If you discover a security vulnerability in podspawn, please report it responsibly.
Do not open a public GitHub issue for security vulnerabilities.
Instead, email [email protected] with:
- Description of the vulnerability
- Steps to reproduce
- Affected versions
- Any potential mitigations you've identified
We aim to acknowledge reports within 48 hours and provide a fix within 7 days for critical issues.
| Version | Supported |
|---|---|
| Latest release | Yes |
| Previous minor | Best effort |
| Older | No |
Podspawn hooks into the host's native sshd via AuthorizedKeysCommand. The security boundary relies on:
- OpenSSH for all protocol-level security (key exchange, encryption, authentication)
- Docker for container isolation (namespaces, cgroups, seccomp)
- Per-user file locking for session state consistency
- SQLite with WAL mode for concurrent state access
Containers launch with these defaults (configurable in /etc/podspawn/config.yaml):
cap-drop: ALLwith selective re-adds (CHOWN, SETUID, SETGID, DAC_OVERRIDE, FOWNER, NET_BIND_SERVICE)no-new-privileges: truepids-limit: 256- Per-user bridge network isolation
- Max 3 containers per user (configurable via
resources.max_per_user)
Optional hardening (not enabled by default):
readonly_rootfs: truewith tmpfs mounts for /tmp and /home- gVisor runtime (
runtime: runsc) for kernel-level isolation
podspawn server-setup creates an emergency key file at /etc/podspawn/emergency.keys. This provides break-glass root access if the podspawn binary malfunctions. Keep this file secure and audit its contents regularly.
- Containers share the host kernel (standard Docker isolation, not VM-level)
- SSH agent forwarding uses per-PID symlinks in a bind-mounted directory
- The state database (
/var/lib/podspawn/state.db) requires appropriate filesystem permissions for multi-user access