Skip to content

sandbox allowed domains#712

Open
kcoopermiller wants to merge 1 commit into
mainfrom
feature/allowed-domains
Open

sandbox allowed domains#712
kcoopermiller wants to merge 1 commit into
mainfrom
feature/allowed-domains

Conversation

@kcoopermiller

@kcoopermiller kcoopermiller commented Jun 4, 2026

Copy link
Copy Markdown
Member

Note

Medium Risk
Changes sandbox network egress configuration and API request shape; misconfiguration could block or unexpectedly allow outbound traffic for restricted sandboxes.

Overview
Adds egress domain allowlists for restricted (non-VM) sandboxes: allowed_domains on the SDK Sandbox and CreateSandboxRequest models (API alias allowedDomains), plus validation that the list is only used when network_access is false and vm is false.

The Prime CLI gains repeatable --allowed-domain on sandbox create (wildcards documented), mirrors the same rules before submit, passes the list into create requests, and shows Allowed Domains on create confirmation and sandbox get when non-empty.

Reviewed by Cursor Bugbot for commit 7e3141f. Bugbot is set up for automated code reviews on this repo. Configure here.

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