What happened
An attacker tricks a victim into visiting a malicious link, silently exfiltrates the OpenClaw authentication token, and establishes a direct, unauthenticated WebSocket connection to the victim's local OpenClaw instance to run arbitrary commands.
Why it matters
Complete compromise of the developer's or operator's workstation, including full read/write file access and shell command execution under the victim's user context.
Missing authorization check
The connection endpoint and incoming WebSocket messages should require explicit cryptographic verification and user authorization before executing system operations, rather than trusting local localhost context and raw URL parameters.
Would PP block it?
Even if an attacker hijacks the local WebSocket session or steals the raw authentication token, they cannot generate valid PP-signed receipts for file mutations or shell executions because the private keys/approval gates reside in an external, isolated enforcement layer.