-
-
Notifications
You must be signed in to change notification settings - Fork 69.2k
security audit --deep fails with missing scope: operator.read when probing gateway #47987
Copy link
Copy link
Open
Description
Description
When running openclaw security audit --deep, the command attempts to connect to the gateway WebSocket but fails with:
⇄ res ✗ status 0ms errorCode=INVALID_REQUEST errorMessage=missing scope: operator.read
This causes the gateway.probe_failed warning in the security audit output:
gateway.probe_failed Gateway probe failed (deep)
missing scope: operator.read
Fix: Run "openclaw status --all" to debug connectivity/auth, then re-run "openclaw security audit --deep".
Steps to Reproduce
- Run
openclaw security audit --deep - Observe the warning about
gateway.probe_failed - Check gateway logs - see
missing scope: operator.readerrors
Expected Behavior
The security audit --deep command should have sufficient permissions to probe the gateway, or should handle this gracefully without errors.
Environment
- OpenClaw version: 2026.3.13
- Node: v22.22.1
- OS: Ubuntu Linux 6.8.0-55-generic
Additional Context
The connection ID in logs matches the timing of running security audit --deep, confirming it's the audit command itself connecting to the gateway with insufficient token scope.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.