Skip to content

fix(policy): statsig.anthropic.com and sentry.io missing protocol: rest — L7 rules not enforced #1214

@ericksoa

Description

@ericksoa

Summary

The default sandbox policy (nemoclaw-blueprint/policies/openclaw-sandbox.yaml L58-L67) defines GET/POST rules for statsig.anthropic.com and sentry.io, but both endpoints are missing protocol: rest, enforcement: enforce, and tls: terminate.

Without protocol: rest, the proxy treats these as L4-only connections (no HTTP inspection). The method/path rules are never evaluated — any HTTP method is allowed through.

Impact

Low severity — these are telemetry endpoints (statsig = feature flags, sentry = error reporting), both locked to the claude binary. But the policy expresses an intent to restrict methods that isn't actually enforced.

Fix

Add protocol: rest, enforcement: enforce, and tls: terminate to both endpoints, matching api.anthropic.com and all other REST endpoints in the file.

Credit: Alex Watson (policy prover analysis)

Metadata

Metadata

Assignees

No one assigned

    Labels

    securityPotential vulnerability, unsafe behavior, or access risk

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions