Prometheus diagnostics could omit operator.read enforcement
Description
The OpenClaw Prometheus diagnostics plugin did not enforce operator.read for its authenticated metrics endpoint. An identity-bearing Gateway caller whose effective role had no read scope could retrieve the diagnostics document even though ordinary read methods rejected the same identity.
Impact
Deployments using the Prometheus plugin with trusted-proxy or another identity-bearing authentication mode could expose operational metrics to an authenticated profile that was intentionally limited below read access. Shared-secret Gateway callers already have the documented full operator scope set and do not create this condition.
Patched Versions
The first stable patched version is 2026.9.3.
Mitigations
Upgrade the @openclaw/diagnostics-prometheus plugin to 2026.9.3 or later. Until upgraded, disable the Prometheus endpoint or ensure every identity allowed to reach it is intended to hold operator.read.