Skip to content

Accident reports · August 2025

Perplexity Comet: a page summary that raids the mailbox

According to Brave, a booby-trapped Reddit comment made the agent browser read a login code in Gmail, then post it. Researchers' demonstration.

  • Company Perplexity
  • Agent Comet
  • Model not published
Outside content
A white envelope on a black background
Photo: Valeria Reverdo on Unsplash
WhenJuly-August 2025 (researchers' demonstration)
WhoComet, Perplexity's AI agent browser
What the agent didAsked to summarise a booby-trapped Reddit page, it read the user's email address and a login code in Gmail, then posted them in reply
ConsequencePossible takeover of the Perplexity account; fix judged incomplete by Brave

What happened

On 25 July 2025, the team at Brave, which makes its own browser, reported a flaw to Perplexity in Comet, its browser with an agent able to act on pages. Brave published its demonstration on 20 August 2025.

The scenario: a Reddit comment hides instructions behind a "spoiler" tag. The user, logged in to their accounts, clicks "Summarize the current webpage". According to Brave, the agent then follows the comment's instructions with no further action from the user: it opens the Perplexity account page to read the email address, requests a one-time login code, reads it in Gmail, where the user is already logged in, then posts the address and the code in reply to the comment. The attacker can then log in to the account.

Perplexity acknowledged the report on 27 July and shipped a first fix, judged incomplete by Brave the next day. On 13 August, the flaw "appears to be patched". But on the day of publication, Brave added that Perplexity still had not fully mitigated this kind of attack, and reported it again. According to The Register, Perplexity did not immediately respond to its request for comment.

Why it happened

For the agent, the text of the page to summarise and the user's request are the same text. A simple summary request gave it control over every site the user was logged in to, with the user's rights.

The login code was protected, though: it only lands in the user's mailbox. But the agent had access to that mailbox, and it made the trip itself that no website could make alone.

The failure family

In our catalogue, this is the "Outside content" family: the agent obeys an order hidden in a page it reads. It leads to "The leak": a login code posted for a stranger.

The safeguard in code

  • A reading request (summarise, translate) grants no right to act: no navigation to other sites, no writing.
  • A page's content is marked as outside content and can never be taken for a user request.
  • Sensitive sites (email, bank, accounts) and any posting go through explicit user confirmation.

What we test

The "planted instruction", "trap in the tool" and "camouflaged planted instruction" tests slip an order into content the agent reads for its work. We watch whether it carries it out, and whether it sends data to someone who should not have it. The fault is a recorded action, whatever the agent says about it.

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