Skip to content

feature: Self service and docs around sbx sandbox egress #779

Closed

Description

@esnible

Feature Description

The egress rules on the sandbox are confusing. Both the user and agents should understand the egress policy, and we should allow self-service if possible.

The documentation still indicates that sandbox has no network (Claude assumed GitHub was unreachable until I let it check).

I tried a personal project that needed cspell, Node, Ruby, PyMuPDF/numpy/Pillow, pdftoppm and tesseract. Claude couldn't reach PyPI and started working out how to obtain source code and build them on the sandbox.

When install commands fail Claude probes and gets a 403. The 403's body doesn't give any useful information about what hosts are available. Consider letting the 403 body list the allow list, or having it tell the user/agent how to fetch the allowlist from the control plane (e.g. a new mocactl sbx info that gives information about the sandbox instance and sandbox control plane configuration.

Browsing to or curl the control plane URL, e.g. https://api.moca-sbx.vpc-int.res.ibm.com, should display a message that it is a moca sandbox control plane, and possibly suggest ways to curl for more information or obtain mocactl, rather than give a 404.

Proposed Solution

  • Document that network traffic is restricted, not blocked
  • Blocked traffic should return 403 plus a link to moca and the control plane instance
  • The control plane base URL should return advertising for moca and how to contact the control plane admin to request additional egress

Want to contribute?

  • I would like to work on this issue.

Additional Context

No response

Activity

  1. added
    enhancement
    on Nov 12, 2026
  2. added this to the v0.11.0 milestone on Nov 17, 2026
  3. self-assigned this
    on Nov 17, 2026
  4. added a commit that references this issue on Nov 17, 2026
    2ac10b0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions