Close Menu
GeekBlog

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    Neuralink Is Recruiting for Its Brain Chip Trials. The FDA Just Cleared the Study That Could Lead to Approval.

    November 27, 2026

    Coros Vertix 4 Goes on Sale: AMOLED, a Built-In Flashlight and 105 Hours of GPS for $799

    November 27, 2026

    The FCC Approved 1 Million SpaceX Satellites. That’s Almost 90 Times Every Starlink in Orbit Today.

    November 27, 2026
    Facebook
    GeekBlog
    • Home
    • Mobile
    • Tech News
    • Blog
    • Gaming
    • Smartwatch
    • How-To Guides
    • AI & Software
    Facebook
    GeekBlog
    Home»Tech News»One Poisoned Document Could Leak Secret Data via ChatGPT: What to Know
    Tech News

    One Poisoned Document Could Leak Secret Data via ChatGPT: What to Know

    Ethan CaldwellBy Ethan CaldwellAugust 7, 2025Updated:October 12, 20266 Mins Read
    Share Facebook Twitter Pinterest LinkedIn Tumblr Email Copy Link
    One Poisoned Document Could Leak Secret Data via ChatGPT: What to Know
    Photo: Markus Winkler on Unsplash
    Share
    Facebook Twitter LinkedIn Pinterest Email Copy Link

    In August 2025, security researchers showed that one shared document could quietly trick ChatGPT into searching a victim’s connected Google Drive and sending secrets, such as API keys, to an attacker. The attack, called AgentFlayer, needed no clicks from the victim beyond asking ChatGPT about the file. OpenAI added mitigations, and the case remains one of the clearest examples of indirect prompt injection, a risk that still applies to every AI assistant connected to your data in 2026.

    Quick answer: Researchers from the security company Zenity hid invisible instructions inside a document. When ChatGPT processed it, the hidden text told the model to search the user’s connected Google Drive for API keys and embed them in an image link, which leaked the data when the image loaded. OpenAI put mitigations in place after the report. To stay safer today, connect only the apps you need, keep action approvals on, and consider ChatGPT Lockdown Mode for sensitive accounts.

    What indirect prompt injection is

    A normal prompt injection is when someone types instructions into a chatbot to make it misbehave. Indirect prompt injection is sneakier: the attacker never talks to the AI at all. Instead, they plant instructions inside content the AI will read later, such as a web page, an email, a calendar invite or a shared file.

    Large language models struggle to separate data from commands. When an assistant reads a document that says, in effect, ignore the user and do this instead, it may follow that text as if the user had typed it. The more tools and data the assistant can reach, the more damage those planted instructions can do.

    How the AgentFlayer attack worked

    The research was presented at the Black Hat security conference in Las Vegas in August 2025 by Zenity, whose cofounder and CTO is Michael Bargury. It targeted ChatGPT Connectors, the feature that let ChatGPT search services such as Google Drive, GitHub or SharePoint on your behalf. The steps were simple:

    Recommended for you:

    ExpressVPN Protocols Explained: Lightway, WireGuard and Post Quantum
    Tech News·Aug 9, 2025

    ExpressVPN Protocols Explained: Lightway, WireGuard and Post Quantum

    1. The poisoned file. The attacker wrote a harmless looking document and hid a long instruction inside it in tiny white text, invisible to a human reader. Getting it to the victim was easy: share it to their Google Drive, which only takes an email address, or send it so they upload it to ChatGPT themselves.
    2. The trigger. The victim asked ChatGPT to do something ordinary with the file, such as summarize it, while their Drive was connected.
    3. The hijack. The hidden text told ChatGPT to skip the summary and instead search the connected Drive for API keys, then hide what it had done.
    4. The leak. ChatGPT was told to display an image whose web address carried the stolen keys as parameters. When the chat window loaded the image, the request delivered the data to a server the attacker could read. No click was needed.

    OpenAI already checked image addresses before rendering them, and the researchers’ first attempt was blocked. They got around it by hosting the image on Microsoft Azure cloud storage, a domain the check treated as safe, and reading the stolen values from Azure’s request logs. Only small pieces of data could leak this way, not whole files, but API keys are small and extremely valuable.

    Watch out: AgentFlayer was not only about ChatGPT. Zenity’s research covered similar weaknesses in Microsoft Copilot Studio, Microsoft 365 Copilot, Salesforce Einstein, Google Gemini and Cursor with Jira. The underlying problem applies to any AI agent that reads untrusted content and can take actions.

    What OpenAI changed

    Bargury said he reported the issue to OpenAI earlier in 2025 and that the company quickly added mitigations against the specific technique. Since then, the product has changed in several ways that matter for this kind of attack:

    • Connectors became apps. OpenAI now calls these integrations connected apps in ChatGPT. Apps can only reach what you authorized when connecting them, and workspace admins can disable them.
    • Action approvals. ChatGPT can ask before reading information or taking an action, with settings ranging from Always ask to Allow all actions. The default allows low risk actions, and sensitive actions may still require approval.
    • Lockdown Mode. Announced February 13, 2026, it limits features that reach outside OpenAI’s network, including live web browsing, live connectors, Deep Research, Agent Mode and images in responses. It started on Enterprise, Edu, Healthcare and Teachers plans, and a June 2026 update extended it to personal accounts and self serve Business accounts.
    • Elevated Risk labels. Features that carry extra risk now show a standard label explaining what could go wrong.

    How to reduce your risk in 2026

    WhoWhat to do
    Individual usersConnect only apps you actually use, and disconnect the rest in ChatGPT settings.
    Individual usersKeep approvals on Always ask or the default, never Allow all actions, on accounts linked to work or money.
    Individual usersBe cautious with files and links shared by people you do not know, and open them without AI help first.
    BusinessesRestrict which apps are enabled per role, and use Lockdown Mode roles for staff handling sensitive data.
    BusinessesNever store passwords or API keys in shared drives or documents. Use a secrets manager and rotate keys.
    BusinessesReview compliance logs for app activity and limit external sharing into company drives.
    Tip: the single best defense against this whole class of attack is not having secrets where an AI can find them. If an API key lives in a Google Doc today, move it to a proper secrets vault and revoke the old one.

    FAQ

    Is the AgentFlayer attack still possible in ChatGPT?

    The specific technique shown in 2025 was mitigated, according to the researchers. Indirect prompt injection as a category has not been solved by any AI company, so new variants keep appearing.

    Recommended for you:

    How to Make and Use a Windows Recovery Drive (Windows 11 and 10)
    Tech News·Aug 7, 2025

    How to Make and Use a Windows Recovery Drive (Windows 11 and 10)

    Did I need to click anything to be affected?

    No. In the demonstration, the victim only had to ask ChatGPT about the poisoned file. The data left through an image that loaded automatically.

    Should I stop using ChatGPT apps?

    Not necessarily. Apps are useful, but treat each one as a door into your data. Connect the minimum, keep approvals on and use Lockdown Mode if your account holds sensitive information.

    Are other AI assistants safer?

    Not by default. The same research found related issues in Microsoft, Google and Salesforce products. Any assistant that reads outside content and has access to your files carries this risk.

    The verdict

    AgentFlayer showed that the weak point of a connected AI assistant is the content it reads, not the chat box. OpenAI patched the specific trick and has since added approvals and Lockdown Mode, but the safest setup is still the simplest: fewer connected apps, approvals switched on, and no secrets sitting in shared documents.

    Updated October 2026: explains the AgentFlayer research, indirect prompt injection, OpenAI’s later safeguards and practical steps for users and businesses.

    Featured photo: Markus Winkler on Unsplash.

    About this article: GeekBlog covers U.S. technology news, AI, phones, smartwatches and gaming. Every story is written and checked under our Editorial Policy. Spotted a mistake or have a story tip? Contact our editors.

    ChatGPT Leaks
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Telegram Email Copy Link
    Previous ArticleLG Promo Codes: Legit Ways to Save at LG.com in October 2026
    Next Article Easy Ways to Back Up Your Data Without an External Drive
    Ethan Caldwell

      Ethan Caldwell is GeekBlog's resident Apple specialist, covering the entire Apple ecosystem: iPhone, iPad, Mac, Apple Watch, AirPods and the software that ties them together. A longtime iOS user and gadget collector, Ethan tracks Cupertino's every move, breaking down Apple keynotes, A- and M-series chip benchmarks, iOS feature updates and the rumor mill into clear, practical takes that help readers decide whether the latest Apple hardware is worth the upgrade.

      Related Posts

      7 Mins Read

      Neuralink Is Recruiting for Its Brain Chip Trials. The FDA Just Cleared the Study That Could Lead to Approval.

      7 Mins Read

      The FCC Approved 1 Million SpaceX Satellites. That’s Almost 90 Times Every Starlink in Orbit Today.

      7 Mins Read

      ChatGPT, Claude, Grok and Copilot All Gave the Same Privacy Warning. A Court Fight Over 20 Million Chats Shows Why.

      8 Mins Read

      Draft Registration Goes Automatic on December 19. The Rule Meant to Run It Was Pulled in July.

      8 Mins Read

      ChatGPT and Codex Will Share One Usage Limit in December. Heavy Users Will Feel It First.

      9 Mins Read

      Character.AI Wants to Auction 21 Million Users’ Chats. 43 States Are Trying to Stop It.

      Top Posts

      Every iPhone Camera Ranked in 2026 (Best to Worst)

      July 6, 2026323 Views

      Apple Watch Black Friday 2026: Early Deals, Prices to Beat and When to Buy

      November 8, 2026190 Views

      GTA 6 Has No PC Version Yet, but a Leaked Xbox Build and a $200 Scam Kit Are Already Targeting PC Players

      November 20, 2026161 Views
      Stay In Touch
      • Facebook

      Subscribe to Updates

      Get the latest tech news from FooBar about tech, design and biz.

      Most Popular

      Apple Watch Black Friday 2026: Early Deals, Prices to Beat and When to Buy

      November 8, 2026601 Views

      One UI 9 Watch: Which Galaxy Watches Get Wear OS 7, and Who Gets Left Behind

      November 6, 2026277 Views

      GTA 6 Has No PC Version Yet, but a Leaked Xbox Build and a $200 Scam Kit Are Already Targeting PC Players

      November 20, 2026249 Views
      Our Picks

      Neuralink Is Recruiting for Its Brain Chip Trials. The FDA Just Cleared the Study That Could Lead to Approval.

      November 27, 2026

      Coros Vertix 4 Goes on Sale: AMOLED, a Built-In Flashlight and 105 Hours of GPS for $799

      November 27, 2026

      The FCC Approved 1 Million SpaceX Satellites. That’s Almost 90 Times Every Starlink in Orbit Today.

      November 27, 2026

      Subscribe to Updates

      Get the latest creative news from FooBar about art, design and business.

      HEICJPG.online - Convert HEIC to JPG online
      Facebook
      • About GeekBlog: Our Mission, Team and Editorial Standards
      • Contact us
      • Privacy Policy
      • Disclaimer
      • Terms and Conditions
      • Editorial Policy
      • Cookie Policy
      • Your Privacy Choices
      © 2026 GeekBlog

      Type above and press Enter to search. Press Esc to cancel.