Why AI browsers still struggle with prompt injection risk
OpenAI says prompt injection is a long-term security challenge for AI browsers, including ChatGPT Atlas. The company is using automated testing, faster patching, and user-confirmation safeguards, but experts say the risk remains tied to how much autonomy and access these agents receive.
AI browsers promise to turn web navigation into action. They can read pages, scan inboxes, draft messages, and move through tasks with less direct input from the user. But OpenAI now says one of the core security problems facing that model, prompt injection, is unlikely to disappear.
“Agentic AI browsers gaining autonomy and access create persistent prompt-injection risks that can make them act against user intent.”Why it scores Terminator
The issue matters because agentic browsers do not just display information. In agent mode, they can interpret instructions and act on them. If malicious instructions are hidden inside a web page or email, the browser’s AI agent may be pushed toward behavior the user never intended.
Prompt injection is becoming a permanent web risk
OpenAI described prompt injection as a long-term AI security challenge in a Monday blog post about hardening its Atlas AI browser. The company wrote that prompt injection, like scams and social engineering on the web, is unlikely to ever be fully solved.
That framing is important. It means OpenAI is not treating prompt injection as a bug that can be patched once and forgotten. It is describing the attack as a continuing contest between defenses and attackers.
Prompt injection works by placing malicious instructions where an AI agent may read them. Those instructions can be hidden in web pages, documents, or emails. When the agent processes that content, it may treat the hidden command as something it should follow.
OpenAI also acknowledged that agent mode in ChatGPT Atlas expands the security threat surface. That is the basic trade-off behind AI browsers: the more they can do for users, the more opportunities there are for outside content to influence what they do.
Atlas was tested almost immediately after launch
OpenAI launched ChatGPT Atlas in October. Soon after, security researchers published demos showing that a few words in Google Docs could alter the behavior of the underlying browser.
On the same day, Brave published a blog post saying indirect prompt injection is a systematic challenge for AI-powered browsers. The concern was not limited to Atlas; Brave also pointed to Perplexity’s Comet as part of the broader category of AI browsers facing this problem.
The U.K.’s National Cyber Security Centre made a similar point earlier this month. It warned that prompt injection attacks against generative AI applications “may never be totally mitigated,” and said websites could face data breach risks as a result.
The agency advised cyber professionals to focus on reducing the risk and impact of prompt injections, rather than assuming the attacks can be stopped altogether. That view lines up with OpenAI’s own position: the goal is not a perfect cure, but stronger defenses that keep adapting.
OpenAI is using an automated attacker to find weaknesses
OpenAI says its answer is a proactive, rapid-response cycle meant to find new attack strategies internally before they are used in the wild. The company says this approach is showing early promise.
Other AI companies have also emphasized layered defenses and continuous stress testing. Anthropic and Google have both been part of that broader conversation, with Google’s recent work focused on architectural and policy-level controls for agentic systems.
OpenAI’s specific method includes what it calls an LLM-based automated attacker. The attacker is a bot trained with reinforcement learning to behave like a hacker looking for ways to get malicious instructions past an AI agent.
The bot can test attacks in simulation before using them for real. The simulator shows how the target AI would reason and what actions it would take after seeing an attack. The bot can then adjust the attempt and keep trying.
That gives OpenAI a testing advantage that outside attackers do not have: visibility into the target AI’s internal reasoning. In theory, that could help OpenAI uncover weak points faster than real-world attackers.
OpenAI said its reinforcement learning-trained attacker can guide an agent into “sophisticated, long-horizon harmful workflows” over tens or even hundreds of steps. The company also said it observed new attack strategies that had not appeared in its human red teaming campaign or in external reports.
A demo shows both the danger and the defense
In one OpenAI demo, the automated attacker placed a malicious email in a user’s inbox. Later, when the AI agent scanned the inbox, it followed the hidden instructions in that email and sent a resignation message instead of drafting an out-of-office reply.
After a security update, OpenAI said agent mode was able to detect the prompt injection attempt and flag it to the user. The example shows why inbox access is especially sensitive: email contains both personal information and instructions an agent may be asked to act on.
OpenAI says it is relying on large-scale testing and faster patch cycles to make Atlas harder to exploit before attacks appear in real-world use. A spokesperson declined to say whether the Atlas update has produced a measurable drop in successful injections.
The spokesperson did say OpenAI has been working with third parties to harden Atlas against prompt injection since before launch.
Users still need to limit what agents can do
Rami McCarthy, principal security researcher at cybersecurity firm Wiz, said reinforcement learning can help systems keep adapting to attacker behavior, but it is only one part of the problem.
McCarthy told TechCrunch that a useful way to think about AI risk is autonomy multiplied by access. In his view, agentic browsers often sit in a difficult position because they combine moderate autonomy with very high access.
That trade-off leads to practical recommendations. OpenAI advises users to limit logged-in access and require review of confirmation requests. A spokesperson also said Atlas is trained to ask for user confirmation before sending messages or making payments.
OpenAI further recommends that users give agents specific instructions instead of broad authority. For example, the company warns against giving an agent access to an inbox and telling it to take whatever action is needed.
The reason is straightforward: broad instructions create more room for hidden or malicious content to influence the agent, even when safeguards are present.
McCarthy remains skeptical about whether agentic browsers currently offer enough value for everyday use cases to justify their risk profile. He pointed to their access to sensitive data, including email and payment information, as both the source of their power and the reason their trade-offs remain serious.
Read next