Agentic Browser Security

Agentic Browser Security: Indirect Prompt Injection in Perplexity Comet

#learning #security #ai

Authors: Artem Chaikin (Senior Mobile Security Engineer at Brave), Shivan Kaul Sahib (VP, Privacy and Security at Brave)
Source: https://brave.com/blog/comet-prompt-injection/#the-threat-of-instruction-injection

Summary

Researchers at Brave Browser investigated Nanobrowser and Perplexity’s Comet in comparison to their own Agentic Web Browser, Leo and discovered several vulnerabilities underlining the security challenges faced by agentic AI implementations in browsers.*

Takeaways

When users ask it to “Summarize this webpage,” Comet feeds a part of the webpage directly to its LLM without distinguishing between the user’s instructions and untrusted content from the webpage. This allows attackers to embed indirect prompt injection payloads that the AI will execute as commands.

When an AI assistant follows malicious instructions from untrusted webpage content, traditional protections such as same-origin policy (SOP) or cross-origin resource sharing (CORS) are all effectively useless. The AI operates with the user’s full privileges across authenticated sessions, providing potential access to banking accounts, corporate systems, private emails, cloud storage, and other services.


  1. According to the definition of SentinelOne, vulnerabilities in the context of cybersecurity are "weaknesses that can be exploited by attackers to compromise systems and data." ↩︎

  2. Source: https://www.malwarebytes.com/blog/news/2025/08/ai-browsers-could-leave-users-penniless-a-prompt-injection-warning ↩︎