Sandbox egress proxy blocks GitHub access for OpenClaw agent despite policy allowing it
Description
The OpenClaw agent inside a NemoClaw sandbox cannot access GitHub (api.github.com, github.com) even when the network policy explicitly allows it with access: full. The egress proxy returns HTTP 403 on CONNECT tunnels.
Steps to Reproduce
- Create a sandbox with a policy that includes:
github: name: github endpoints: - host: github.com port: 443 access: full - host: api.github.com port: 443 access: full - Inside the sandbox, test:
# Works (git binary is in the original policy's allowed binaries) git ls-remote https://github.com/user/repo.git HEAD # ✅ # Fails (curl/node not in allowed binaries) curl https://api.github.com/ # ❌ 403 Forbidden - The OpenClaw agent uses Node.js (
/usr/local/bin/node) to fetch from GitHub, which is blocked.
Root Cause
The default NemoClaw network policy (openclaw-sandbox.yaml) restricts GitHub access to specific binaries:
binaries:
- path: /usr/bin/gh
- path: /usr/bin/git
OpenClaw runs as /usr/local/bin/node, so its requests are blocked by the egress proxy even when access: full is set.
Setting access: full without a binaries restriction in a new policy does not help — the proxy still returns 403 on CONNECT tunnels from non-whitelisted binaries.
Additionally, openshell policy set does not fully replace the running policy — binary restrictions from the original policy persist even after applying a new policy without them.
Impact
The OpenClaw agent cannot:
- Fetch repository contents for code review
- Access GitHub APIs for issue management
- Clone repositories programmatically
The Telegram bridge agent responds with "DNS resolution failure" when asked to review GitHub repos.
Workaround
- Use
openshell sandbox connect nemoclawand rungitcommands manually (interactive git works) - Upload files via
openshell sandbox upload
Environment
- DGX Spark (GB10, aarch64)
- OpenShell 0.0.11
- NemoClaw 0.1.0
- OpenClaw 2026.3.13
Suggestion
The default policy should either:
- Not restrict GitHub access by binary path (let any process access allowed endpoints)
- Include
/usr/local/bin/nodein the allowed binaries for GitHub - Or provide a documented way to override binary restrictions via
openshell policy set
Working on it.
Thanks for describing the issue with the egress proxy blocking GitHub access for the OpenClaw agent, despite the network policy explicitly allowing it, which is a good starting point for investigating this problem.
Checking in — it's been about a month since we last heard on this. Several network policy and proxy fixes have landed since March 20, including a dedicated github policy preset and improved CONNECT tunnel handling. Could you confirm whether this is still reproducible on the latest version? If we don't hear back within 7 days, we'll post a reminder; items with no response at 14 days are closed to keep the queue healthy.
Closing due to inactivity. It's been 14 days since we requested additional information and we haven't heard back. Feel free to reopen if you're able to follow up, or open a new issue with the requested details included. Thanks for contributing to NemoClaw.