Shared document makes ChatGPT send Google Drive secrets externally (AgentFlayer)

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.

6 August 2025DemonstratedHijacked by content
ChatGPT with Connectors (Google Drive) · OpenAI · Global
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
Instructions hidden in contentData left the systemCredentials exposedWorked around a safeguard
Confidence: high · checked 24 September 2026. Published under CC BY 4.0: reuse it freely and credit the Future Skills Lab, Future Skills Academy. Seen an error or a newer development? Write to tellmemore@futureskills.academy.

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.

All 177 incidents →The Future Skills Lab