Perplexity Comet AI Browser Vulnerable to Indirect Prompt Injection Attack

August 27, 2025 at 2:58:06 AM

TL;DR Perplexity Comet AI browser is vulnerable to indirect prompt injection, where malicious hidden instructions in web content trick the AI into accessing sensitive data. Traditional web security fails here. Mitigations include separating user commands from page content, requiring user confirmation for sensitive actions, and isolating agentic browsing. This shows the need for new security models in AI browsers as they gain power.

Perplexity Comet AI Browser Vulnerable to Indirect Prompt Injection Attack

The post addresses security and privacy challenges in agentic browsers, focusing on a vulnerability in Perplexity Comet AI Browser that exposes sensitive data through indirect prompt injection. Agentic browsing, where AI assistants autonomously browse and complete tasks on behalf of users, offers powerful capabilities but introduces significant risks, especially when handling sensitive data in logged-in sessions. The vulnerability arises because Comet processes webpage content without distinguishing between user instructions and untrusted webpage content, allowing attackers to embed malicious instructions that the AI executes as commands.

How the Attack Works

Attackers embed hidden malicious instructions in web content, such as white text on white backgrounds or in user-generated content like Reddit comments. When a user activates the AI assistant to summarize the page, the AI processes these hidden instructions as legitimate commands. This can lead to the AI navigating to sensitive sites, extracting credentials or one-time passwords (OTPs), and exfiltrating this data to attacker-controlled servers. A proof-of-concept demonstrated how an attacker could steal a user’s email and OTP to take over their Perplexity account without further user interaction.

Impact and Implications

This attack bypasses traditional web security mechanisms like the same-origin policy (SOP) and cross-origin resource sharing (CORS) because the AI operates with the user’s full privileges across authenticated sessions. It enables cross-domain access through natural language embedded in websites or user-generated content, posing a broad and indirect threat. The attack highlights that traditional web security assumptions do not hold for agentic AI, necessitating new security and privacy architectures for agentic browsing.

Possible Mitigations

Several strategies could prevent such attacks:

  • Distinguish user instructions from website content: Browsers should separate trusted user requests from untrusted webpage content when sending context to the AI backend.
  • Check user-alignment for tasks: Actions proposed by the AI should be independently verified against the user’s original requests.
  • Require user interaction for sensitive actions: Security-sensitive tasks like sending emails should always prompt for explicit user confirmation.
  • Isolate agentic browsing from regular browsing: Agentic browsing should be a distinct mode with minimal permissions to prevent accidental exposure to risks.

Disclosure Timeline

  • July 25, 2025: Vulnerability discovered and reported.
  • July 27, 2025: Initial fix implemented by Perplexity.
  • July 28, 2025: Fix found incomplete; further details provided.
  • August 11, 2025: Public disclosure notice sent.
  • August 13, 2025: Vulnerability appeared patched.
  • August 20, 2025: Public disclosure; subsequent testing showed incomplete mitigation, leading to re-reporting.

Research Motivation and Conclusion

The research aims to raise the security and privacy standards for agentic browsing, emphasizing the risks of granting AI agents authority within authenticated contexts. The vulnerability in Perplexity Comet underscores the challenge of ensuring AI actions align strictly with user intent. Browser vendors must implement robust defenses before deploying AI agents with powerful web interaction capabilities. Brave remains committed to privacy and security, planning further work on securing agentic browsing with fine-grained permissions.

The post also references related articles on Brave’s AI assistant Leo’s development, mobile evaluation of language transformers, and Leo’s integration with Brave Search.

Have more questions on this topic? Ask our AI assistant for in-depth insights.

The Only Digital Marketing Feed You'll Ever Need.

Stay informed your way. Tailored updates when and how you want them. 100% Free.

10,000+ Users

500+ Sources

1000+ Tools

Or

Related Posts

Tired of spending too much time creating audits for your clients?

Tired of spending too much time creating audits for your clients?

Featured
Perplexity launches Comet Plus subscription to pay publishers for AI and reader use

Perplexity launches Comet Plus subscription to pay publishers for AI and reader use

Perplexity
Perplexity

Official Source

Official Source

Perplexity is a Official Source. The source has been verified by Swipe Insight team.

Official Source
Perplexity offers 34.5 billion to buy Google Chrome and keep it open source Trending ️‍🔥

Perplexity offers 34.5 billion to buy Google Chrome and keep it open source

Cloudflare Blocks Perplexity AI for Stealth Crawling and Rule Evasion Trending ️‍🔥

Cloudflare Blocks Perplexity AI for Stealth Crawling and Rule Evasion

Cloudflare
Cloudflare

Official Source

Official Source

Cloudflare is a Official Source. The source has been verified by Swipe Insight team.

Official Source
Perplexity launches Comet AI browser to challenge Google Search

Perplexity launches Comet AI browser to challenge Google Search

Perplexity
Perplexity

Official Source

Official Source

Perplexity is a Official Source. The source has been verified by Swipe Insight team.

Official Source
Perplexity partners with PayPal to launch AI-powered in-chat shopping for US users

Perplexity partners with PayPal to launch AI-powered in-chat shopping for US users

PayPal Newsroom
PayPal Newsroom

Official Source

Official Source

PayPal Newsroom is a Official Source. The source has been verified by Swipe Insight team.

Official Source
Perplexity announces upcoming launch of AI-powered web browser Comet

Perplexity announces upcoming launch of AI-powered web browser Comet

Perplexity
Perplexity

Official Source

Official Source

Perplexity is a Official Source. The source has been verified by Swipe Insight team.

Official Source
Perplexity launches freemium Deep Research product for expert-level analysis

Perplexity launches freemium Deep Research product for expert-level analysis

Perplexity
Perplexity

Official Source

Official Source

Perplexity is a Official Source. The source has been verified by Swipe Insight team.

Official Source

Related Tools

Markifact logo

Markifact

Verified Tool

Verified Tool

Markifact is a Verified Tool. Want to get this badge? Contact us.

Verified Tool

Marketing Workflows Powered by AI

Featured
Marketing Auditor logo

Marketing Auditor

Verified Tool

Verified Tool

Marketing Auditor is a Verified Tool. Want to get this badge? Contact us.

Verified Tool

Automated audits for Google Ads and Analytics.

Get Featured Here

Showcase your tool in this list.

Contact Us