Overview
Risk patterns
Patterns found in the case record and its linked vulnerabilities.
- 1Dominant ATLAS tactic. Resource Development appears in 3 case steps.
- 2Multiple attack methods. The case connects to 7 unique AI attack methods.
Procedure timeline
Search the case steps or filter them by attacker goal.
-
Resource Development
Step 1
LLM Prompt Crafting
The researcher developed a prompt that causes Bard to include a Markdown element for an image with the user's conversation embedded in the URL as part of its responses.
-
Resource Development
Step 2
Acquire Infrastructure
The researcher identified that Google Apps Scripts can be invoked via a URL on
script.google.comorgoogleusercontent.comand can be configured to not require authentication. This allows a script to be invoked without triggering Bard's Content Security Policy. -
Resource Development
Step 3
Develop Capabilities
The researcher wrote a Google Apps Script that logs all query parameters to a Google Doc.
-
Initial Access The researcher shares a Google Doc containing the malicious prompt with the target user. This exploits the fact that Bard Extensions allow Bard to access a user's documents.
-
Execution
Step 5
Indirect
When the user makes a query that results in the document being retrieved, the embedded prompt is executed. The malicious prompt causes Bard to respond with markdown for an image whose URL points to the researcher's Google App Script with the user's conversation in a query parameter.
-
Exfiltration
Step 6
LLM Response Rendering
Bard automatically renders the markdown, which sends the request to the Google App Script, exfiltrating the user's conversation. This is allowed by Bard's Content Security Policy because the URL is hosted on a Google-owned domain.
-
Impact
Step 7
User Harm
The user's conversation is exfiltrated, violating their privacy, and possibly enabling further targeted attacks.
Mitigations
Defenses connected to the attack methods in this case.
Sources
Original public records and references for this case.
Original source
Original source links
Open the MITRE ATLAS data and public references used for this case study.