Experimental: evaluate Microsoft MXC sandbox - #205
Open
yikkuro (yikkuro) wants to merge 1 commit into
Open
Conversation
Route the minimal agent file and process tool surface through a pinned MXC worker, enforce fail-closed Gateway startup, add per-agent path policy UX, and package the native runtime for EXE and MSIX builds. Related: #202 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1fe75171-fea2-45ef-9401-bf8a4ea0f2ba
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Experimental Windows-native sandbox POC using Microsoft MXC for agent-controlled file and process tools.
Related: #202
Warning
MXC 0.7.0 is a public preview and explicitly is not a production security boundary. This PR is evidence for the P0 decision, not a production security claim.
Architecture
@microsoft/mxc-sdk@0.7.0, upstream tag commit34d7fe2b4b3226bd4d11dc4a32419b7ec198a88b, and policy schema0.7.0-alpha.mxc_read,mxc_write,mxc_edit, and boundedmxc_execfor model use.wxc-exec; child processes remain in the contained process tree.Fail-closed behavior
wxc-host-prep, requests UAC, changes system ACLs, or falls back to unrestricted host execution.UX and packaging
node-pty, andsemverin EXE and MSIX outputs; AppContainer payloads are absent.Validation
git diff --checkpassed.node-pty, andsemver.MicroClawDesktop-1.0.0-x64.msixpassed manifest/resource validation with safe test identity defaults.openclaw config validate; cold plugin inspection loaded with zero tools whenMICROCLAW_MXC_READY=0.Live Windows result / blocker
The signed x64 executor hash matches the pinned package (
2wo0Ir6eGzlswbJUfHD/FrJ0EkOKMcEKRavzcMrIauI=), but this host selectsappcontainer-dacl: BaseContainer is unavailable and BFS is not compiled into the release binary. The benign worker probe therefore failed closed becausefallback.allowDaclMutation=false.Microsoft documents elevated
wxc-host-prep prepare-system-driveandprepare-null-devicefor this tier, and Tier 3 still requires explicit DACL-mutation consent. This PR intentionally performed neither. The full live RW/RO/unapproved-path/child/network/junction containment matrix remains pending a BaseContainer-capable host or separately approved Tier-3 evaluation.