Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ members = ["crates/*"]
[workspace.package]
version = "0.0.0"
edition = "2024"
rust-version = "1.88"
rust-version = "1.90"
license = "Apache-2.0"
repository = "https://github.com/NVIDIA/OpenShell"

Expand Down Expand Up @@ -73,6 +73,7 @@ serde_json = "1"
serde_yml = "0.0.12"
toml = "0.8"
apollo-parser = "0.8.5"
tower-mcp-types = "0.12.0"

# HTTP client
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls-native-roots"] }
Expand Down
13 changes: 7 additions & 6 deletions architecture/sandbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,13 @@ identifies the calling binary, checks trust-on-first-use binary identity, reject
unsafe internal destinations, and evaluates the active policy.
For inspected HTTP traffic, the proxy can enforce REST method/path rules,
WebSocket upgrade and text-message rules, GraphQL operation rules, and
JSON-RPC method and params rules on sandbox-to-server request bodies. JSON-RPC
request inspection buffers up to the endpoint `json_rpc.max_body_bytes` limit.
Literal dotted keys in JSON-RPC params are rejected before policy evaluation so
they cannot be confused with flattened nested selector paths.
JSON-RPC responses and server-to-client MCP messages on response or SSE streams
are relayed but are not currently parsed for policy enforcement.
MCP or generic JSON-RPC method and params rules on sandbox-to-server request
bodies. MCP and JSON-RPC inspection buffers up to the endpoint
`mcp.max_body_bytes` or `json_rpc.max_body_bytes` limit. Literal dotted keys in
JSON-RPC params are rejected before policy evaluation so they cannot be confused
with flattened nested selector paths. JSON-RPC responses and server-to-client
MCP messages on response or SSE streams are relayed but are not currently
parsed for policy enforcement.

`https://inference.local` is special. It bypasses OPA network policy and is
handled by the inference interception path:
Expand Down
Loading
Loading