NemoClaw
NemoClaw copied to clipboard
[Ubuntu 22.04] Network Whitelisting Only Enforced for npm/PyPI; GitHub/Hugging Face/Docker Remain Unrestricted
Description
[Description]
During NemoClaw sandbox use, network allow rules that are tied to package managers (npm, pip / PyPI) behave as expected, but similar allow rules added via presets or operator approval for GitHub, Hugging Face, Docker Hub / NVCR, etc. do not appear to take effect: outbound HTTPS to those hosts is still denied or intercepted even though the UI or policy listing shows the preset as enabled (e.g. bullet shown as applied in nemoclaw / TUI).
[Environment]
- Device: Ubuntu 22.04
- Node.js: v20.20.1
- npm: 10.8.2
- Docker: Docker Engine 29.3.0
- OpenShell CLI: 0.0.15
- NemoClaw: v0.1.0 (cec1e4)
- OpenClaw: 2026.3.11 (29dc654)
Note: it can be reproducible with other environment intermittently
[Steps to Reproduce]
- Complete NemoClaw onboarding with a sandbox.
- Confirm baseline:
npm install/pip installagainst registry hosts succeeds (or is allowed without repeated TUI prompts). - Add presets (or approve flows) for GitHub, Hugging Face, and Docker (e.g.
nemoclaw→ select docker / huggingface; or equivalent).policy-add - Verify policy UI /
nemoclawshows these presets as applied (●).policy-list - Inside the sandbox (or via agent), run operations that should use those hosts, for example:
git clone https://github.com/...orgh api ...huggingface-cli download ...or Pythonhuggingface_hubdocker pull ...(registry-1.docker.io / nvcr.io as applicable)
- Observe: requests are still blocked or prompted again as if the destination were not allowed.
- Contrast: repeat a minimal
npmorpipfetch toregistry.npmjs.org/pypi.org— observe success with the same policy state.
[Expected Behavior]
- When an operator enables GitHub, Hugging Face, or Docker presets (or approves equivalent rules), legitimate tooling documented for that preset should be able to reach the listed hosts without spurious denials, consistent with how npm and PyPI presets behave today.
- If enforcement is intentionally binary-scoped, the CLI/TUI/docs should state explicitly that “allowing GitHub” means only for
/usr/bin/gitand/usr/bin/gh(or whatever paths) so users are not led to believe “host is open” for all processes. - If binary scoping is correct by design, then presets should include the actual binaries used in the NemoClaw sandbox image (or wildcards where safe), so presets are not no-ops in practice.
Steps to reproduce
No steps provided.
[NVB# 6018311]
[NVB#6018311]
Closed by NV QA.