Skip to content

feat: expose sandbox services on localhost - #11

Open
farhan-helmy wants to merge 1 commit into
mainfrom
feat/service-exposure
Open

farhan-helmy wants to merge 1 commit into
mainfrom
feat/service-exposure

Conversation

@farhan-helmy

@farhan-helmy farhan-helmy commented Sep 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • add bxc sandbox expose SANDBOX_ID --port [LOCAL:]REMOTE with up to eight selected TCP mappings
  • bind every local listener to IPv4 loopback before requesting a nonrenewable five-minute grant
  • add a native Tailcat helper for Linux and macOS on x64 and arm64, with bounded flows, deadline shutdown, and parent-exit cleanup
  • validate and decrypt the exact capability generation, expiry, and remote port set without mutation retry or renewal
  • revoke on exit and preserve the distinction between guardian confirmation and an untrusted VM guest report
  • add release packaging, dependency-license collection, documentation, and CLI 0.6.0 notes

Validation

  • TypeScript typecheck, lint, and build
  • 50 Bun tests
  • native Go 1.27.1 tests
  • git diff --check, binary audit, and credential-pattern audit
  • confirmed @boxcompute/cli@0.6.0 is not already published

Dependencies / rollout

  • requires boxcompute/sandbox#630 and boxcompute/web-agent#154 to be deployed first
  • service access remains controlled by the server-side default-off feature flag
  • native cross-build and packed-package smoke checks run in CI

Server PR: https://github.com/boxcompute/sandbox/pull/630
Public adapter PR: https://github.com/boxcompute/web-agent/pull/154


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

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