Summary
OpenClaw macOS desktop client registers the openclaw:// URL scheme. For openclaw://agent deep links without an unattended key, the app shows a confirmation dialog that previously displayed only the first 240 characters of the message, but executed the full message after the user clicked "Run".
At the time of writing, the OpenClaw macOS desktop client is still in beta.
An attacker could pad the message with whitespace to push a malicious payload outside the visible preview, increasing the chance a user approves a different message than the one that is actually executed.
Impact
If a user runs the deep link, the agent may perform actions that can lead to arbitrary command execution depending on the user's configured tool approvals/allowlists. This is a social-engineering mediated vulnerability: the confirmation prompt could be made to misrepresent the executed message.
Affected Versions
- OpenClaw macOS desktop client versions >= 2026.2.6 and <= 2026.2.13.
Fixed Versions
Mitigations
- Do not approve unexpected "Run OpenClaw agent?" prompts triggered while browsing untrusted sites.
- Use unattended deep links only with a valid
key for trusted personal automations.
Resolution
Unkeyed deep links now enforce a strict message length limit for confirmation and ignore delivery/routing knobs (deliver, to, channel) unless a valid unattended key is provided.
Fix commit: 28d9dd7a772501ccc3f71457b4adfee79084fe6f
Fix commit 28d9dd7a772501ccc3f71457b4adfee79084fe6f confirmed on main and in v2026.2.14. Upgrade to openclaw >= 2026.2.14.
References
Summary
OpenClaw macOS desktop client registers the
openclaw://URL scheme. Foropenclaw://agentdeep links without an unattendedkey, the app shows a confirmation dialog that previously displayed only the first 240 characters of the message, but executed the full message after the user clicked "Run".At the time of writing, the OpenClaw macOS desktop client is still in beta.
An attacker could pad the message with whitespace to push a malicious payload outside the visible preview, increasing the chance a user approves a different message than the one that is actually executed.
Impact
If a user runs the deep link, the agent may perform actions that can lead to arbitrary command execution depending on the user's configured tool approvals/allowlists. This is a social-engineering mediated vulnerability: the confirmation prompt could be made to misrepresent the executed message.
Affected Versions
Fixed Versions
Mitigations
keyfor trusted personal automations.Resolution
Unkeyed deep links now enforce a strict message length limit for confirmation and ignore delivery/routing knobs (
deliver,to,channel) unless a valid unattendedkeyis provided.Fix commit: 28d9dd7a772501ccc3f71457b4adfee79084fe6f
Fix commit 28d9dd7a772501ccc3f71457b4adfee79084fe6f confirmed on main and in v2026.2.14. Upgrade to
openclaw >= 2026.2.14.References