Repository navigation
Description
Investigation Summary
launch_command(crates/nemoclaw-sdk/src/openshell/network.rs:135) wraps the agent in/usr/bin/envand resetsHTTP_PROXY,HTTPS_PROXY,http_proxy,https_proxy,NO_PROXY, andno_proxyafter the supervisor sets them.- It also sets the Node.js-only
NODE_USE_ENV_PROXY=1(line 151) for every harness. - At the OpenShell pin,
crates/openshell-supervisor-network/src/upstream_proxy.rssays the supervisor rewrites these variables to point the workload at its local policy proxy, and that operators configure corporate proxies through compute-driver arguments. - Unknown: whether agent traffic then skips L7 inspection or credential injection on a live host; not tested.
Description
sandboxes[].network.proxy replaces the proxy variables OpenShell sets for the workload, so the agent sends HTTP(S) traffic to the declared proxy instead of the supervisor's policy proxy.
Expected: upstream proxy selection uses OpenShell's driver-level upstream proxy chaining, which keeps policy evaluation, SSRF checks, and credential injection in the path.
Harness-specific proxy variables such as NODE_USE_ENV_PROXY come from the Fabric adapter when a harness needs them.
Reproduction Steps
Run from a NemoClaw checkout at 515fad88f.
-
Show the wrapper and the Node.js variable:
sed -n '135,155p' crates/nemoclaw-sdk/src/openshell/network.rs -
Read OpenShell's contract for these variables at the pin:
curl -fsSL https://raw.githubusercontent.com/NVIDIA/OpenShell/1fe79f53991debf32776853a60f0cbd4e127dcfb/crates/openshell-supervisor-network/src/upstream_proxy.rs | sed -n '4,25p'
-
Read the user contract under Select the Agent Proxy:
sed -n '77,94p' docs/sandbox-network.md
Environment
- NemoClaw:
v1at515fad88f - OpenShell pin:
1fe79f53991debf32776853a60f0cbd4e127dcfb(versions.json) - NeMo Fabric pin:
24f068c895e5cbc30286bc743498be4e5014d658(crates/nemoclaw-sdk/Cargo.toml) - OpenTofu: 1.12.6 (
versions.json) - Host: macOS arm64 source checkout; static inspection only, no deployment
Debug Output
Not applicable: this finding comes from static source inspection at the revisions above.
No deployment ran, so there is no nemoclaw debug output.
Logs
No response
Checklist
- I confirmed this bug is reproducible
- I searched existing issues and this is not a duplicate
Activity
fix(network): preserve the OpenShell policy proxy
cv commentedon Sep 29, 2026
Completed on
v1in ac00822aac.Removed the per-sandbox
network.proxyfield and the launch wrapper that replaced OpenShell's proxy environment, including NemoClaw's unconditional Node-specific proxy setting. Unsupported proxy input now fails before deployment. External gateways use OpenShell's existing compute-driver proxy chaining; managed gateways do not gain a new proxy configuration surface.Validation: The rejection regression and explicit-policy lifecycle fixture pass. Existing deployments retaining the removed field require their original bundle for recovery or teardown. final native CI passed.