Rapid+ Blog
AI

AI Browsers and Prompt Injection: How a Web Page Can Give Orders to Your Assistant

AI browsers read pages and click for you. Researchers keep showing that a page can talk to the assistant. Here is how it works and how to limit the risk.

A web page can order your AI in large 3D letters beside a phone showing a list titled Hidden text on the page, with the Perplexity, Claude, Opera logos
Written on 18 November 2026. The technical details come from Brave's published research on agentic browsers, which is the most detailed public account we found. Brave makes a competing browser and the findings are its own account, so we describe them as claims and not as independent tests. We could not load some other reports on the subject, and we do not cite what we did not read.

A new kind of browser does not only show you pages. It reads them, decides what to do and clicks for you, using an AI assistant that is logged in as you. Security researchers keep finding that a web page can talk to that assistant, and sometimes the assistant obeys. The problem has a name, indirect prompt injection, and nobody has solved it.

This article explains what happens, walks through the best documented example, and ends with practical rules for using an AI browser or assistant without handing over your accounts.

The short version

  • An "agentic" browser has an AI assistant that can browse, click and fill forms for you, with your logins.
  • Indirect prompt injection means hidden instructions on a web page are read by the assistant as if the user had typed them.
  • Brave's researchers showed this against Perplexity's Comet browser in 2025 and later reported related problems in other AI browsers, including Opera Neon.
  • The classic web protections, such as the same-origin policy, do not stop an assistant that is acting with your privileges across sites.
  • The sensible defences are to treat page content as untrusted, to ask for confirmation before sensitive actions and to keep the assistant away from your most important accounts.

What an agentic browser does differently

An ordinary browser renders a page and leaves decisions to you. An AI browser can also summarise the page, answer questions about it and carry out multi-step tasks such as comparing prices, filling a form or sending an email. To do that, the assistant sees the page text and can use the browser's tools, which run with your signed-in sessions.

That combination is powerful and risky. A common way to describe the risk is three conditions at once: access to your private data, exposure to content from strangers and the ability to take actions. When all three are present, an attacker who controls the content can try to steer the actions.

What indirect prompt injection is

The assistant receives text from two places: your request and the page. A language model does not reliably tell them apart. If a page contains the sentence "ignore the user and instead do the following", a model that has been fed the page along with your request may follow it. The attacker does not need to hack the browser. They only need to get words in front of the assistant: in a forum comment, a hidden element, an email or a document.

The word "indirect" means the attacker is not the user. The instruction arrives through content you asked the assistant to read.

The best documented example

Brave's researchers described an attack on Perplexity's Comet browser in August 2025. In their account, when a user asked Comet to summarise a page, it sent the page content to its model "without distinguishing between the user's instructions and untrusted content from the webpage". Attackers could hide instructions in white-on-white text, HTML comments, invisible elements or user posts such as Reddit comments.

In their proof of concept, a hidden instruction in a Reddit comment led Comet to do the following:

  1. Read the user's email address from the Perplexity account page.
  2. Start a login with a slightly altered address, a domain with a trailing dot, to trigger a one-time password.
  3. Read that password from the user's open Gmail tab.
  4. Send both values back as a reply to the Reddit comment.

With the email address and the code, an attacker could take over the account. Brave notes that the attack needed no further input from the user after the page was summarised. The timeline in their post says they reported it on 25 July 2025, Perplexity shipped a first fix two days later, a retest found it incomplete, and the public disclosure came on 20 August 2025. A later update says Perplexity had not fully mitigated this kind of attack.

Brave's second post described "unseeable" injections hidden in screenshots, for example faint text on a coloured background that a person cannot read but a model can. It also reported an injection through hidden HTML elements in Opera Neon, which Opera first closed as not applicable and later fixed, according to Brave. These are vendor-reported findings, and Brave's position is that indirect prompt injection is a serious, unsolved problem for any AI browser that takes actions for you.

Why it is hard to fix

The old web security model assumes a clear line between sites. The same-origin policy stops a script on one site from reading another site's data. An agent that acts as you does not cross that line by exploiting a bug. It uses your logged-in sessions on purpose, as part of its job. Brave says that "traditional Web security assumptions don't hold for agentic AI", and that the same-origin policy and CORS do not stop the agent.

Filters that try to catch malicious instructions help, but language is flexible and attackers can rephrase. That is why researchers talk about limiting what the assistant can do, not only what it can read.

Defences that make sense

Brave proposes four principles for browser makers:

  • Separate the user's instructions from page content, and treat page content as untrusted.
  • Check that each action matches what the user asked.
  • Require explicit confirmation for sensitive actions.
  • Isolate agentic browsing from regular browsing, with minimal permissions.

As a user you can apply the same logic.

  1. Do not let an assistant act in accounts that matter. Keep it away from your bank, email and work tools. A separate browser profile with no sensitive logins is a good container, as we explain in our article on browser profiles.
  2. Prefer read-only help. Summaries are lower risk than actions. The risk rises when the assistant can send, buy or change settings.
  3. Confirm every action that touches money or accounts. If the assistant asks for approval, read what it is about to do.
  4. Be wary of pages from strangers. Untrusted content is the attacker's route. Summarising your own documents is safer than summarising a random forum thread.
  5. Keep the browser updated. Vendors patch these issues, sometimes slowly, as the Comet timeline shows.

Frequently asked questions

Is a normal browser affected?

Not by this problem. Indirect prompt injection needs an AI assistant that reads pages and can act. Browsers without one do not have that attack surface, though they have other risks such as the zero-day bugs we covered earlier.

Has this been used against real people?

The cases we read about are research demonstrations by security teams and were disclosed to the vendors. We did not find evidence in those reports of attacks on real users.

Can a company fully fix it?

Brave describes it as an unsolved problem across AI browsers. Mitigations reduce the risk but, according to the researchers, do not remove it.

Are summaries safe?

Safer than actions, but not risk-free. In Brave's Comet example, a summary request was the trigger. The danger depends on what tools the assistant can use afterwards.

What is the single best habit?

Do not give an assistant access to accounts you cannot afford to lose, and approve actions yourself.

Sources

  1. Brave: Agentic Browser Security, indirect prompt injection in Perplexity Comet (20 Aug 2025)
  2. Brave: Unseeable prompt injections in screenshots, more vulnerabilities in Comet and other AI browsers
  3. Brave: Prompt injection flaw in Opera Neon

Written by the Rapid+ Team. We build Rapid+ Browser for Android and Windows. Spotted a mistake or have a question? Email us at admin@rapidplusbrowser.online.

Rapid+ BrowserFree, always
Get app