Perplexity Launches BrowseSafe, Tackling AI's "Unsolved Problem" of Prompt Injection
Perplexity's BrowseSafe defends autonomous AI agents, detecting 91% of hidden prompt injection attacks manipulating web behavior.
December 7, 2025

In an era of increasingly autonomous AI, Perplexity has introduced BrowseSafe, a security system aimed at mitigating the significant security vulnerabilities inherent in AI browser agents. The company claims the system achieves a 91 percent detection rate for prompt injection attacks, a growing threat to the safety of the agentic web.[1] As AI assistants become more integrated into our daily browsing, capable of performing actions on our behalf, they also create an unexplored attack surface that requires novel defensive strategies.
The primary threat that BrowseSafe is designed to combat is prompt injection, a technique where malicious instructions are hidden within web content to manipulate an AI agent's behavior. Unlike direct prompt injection, where a user is tricked into inputting harmful commands, indirect prompt injection is far more insidious. Attackers can embed malicious prompts in various parts of a webpage that are invisible to the human eye but are read and processed by AI agents. These hidden instructions can be located in HTML comments, data attributes, or even disguised as benign-looking text in footers or table cells. The AI agent, in its attempt to be helpful and follow all instructions, may then be tricked into performing actions the user never intended, such as exfiltrating sensitive data, making unauthorized purchases, or spreading misinformation. Security researchers have demonstrated the real-world risks of these attacks, showing how an AI agent can be instructed to steal information from a user's email or other personal accounts and send it to an attacker-controlled server.
To address these gaping security holes, Perplexity has developed BrowseSafe, a specialized detection model that scans the full HTML of a webpage in real-time to identify and flag malicious instructions before they can reach the AI agent's core logic.[2][3] The system is designed to be lightweight and fast, ensuring that it doesn't degrade the user's browsing experience. Perplexity has also open-sourced BrowseSafe and its accompanying benchmark, BrowseSafe-Bench, which contains over 14,000 real-world attack scenarios.[2][3] This benchmark is intended to help the broader developer community test and harden their own AI agents against a wide variety of prompt injection techniques. The BrowseSafe model itself was fine-tuned on this extensive dataset and has shown a high degree of accuracy in detecting a range of attacks, including those that use linguistic camouflage or are embedded in complex HTML structures. Perplexity’s approach with BrowseSafe is part of a larger, multi-layered defense strategy that also includes limiting the permissions of AI tools by default and requiring user confirmation for sensitive actions.
Despite the advancements that BrowseSafe represents, the security of AI browser agents remains a complex and evolving challenge. Research has shown that no single solution is a silver bullet, and certain types of prompt injection attacks are more difficult to detect than others.[4] For instance, attacks that are linguistically sophisticated or are embedded in visible text, blending in with the surrounding content, have proven to be more challenging for detection models. This suggests that while BrowseSafe is a significant step forward, it is not an infallible defense. The broader AI industry is grappling with these same issues, with companies like OpenAI acknowledging that prompt injection is an unsolved problem. The development of truly secure AI agents will likely require a combination of technical solutions, such as input sanitization and adversarial training, as well as a continued focus on user education and awareness. The open-sourcing of tools like BrowseSafe is a positive development, as it encourages collaboration and a collective effort to build a safer and more trustworthy AI ecosystem. As AI agents become more powerful and autonomous, the importance of robust security measures will only continue to grow, making the development of solutions like BrowseSafe a critical area of focus for the entire industry.