Skip to content

🦞 Tracking: Secure & contained node (MXC) #837

Closed

Description

@samanthamsong

🦞 Tracking issue (epic) β€” this rolls up the scenario below. It holds no code itself; the work
lives in the child issues in the checklist below. Triage here, build there.

Outcome

My node is secure and contained β€” the blocked MXC 'big rock'.

Definition of done

Default tools (camera, browser) run contained, MXC session management + Entra agent sessions work, and there's UI to configure sandboxing plus an allowlisted tools registry. Most items are MXC-gated.

Child issues

Backlog: One-pagers/FY27-Windows-Node-work-items.md β€’ Narrative: User-scenarios/scenario-s4-secure-and-contained.md

PM note: we can't unblock the eng here, but we own the dependency. This epic doubles as a living dependency tracker with named owners + dates, driven via a recurring MXC sync.

Activity

  1. clawsweeper commented on Jun 26, 2026

    @clawsweeper

    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 open. This collaborator-owned security epic remains the canonical coordinator for several explicitly open deliverables. Current main proves an MXC containment foundation for system.run and a sandbox settings surface, but it does not establish the full requested outcome for default camera/browser tools, Entra/WAM sessions, an A365-backed allowlisted registry, and WorkIQ/ClawHub integration.

    Reproducibility: not applicable. This is a tracking epic for planned containment, identity, and governance capabilities rather than a report of one currently reproducible defect.

    Root-cause cluster
    Relationship: canonical
    Canonical: #837
    Summary: This epic is the canonical coordinator for distinct MXC containment, identity, allowlisting, UI, and ClawHub deliverables; the children overlap in outcome but require separate implementation and policy work.

    Members:

    Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

    Ways to help us reproduce this

    • Add a screenshot or short recording showing the behavior.
    • Add expected vs actual behavior.

    Maintainer decision needed

    Question Recommendation
    Should the Windows node retain the current compatibility host fallback for unavailable MXC while the remaining tool and identity controls are delivered, or should the epic adopt a planned fail-closed containment policy with migration and recovery behavior? Confirm staged compatibility: Keep the existing system.run fallback policy while child issues add and prove containment and governance per capability, then evaluate a deliberate default change later.

    Why: Current source deliberately preserves host fallback for compatibility, while the epic requests broader containment and governance. Selecting a default security posture and upgrade path requires maintainer product and security intent, not an autonomous repair.

    Next step
    This collaborator-owned, security-sensitive epic needs a maintainer decision on the containment and fallback contract before its distinct open child issues can be safely prioritized or implemented.

    Security
    Needs attention: This security epic remains incomplete: the shipped MXC path protects system.run, but the requested broader containment and governance boundary has not yet been established.

    Review details

    Best possible solution:

    Approve a staged containment and identity contract, then complete the remaining child issues with capability-specific enforcement and real gateway/MXC proof instead of treating the existing system.run sandbox as completion of the entire outcome.

    Do we have a high-confidence way to reproduce the issue?

    Not applicable. This is a tracking epic for planned containment, identity, and governance capabilities rather than a report of one currently reproducible defect.

    Is this the best way to solve the issue?

    No. Current main is the right foundation for contained system.run, but it is not the best complete solution for the epic because source limits that policy to system.run and the identity, registry, and default-tool work remains open.

    AGENTS.md: found and applied where relevant.

    Remaining risk / open question:

    • The epic's intended security boundary is not yet a single settled contract: current system.run preserves compatibility host fallback when MXC is unavailable, while default-tool containment and identity governance remain unimplemented child work.
    • Landing individual child changes without a maintainer-approved containment, credential, and allowlist policy could create inconsistent security behavior across command execution, camera/browser tools, and gateway calls.

    Codex review notes: model internal, reasoning high; reviewed against 8ac00c5f4977.

    Label changes

    Label justifications:

    • P2: This is a broad, important security and governance improvement program, but current evidence does not show an active release-blocking failure.
    • impact:security: The epic explicitly covers MXC containment, sandbox policy, tool allowlisting, and gateway tool-call governance.
    • impact:auth-provider: The requested Entra Agent Sessions and WAM helper work concerns the Windows node's authentication and token path.
    Evidence reviewed

    Security concerns:

    • [medium] Containment currently covers only system.run β€” src/OpenClaw.Shared/Mxc/MxcPolicyBuilder.cs:7
      MxcPolicyBuilder documents that it currently covers only system.run, while the epic requires default camera and browser tools to run contained as well.
      Confidence: 0.98
    • [medium] Fallback security posture needs explicit ownership β€” src/OpenClaw.Shared/Mxc/MxcCommandRunner.cs:17
      When MXC is unavailable, current behavior can use host fallback unless the strict setting is enabled; applying a different default across the epic needs a maintainer-approved migration and recovery policy.
      Confidence: 0.96

    What I checked:

    • Current MXC boundary: The policy builder states that it currently covers system.run only, so current source does not establish containment for the epic's default camera and browser tools. (src/OpenClaw.Shared/Mxc/MxcPolicyBuilder.cs:7, 8ac00c5f4977)
    • Existing compatibility policy: system.run uses MXC when available but retains host fallback by default unless strict blocking is enabled, leaving the long-term fail-closed governance choice unresolved. (src/OpenClaw.Shared/Mxc/MxcCommandRunner.cs:17, 8ac00c5f4977)
    • Current runtime proof: Current main includes real gateway-to-Windows-node MXC proofs for successful system.run execution and a denied write to tray data, demonstrating a contained execution foundation rather than the entire epic outcome. (tests/OpenClaw.E2ETests/Setup/MxcSetupAndConnectTests.cs:27, 8ac00c5f4977)
    • Implementation provenance: Local history identifies the MXC SDK validation in ce3294d4062458b71bd65efca1d38a6a3823000b and the gateway runtime proof in e70868d82bf04978b70c99ccafa7730024641647; both are contained by release v0.6.11. (tests/OpenClaw.E2ETests/Setup/MxcSetupAndConnectTests.cs:27, e70868d82bf0)
    • Open child work remains: The supplied issue context lists open child issues for the .NET SDK, Entra/WAM sessions, default-tool containment, A365 allowlisting, sandbox UI governance, and WorkIQ; these are materially broader than the already-shipped system.run path.
    • Repository review policy: The repository AGENTS.md treats MXC, node command execution, gateway paths, and permissions as proof-sensitive changes and requires the dedicated MXC E2E path for implementation work. (AGENTS.md:33, 8ac00c5f4977)

    Likely related people:

    • Vitor Cepeda Lopes: Authored the locally recorded MXC SDK validation and real gateway-to-Windows-node containment proof commits that establish the current foundation. (role: MXC runtime-proof contributor; confidence: high; commits: ce3294d40624, e70868d82bf0; files: src/OpenClaw.Shared/Mxc/MxcCommandRunner.cs, tests/OpenClaw.E2ETests/Setup/MxcSetupAndConnectTests.cs)
    • Barbara Kudiess: Introduced the AppContainer system.run sandbox and most recently updated the adjacent execution-approval path. (role: MXC sandbox and command-policy contributor; confidence: high; commits: 62533e2901bd, 4806eaac7c24; files: src/OpenClaw.Shared/Mxc/MxcCommandRunner.cs, src/OpenClaw.Shared/Mxc/MxcPolicyBuilder.cs)
    • Scott Hanselman: The local history attributes the unavailable-sandbox UI-state fix to this area and the supplied context shows explicit epic involvement. (role: recent sandbox UI contributor; confidence: medium; commits: cd02defd9942; files: src/OpenClaw.Tray.WinUI/Pages/SandboxPage.xaml.cs, src/OpenClaw.Tray.WinUI/Pages/SandboxPage.xaml)
    • samanthamsong: Opened this collaborator-owned tracking epic and authored the explicit definition of done and child-deliverable split. (role: epic coordinator; confidence: high)
    How this review workflow works
    • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
    • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
    • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
    • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
    • Maintainers can also comment @clawsweeper review to request a fresh review only.
    • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
    • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
    • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
  2. added
    P2
    impact:security
    impact:auth-provider
    issue-rating: 🌊 off-meta tidepool
    clawsweeper:no-new-fix-pr
    clawsweeper:needs-maintainer-review
    clawsweeper:needs-product-decision
    clawsweeper:needs-security-review
    clawsweeper:fix-shape-clear
    on Jun 26, 2026
  3. changed the issue type fromtoon Jun 26, 2026
  4. changed the issue type fromtoon Jun 26, 2026
  5. moved this from Backlog to Containment in Windows Companion Appon Jul 13, 2026
  6. github-actions commented on Jul 27, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale due to inactivity.
    Please add updated OpenClaw Windows details or it will be closed.

  7. added
    clawsweeper:needs-maintainer-review
    and removed
    clawsweeper:fix-shape-clear
    clawsweeper:needs-maintainer-review
    on Jul 30, 2026
  8. added
    clawsweeper:needs-security-review
    and removed
    clawsweeper:needs-security-review
    on Aug 1, 2026
  9. samanthamsong commented on Aug 7, 2026

    @samanthamsong
    CollaboratorAuthor

    Closing: replaced by project board Scenarios view (Mission field). Scope tracked there going forward.

  10. locked as resolved and limited conversation to collaborators on Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    EPICP2clawsweeper:needs-maintainer-reviewclawsweeper:needs-product-decisionclawsweeper:needs-security-reviewclawsweeper:no-new-fix-primpact:auth-providerimpact:securityissue-rating: 🌊 off-meta tidepool

    Fields

    Priority

    Medium

    Start date

    None yet

    Target date

    None yet

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions