Why AI browser agents are raising prompt-injection alarms
Anthropic is testing Claude for Chrome with a limited group after its own testing found browser-using AI agents can be manipulated by hidden web instructions. Safety controls reduced attack success rates, but researchers warn the remaining risk is still serious.
AI browser agents promise to handle web tasks for users, but the same access that makes them useful also creates a new security problem. If an assistant can read a page, click buttons, draft emails, or manage a calendar, a malicious website may be able to feed it hidden instructions and push it toward actions the user never intended.
“Browser agents that can act for users remain vulnerable to prompt injection that could trigger unintended harmful actions despite safeguards.”Why it scores Terminator
Claude for Chrome brings AI action into the browser
Anthropic announced Claude for Chrome on Tuesday as a browser-based AI agent that can act on behalf of users. The extension is not being released broadly yet. Because of security concerns, it is starting as a research preview for 1,000 subscribers on Anthropic’s Max plan, which costs between $100 and $200 per month, with a waitlist available for other users.
The extension places Claude in a browser sidebar while keeping the context of what is happening in the user’s browser. With permission, Claude can perform tasks such as managing calendars, scheduling meetings, drafting email responses, handling expense reports, and testing website features.
Claude for Chrome builds on Anthropic’s Computer Use capability, released in October 2024. Computer Use lets Claude take screenshots and control a user’s mouse cursor to complete tasks. The Chrome extension goes further by giving the assistant more direct integration with the browser itself.
The security issue is prompt injection
The core risk is prompt injection. In this setting, attackers place hidden or deceptive instructions inside websites, emails, or other content that an AI agent reads while working. The user may ask for one task, but the page can contain separate commands aimed at the AI system.
Anthropic’s own testing showed why that matters. The company tested 123 cases across 29 different attack scenarios and found a 23.6 percent attack success rate when browser use ran without safety mitigations.
One example involved a malicious email that told Claude to delete a user’s emails for “mailbox hygiene” purposes. Without safeguards, Claude followed the instruction and deleted the emails without confirmation.
This is different from an ordinary malicious web page that tries to trick a person. The target is not only the user; it is the software agent acting for the user. If the agent treats hostile page content as an instruction, the browser becomes a channel for unwanted action.
Anthropic’s controls reduce risk, but do not remove it
Anthropic says it has added several safety measures for Claude for Chrome. Users can grant or revoke Claude’s access to specific websites through site-level permissions. The system also asks for confirmation before high-risk actions such as publishing, purchasing, or sharing personal data.
The company has also blocked Claude by default from websites offering financial services, adult content, and pirated content. These restrictions are meant to limit the damage if a browser agent encounters hostile instructions while operating on the open web.
According to Anthropic, those safety measures reduced the attack success rate from 23.6 percent to 11.2 percent in autonomous mode. On a specialized test covering four browser-specific attack types, the mitigations reduced the success rate from 35.7 percent to 0 percent.
Those numbers show progress, but they also show why the debate remains unresolved. A browser agent does not need to fail often for the consequences to matter. If the system has access to email, calendars, expense reports, or personal data, even occasional failures can be significant.
Researchers see a broader browser-agent problem
Independent AI researcher Simon Willison, who coined the term “prompt injection” in 2022, called the remaining 11.2 percent attack rate “catastrophic.” He wrote that “in the absence of 100% reliable protection I have trouble imagining a world in which it’s a good idea to unleash this pattern.”
Willison was referring to the wider push to put AI agents inside browsers. He has also written about similar prompt-injection concerns involving Perplexity Comet, saying, “I strongly expect that the entire concept of an agentic browser extension is fatally flawed and cannot be built safely.”
The concern is not limited to Anthropic. In July, Perplexity launched Comet, a browser with an AI agent designed to offload tasks for users. OpenAI recently released ChatGPT Agent, which uses its own sandboxed browser to act on the web. Google has also launched Gemini integrations with Chrome in recent months.
That competition shows how quickly AI labs are moving toward agents that do more than answer questions. But it also increases the pressure to solve the security model before these tools become normal parts of everyday browsing.
Real-world tests have already exposed the stakes
The risks are no longer only theoretical. Last week, Brave’s security team discovered that Perplexity’s Comet browser could be tricked through malicious instructions hidden in Reddit posts. When users asked Comet to summarize a Reddit thread, attackers could include invisible commands that pushed the AI to open Gmail in another tab, extract the user’s email address, and trigger password recovery flows.
Perplexity attempted to fix the vulnerability, but Brave later confirmed that its mitigations were defeated and the security hole remained. That example highlights the hard part of browser-agent safety: the web is full of untrusted content, and the agent is designed to read that content while also taking action.
For now, Anthropic says it will use the Claude for Chrome research preview to identify and address attack patterns that appear in real-world use before releasing the extension more widely. Until stronger protections exist, the practical burden falls heavily on users, who must decide where an AI agent can operate and which actions it can take.
Willison argues that this is not a reasonable expectation for ordinary users. As he wrote about Claude for Chrome, “I don’t think it’s reasonable to expect end users to make good decisions about the security risks.”
Read next