Repository navigation
Closed as not planned
Labels
P2Normal priority bug or improvement with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:securityThis issue is about security boundaries, credentials, authz, sandboxing, or sensitive data.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.stale
Description
Epic: «Secure & contained node (MXC)» (#837)
Backlog Doc ID: #2 · Priority: P2 · Area: containment
Description
Replace our exec-based build script with a proper .NET SDK for MXC.
Definition of done
Node builds/integrates via the MXC .NET SDK instead of the exec shim.
Part of the «Secure & contained node (MXC)» tracking issue (#837).
Reacted by clawsweeper
Reacted by clawsweeper
Metadata
Metadata
Assignees
Labels
P2Normal priority bug or improvement with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:securityThis issue is about security boundaries, credentials, authz, sandboxing, or sensitive data.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.stale
Type
Fields
Priority
Medium
Activity
clawsweeper commentedon Jun 26, 2026
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed August 2, 2026, 1:58 PM ET / 17:58 UTC.
Summary
Keep this collaborator-authored security-boundary feature open. Current main still obtains
wxc-exec.exefrom the Node MXC package and launches it from .NET, so the requested managed SDK replacement is not implemented. A maintainer must select the supported SDK and approve the containment, fallback, packaging, and validation contract before work can be safely scoped.Likely related people: Scott Hanselman is the strongest source-history routing candidate, with Barbara Kudiess a recent contributor to the adjacent exec-approval path.
Reproducibility: not applicable. as a failure reproduction: this is an implementation-direction request. Current source does provide high-confidence confirmation that the active path still uses the executable bridge rather than a managed .NET SDK.
Ways to help us reproduce this
Maintainer decision needed
wxc-exec.exebridge with a specific supported managed .NET MXC SDK, and what containment and host-fallback compatibility contract must that migration preserve?Why: The requested work changes the implementation of the
system.runsandbox boundary and cannot be reduced to a mechanical refactor without choosing an SDK support policy and acceptable upgrade behavior.Next step
A maintainer must choose the managed SDK and the security and upgrade contract before a bounded implementation PR can be safely defined.
Security
Needs attention: This security-sensitive issue proposes replacing the
system.runcontainment mechanism, so SDK parity and real containment proof require deliberate review before implementation.Review details
Best possible solution:
Adopt a maintainer-selected managed MXC SDK behind the existing command-runner seam, preserving current containment policy, compatibility fallback behavior, tray diagnostics, package publishing, and real Gateway positive and denied-write proof.
Do we have a high-confidence way to reproduce the issue?
Not applicable as a failure reproduction: this is an implementation-direction request. Current source does provide high-confidence confirmation that the active path still uses the executable bridge rather than a managed .NET SDK.
Is this the best way to solve the issue?
Unclear until maintainers select a supported SDK and compatibility contract. Current main does not meet the requested managed-integration direction, but an unplanned replacement would be unsafe at the command-containment boundary.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
Codex review notes: model internal, reasoning high; reviewed against 8ac00c5f4977.
Label changes
Label justifications:
P2: This is a meaningful containment-platform improvement, but current evidence does not show an active security bypass, data loss, or unavailable core runtime.impact:security: The request replaces the execution mechanism that enforces AppContainer containment for Windows node commands.Evidence reviewed
Security concerns:
src/OpenClaw.Shared/Mxc/MxcExecutor.cs:9The current helper owns AppContainer command execution, policy transport, and availability behavior; a managed replacement must prove equivalent containment and denied-write behavior through the real gateway path.
Confidence: 0.92
What I checked:
wxc-exec.exe, validates an executable path at construction, and starts that executable withProcessStartInfo; this is not a managed SDK invocation. (src/OpenClaw.Shared/Mxc/MxcExecutor.cs:9, 8ac00c5f4977)@microsoft/mxc-sdksolely to extractwxc-exec.exeand copies that executable plus sibling DLLs into the application output, confirming the Node package remains the current integration boundary. (src/OpenClaw.Tray.WinUI/OpenClaw.Tray.WinUI.csproj:110, 8ac00c5f4977)wxc-exec.exepath and constructsMxcExecutorwith it before execution, so replacing the shim changes the activesystem.runcontainment path rather than an unused build dependency. (src/OpenClaw.Shared/Mxc/DirectAppContainerExecutor.cs:73, 8ac00c5f4977)docs/WINDOWS_NODE_TESTING.md:181, 8ac00c5f4977)src/OpenClaw.Shared/Mxc/MxcExecutor.cs:1, 15ed439dc5a3)qa/maturity-scores.yamlin this checkout, so no stable-surface maturity label can be supported.Likely related people:
git blameattributes the inspected MXC executor source to Scott's retained commit, making him the strongest available routing candidate for the present executable bridge. (role: current code provenance; confidence: medium; commits: 15ed439dc5a3; files:src/OpenClaw.Shared/Mxc/MxcExecutor.cs)system.runroute that selects MXC containment. (role: recent area contributor; confidence: medium; commits: 4806eaac7c24; files:src/OpenClaw.Shared/Mxc/MxcCommandRunner.cs,tests/OpenClaw.Shared.Tests/Mxc/MxcCommandRunnerTests.cs)How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper autofix,@clawsweeper automerge,@clawsweeper fix ci, or@clawsweeper address review.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.2 remaining items
github-actions commentedon Aug 18, 2026
This issue has been automatically marked as stale due to inactivity.
Please add updated OpenClaw Windows details or it will be closed.
github-actions commentedon Aug 25, 2026
Closing due to inactivity.
If this still affects OpenClaw Windows, open a new issue with the current version, logs, and fresh reproduction details.