Docker Is Not a Filesystem Policy: Evaluating sandbox-runtime for Local Isolation
At 3:00 AM, your incident channel lights up: a maintenance script you inherited from a contractor just uploaded your AWS credentials to a public S3 bucket. The script ran from your terminal with your full filesystem access. It was supposed to sync logs. Instead, it read ~/.aws/credentials and phoned home.
A local process inherits everything its developer can read. Dependency scripts, build tools, and third-party executables run with ambient authority—access far beyond what their task requires. Containers can narrow that access, but a convenient bind mount often gives it back. Mounting the home directory exposes credentials. Mounting the Docker socket exposes host control.…