feat: require rootless production sandbox runners
This commit is contained in:
@@ -84,3 +84,12 @@ bash packages/casan-harness/scripts/bash/state-backup.sh restore "<backup-id>" -
|
||||
Perform and retain a restore drill before enabling write actions. A production
|
||||
runbook must define retention, off-site replication, an owner, RPO/RTO targets,
|
||||
and approval for any restore into a live state directory.
|
||||
|
||||
## Hardened runner requirement
|
||||
|
||||
Production sandbox execution requires a **rootless Docker daemon** plus a
|
||||
non-root container process (`65532:65532` by default). CASAN rejects a rootful
|
||||
daemon when `CASAN_PROFILE=prod`; the workload has no network, read-only root
|
||||
filesystem, no Linux capabilities, no-new-privileges, bounded PID/memory/CPU,
|
||||
and only its explicit workspace bind mount. Provision the workspace so the
|
||||
non-root runner identity can write it.
|
||||
|
||||
Reference in New Issue
Block a user