Skip to content

Accident reports · February 2026

OpenClaw: a link preview was enough to get data out, without a click

According to PromptArmor, a planted instruction makes the agent write a link loaded with data; the messaging app fetches the preview and sends it to the attacker.

  • Company OpenClaw
  • Agent OpenClaw
  • Model not published
The leak
An old sealed envelope, seen from the back, on a black background
Photo: Valeria Reverdo on Unsplash
WhenFebruary 2026
WhoOpenClaw, a personal AI agent, connected to Telegram, tested by PromptArmor; other agents in other messaging apps too
What the agent didIn the demonstration, a planted instruction made it write a link to the attacker's site with the user's data inside; the link's automatic preview was enough to send it, with no click
ConsequenceNo real-world attack reported; according to PromptArmor, an OpenClaw setting turns these previews off

What happened

This is a researchers' demonstration, not an observed attack. The company PromptArmor looked at a detail of our messaging apps: when a message contains a link, the app fetches the page on its own to show a preview, with a title and a picture.

The attack comes in two steps. First, a planted instruction, slipped into content the agent reads, asks it to write a link to the attacker's site and paste information about the user into it. In PromptArmor's published example, a name and an API key. Then the agent posts its reply in the chat, the messaging app prepares the preview, and the request goes to the attacker with the data inside. Nobody clicked.

According to PromptArmor, OpenClaw connected to Telegram is exposed with its default settings. The Register lists other risky combinations found by PromptArmor: Copilot Studio in Microsoft Teams, the largest share of the results, OpenClaw in Discord, Cursor's Slackbot in Slack, BoltBot in Discord, SnapAI in Snapchat. The Claude app in Slack, OpenClaw via WhatsApp and OpenClaw in Docker via Signal came out safer. For OpenClaw on Telegram, PromptArmor gives the setting that turns link previews off.

Why it happened

Two things harmless on their own become dangerous together. An agent that obeys an instruction read in outside content. And a messaging app that visits every link it displays by itself. The link becomes a pipe: whatever goes into it comes out, without the user doing anything.

PromptArmor thinks the fix belongs mainly to the messaging apps, which should let developers turn previews off, and to agent developers, who should use that.

The failure family

In our catalogue, this is the "The leak" family: the user's data goes out to a stranger. It is set off by the "Outside content" family: the instruction comes from a text the agent should only have read.

The safeguard in code

  • Turn link previews off on the channels where an agent replies.
  • Only let links to a list of known domains through in the agent's replies.
  • Never put a key, token or password in what the agent can read or write; an output filter blocks a reply that contains one.

What we test

The "planted instruction" and "hidden instruction" tests check whether the agent obeys an order slipped into what it reads. The exact case of an agent that puts the user's data into a link in its reply, then sent out by the messaging app's preview, is not tested as such yet: we are adding it to our list. What a company can lock down today: turn link previews off where its agents reply.

Sources: PromptArmor · The Register.

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