Skip to content

fix(policy): convert npm_registry endpoint from access: full to protocol: rest (GET-only) #1355

@coderabbitai

Description

@coderabbitai

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: policyNetwork policy, egress rules, presets, or sandbox policysecurityPotential vulnerability, unsafe behavior, or access risk
    No fields configured for Enhancement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions