Skip to content

Gvisor environment - #187

Open
tbuckley wants to merge 2 commits into
mainfrom
gvisor-environment
Open

Gvisor environment#187
tbuckley wants to merge 2 commits into
mainfrom
gvisor-environment

Conversation

@tbuckley

Copy link
Copy Markdown
Owner

No description provided.

Mirrors macos-proxy semantics using gVisor (runsc): the same HTTP/HTTPS
allowlist proxy fronts outbound traffic, and an OCI bundle generated per
invocation restricts filesystem writes to the workspace and a handful of
home-directory subpaths, with .clawmini hidden behind a read-only tmpfs.
Runs a fixed suite of six sandbox checks through the named environment's
prefix (workspace writable, .clawmini hidden, HTTP_PROXY env, clawmini-lite.js
on PATH, non-allowlisted domain blocked, host filesystem escape) and reports
PASS/FAIL per check. The suite is the same for every env so the FAILs reveal
which aspects each environment actually restricts — e.g. the macos env passes
the filesystem checks but fails the network ones, while macos-proxy and
gvisor-proxy are designed to pass all six.
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