Summary
The npm_registry endpoint in nemoclaw-blueprint/policies/openclaw-sandbox.yaml currently uses access: full, which causes the proxy to treat connections as L4-only. This prevents per-request rule evaluation, per-request logging, and SecretResolver credential injection.
Proposed Change
Convert the npm_registry endpoint to use:
protocol: rest
enforcement: enforce
tls: terminate
- Method restricted to
GET /** only (npm registry reads are GET-only; no writes are expected from NemoClaw agents)
This aligns npm_registry with the pattern established for other external REST endpoints in the policy file (e.g., github.com, api.github.com after PR #1225).
Motivation
References
Summary
The
npm_registryendpoint innemoclaw-blueprint/policies/openclaw-sandbox.yamlcurrently usesaccess: full, which causes the proxy to treat connections as L4-only. This prevents per-request rule evaluation, per-request logging, and SecretResolver credential injection.Proposed Change
Convert the
npm_registryendpoint to use:protocol: restenforcement: enforcetls: terminateGET /**only (npm registry reads are GET-only; no writes are expected from NemoClaw agents)This aligns
npm_registrywith the pattern established for other external REST endpoints in the policy file (e.g.,github.com,api.github.comafter PR #1225).Motivation
npm_registryas a related change alongside the GitHub endpoints.References