Skip to content

feat(server): enroll managed sandbox browsers - #39

Draft
xerrors wants to merge 2 commits into
mainfrom
feat/managed-sandbox-browser
Draft

xerrors wants to merge 2 commits into
mainfrom
feat/managed-sandbox-browser

Conversation

@xerrors

@xerrors xerrors commented Nov 20, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add opt-in enrollment for managed sandbox browsers through a trusted OIDC issuer. An enrolled sandbox redeems a one-time bootstrap credential for a browser device key without an interactive authorization step.
  • Limit delegated MCP access to the enrolled browser. Reuse the device across enrollment retries, retire old credentials and sessions when the sandbox generation changes, and honor explicit revocation.
  • Require the current device credential version before reporting an existing WebSocket as online. Add regression coverage for overlapping enrollment requests during generation replacement.

Verification

  • Linux npm run check passed with 365 tests passed and 28 skipped. Server and extension package verification passed.
  • 23 targeted identity and browser protocol tests passed locally.
  • The matching server changes were exercised with a real Cube sandbox and Chromium. After snapshot pause and resume, a fresh tab could still read the persistent cookie and localStorage values, and the device ID stayed the same.
  • The macOS full check stopped at a Swift concurrency error in NativeDriver.swift. That file is identical to main.

This branch has not been deployed

No deployments
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