Shared document makes ChatGPT send Google Drive secrets externally (AgentFlayer)
Handling a single document was enough for ChatGPT to search a separate connected service for secrets and transmit them without the user requesting it.
- What happened
- Responsibly disclosed vulnerability demonstrated at Black Hat USA 2025; no reported in-the-wild exploitation. Zenity Labs placed hidden instructions in a document. When a user used that document in ChatGPT with Google Drive connected, ChatGPT followed the instructions, searched the user's Drive for API keys and embedded them in the URL of a markdown image; rendering the image sent the data to an attacker-controlled endpoint. To pass OpenAI's url_safe check on image URLs, the researchers used Azure Blob Storage, which ChatGPT treated as safe, and read the captured requests in Azure Log Analytics. The finding was part of a wider AgentFlayer set covering Microsoft Copilot Studio, Cursor with a Jira MCP server, Salesforce Einstein, Google Gemini and Microsoft 365 Copilot.
- Response
- According to Zenity, OpenAI and Microsoft (Copilot Studio) issued fixes after responsible disclosure, while other vendors declined, describing the behaviour as intended functionality. The sources do not give the date of OpenAI's fix.
- Discovered by
- Tamir Ishay Sharbat and Michael Bargury, Zenity Labs.
- Who was affected
- ChatGPT users with Google Drive connected; API keys stored in Drive in the demonstration
- Patterns
- Sources
- AgentFlayer: ChatGPT Connectors 0click AttackZenity Labs, 6 Aug 2025
- Zenity Labs Exposes Widespread "AgentFlayer" Vulnerabilities Allowing Silent Hijacking of Major Enterprise AI Agents Circumventing Human OversightPR Newswire, 6 Aug 2025
- Black Hat: Researchers demonstrate zero-click prompt injection attacks in popular AI agentsCSO Online, 8 Aug 2025
Related
Incidents with the same pattern
What does this ask of people?
Most entries in the record are not about machines turning against people. They are about delegation: a task, an inbox, a key, a terminal, handed to a system that did more, less or something else. Futures literacy starts with noticing that.