Skip to content

feat: add unrestricted network mode - #3

Merged
richardkiene merged 10 commits into
mainfrom
feature/network-mode
Aug 19, 2026
Merged

feat: add unrestricted network mode#3
richardkiene merged 10 commits into
mainfrom
feature/network-mode

Conversation

@richardkiene

Copy link
Copy Markdown
Contributor

Summary

  • add trusted-user network.mode: "unrestricted" for open outbound internet access while retaining Sandlot's filesystem, process, environment, credential, socket, local-binding, and lifecycle protections
  • keep existing configurations in strict filtered mode by default and reject ambiguous project/sibling network rules
  • validate the effective mode across the isolated Sandbox Runtime boundary and serialize initialization/reset ownership to prevent stale unrestricted state
  • add redaction-safe diagnostics, macOS enforcement coverage, and self-contained public documentation
  • keep SPEC.md local-only by removing it from Git/package output and ignoring future local copies

Configuration

{
  "network": {
    "mode": "unrestricted"
  }
}

Only trusted user policy may select this mode. Any sandbox-readable data can then be sent to arbitrary internet destinations.

Verification

  • npm run release:verify
    • 573 unit/contract tests passed
    • 24 macOS integration tests passed; 1 Linux-only test skipped
    • 21 installed-package smoke tests passed; 1 platform test skipped
    • typecheck, build, and pack checks passed
  • npm ls --all
  • git diff --check
  • independent whole-branch security review: PASS

Linux/Bubblewrap remains intentionally deferred for the first release.

@richardkiene
richardkiene merged commit a521ff1 into main Aug 19, 2026
1 check passed
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