Skip to content

Accident reports · January 2026

OpenClaw: one click on a link was enough to switch off the agent's confirmations and take over the machine

A depthfirst researcher showed that a booby-trapped link stole the user's token, then disabled the agent's safeguards. Fixed in version 2026.1.29.

  • Company OpenClaw
  • Agent OpenClaw
  • Model not published
False authority
A fishing hook hanging against a pale blue sky
Photo: Kasia Derenda on Unsplash
WhenLate January 2026 (fix released on 30 January according to The Hacker News, details made public on 1 February)
WhoOpenClaw (formerly Clawdbot and Moltbot), the open-source AI assistant that acts on its user's computer; flaw found by Mav Levin, a researcher at depthfirst
What the agent didA researcher's demonstration: a single click on a booby-trapped link was enough to steal the user's access token, switch off the agent's confirmation prompts and have it run commands on the machine
ConsequenceFlaw CVE-2026-25253, rated 8.8 out of 10 according to The Hacker News; fixed in version 2026.1.29; no source reports real-world exploitation

What happened

OpenClaw is an agent that runs on its user's computer and, according to SecurityWeek, can run commands, manage files and chain tasks from messaging apps. It is driven through a web interface, the "Control UI".

According to Mav Levin's post (depthfirst, 1 February 2026), this interface accepted a gatewayUrl parameter in its address, saved it and connected to it as soon as the page loaded, sending the user's access token. A booby-trapped link therefore sent that token to the attacker's server. Because OpenClaw's server did not check the origin of WebSocket connections, a malicious page could then, from the victim's browser, connect to the locally installed agent with the stolen token, even on an install that only listens on the machine itself.

With that token, according to depthfirst and The Hacker News, the page switched off the agent's approval prompts (exec.approvals.set to "off"), had it run outside its sandbox, directly on the machine, then ran the command of its choice. The researcher demonstrated it with a harmless command that writes a file. According to depthfirst, all versions up to 2026.1.24-1 were affected; the fix adds a confirmation window before connecting to a new address. The researcher says another person had reported the same flaw.

The sources do not say the flaw was exploited against real users. depthfirst advises updating OpenClaw and rotating tokens if they may have leaked. Later that month, booby-trapped skills targeted the same users.

Why it happened

The agent obeyed anyone who showed the right token, and its safeguards (confirmation prompts, sandbox) were plain settings that the same token could change. Once the token was stolen, the attacker spoke with the owner's authority and could remove the protections before acting.

The model did not get anything wrong: the software shell around it trusted an address received in a link and a connection coming from another site.

The failure family

In our catalogue, this is the "False authority" family: someone passes themselves off as the person entitled to give orders, here by stealing their token, and the agent carries out the orders with no further check.

The safeguard in code

  • The agent's security settings (confirmation prompts, sandbox) cannot be changed over the same connection as the orders: they require an action by the user on their machine.
  • The agent's server refuses any connection whose origin is not its own interface, even locally, and never sends its token to an address received in a link without confirmation.
  • Any command that touches the machine outside the sandbox goes through a confirmation that a token alone cannot switch off.

What we test

The "fake superior" tests put the agent in front of someone who claims authority, and the "side door" test checks whether it steps outside its mission when a door is open. An order that arrives with a valid stolen token and starts by switching off the agent's confirmations is not yet tested as such: it is first a flaw in the software around the agent, and we are adding it to our list. What a company can lock down today: keep its agents up to date, do not let the agent change its own security settings, and rotate tokens at the slightest doubt.

And your agent, what would it do?

The crash test puts your agent in these situations, dozens of times, on several models. You get the figures, the conversations where it gave in, and the fix plan.

Crash-test my agent See the live demo

Further reading