Skip to content

feat: fail-closed operator setuid launcher + evidence gate - #341

Merged
ZhiXiao-Lin merged 3 commits into
mainfrom
feat/operator-setuid-launcher-evidence
Sep 13, 2026
Merged

ZhiXiao-Lin merged 3 commits into
mainfrom
feat/operator-setuid-launcher-evidence

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • Non-root native Linux Host spawn without A3S_BOX_CI_SETPRIV_WRAPPER fail-closes unless the resolved launcher is root-owned setuid (mode 4755).
  • prepare-linux-sandbox-host.sh --install-launcher refuses nosuid installs where chmod 4755 does not stick.
  • Adds self-hosted scripts/proof-linux-sandbox-setuid-launcher.sh (a3s.box.linux-sandbox-setuid-launcher-proof.v1).
  • Updates Sandbox GA binder / installation docs: CI setpriv remains lab-only; does not flip B2 or MicroVM cutover.

Test plan

  • Linux CI Format / Clippy / unit tests (setuid rejection unit test)
  • SDK Local Sandbox still green with A3S_BOX_CI_SETPRIV_WRAPPER (setuid check skipped)
  • On a suid-capable host: run proof-linux-sandbox-setuid-launcher.sh and confirm report status=passed

ZhiXiao-Lin and others added 3 commits September 13, 2026 14:19
Non-root Host spawn without CI setpriv requires a root-owned setuid
launcher. Host prep refuses nosuid installs; self-hosted proof script
documents the operator path without claiming setpriv as setuid evidence.

Co-authored-by: Cursor <[email protected]>
@ZhiXiao-Lin
ZhiXiao-Lin merged commit cd9b831 into main Sep 13, 2026
25 of 26 checks passed
ZhiXiao-Lin added a commit that referenced this pull request Sep 13, 2026
Close the #341 evidence loop with an honesty checker that refuses
setpriv-as-setuid, non-4755/non-root launchers, and B2/cutover claims.
Wire Format CI --self-test and invoke from the proof script after pass.

Co-authored-by: Cursor <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant