Skip to content
Tech News
← Back to articles

ChatGPT for Google Sheets exfiltrates workbooks

read original get AI-powered Google Sheets Add-on → more articles
Why This Matters

The discovery of a prompt injection vulnerability in ChatGPT for Google Sheets highlights the importance of security in AI-integrated productivity tools. This incident underscores the need for robust safeguards as AI features become more embedded in everyday applications, protecting user data and preventing malicious exploits. OpenAI's swift response to remove risky functionalities demonstrates industry efforts to address emerging AI security challenges.

Key Takeaways

This attack does not require human-in-the-loop approvals, even when in settings the user has explicitly required human approval before ChatGPT edits workbooks.

UPDATE from OpenAI:

"We appreciate the security research here, and it’s unfortunate this one slipped through a crack in our disclosure pipeline. As we’re now aware of this report, we’ve taken immediate steps to protect users against potential attacks in this area by removing the model’s ability to generate Apps Script code, which should eliminate the risk to users of ChatGPT for Google Sheets. We’re taking a close look at how this feature interacts with Google Sheets APIs and re-evaluating our sandboxing approach to make sure this product is as resistant as possible against prompt injection attacks. More broadly, we’ll be doing a re-review of similar functionality in other surfaces to make sure that our defenses are consistent and effective across the board."

Recently, OpenAI launched an AI extension for using ChatGPT in Google Sheets, which has accumulated over 185,000 downloads since its launch less than a month ago. This allows users to operate on their spreadsheets by interacting with an AI chatbot that lives in a sidebar, with the added benefit of drawing on data from ChatGPT connectors.

A single indirect prompt injection attack triggered by a single benign user query can trigger all of the following effects at once:

Exfiltration of many workbooks from across the victim’s account

Display of an interactive phishing pop-up

Overwriting the entire GPT sidebar with an attacker-controlled chatbot interface

Attacker-controlled edits to your workbooks

... continue reading