Artificial Intelligence

Gemini routes Drive files to human review

A GitHub test shows Gemini pulls Gmail and Drive text without tags and routes sessions to human review.

StartupHub.ai Staff

By StartupHub.ai Staff, reviewed by Daniel Singer, Editor

3 min read

Gemini Connected Apps pulling Gmail and Drive text into chat
Credit: GitHub

The author behind Documentation of Gemini File Leaking Behavior showed consumer Gemini with Workspace Connected Apps pulling Gmail and Drive text into chat without an @Drive or @Gmail tag.

Google says connected email and files can enter human review, with reviewers told what they see "may just be the email or file" and users told "don't connect your apps to Gemini Apps if they contain confidential information that you wouldn't want a reviewer to see," per Help Answer 16836988 and an October 16 edit to its 2023 blog post cited in the repo.

No attacker is needed.

The affected system is consumer Gemini with Connected Apps enabled, tested on Flash with High Thinking or better. A casual mention of a trip, bill, name or reservation can trigger a background Workspace lookup, and the repo author says deletion of the test thread is required to stop Gemini answering from prior history instead of a fresh retrieval.

The trigger is probabilistic.

The repo describes four outcomes from the same kind of prompt. Zero retrieval pulls nothing. Metadata or generic summary reports a count. Partial extraction quotes two to four sentences, often with PII or account figures. Full-file ingestion drops the complete unredacted document or email, headers included, into session context. The author says one clean test proves nothing, since the next run can land in a different state.

Reproduction is specific. The repo instructs users to ask about a known inbox item without requesting a search, then ask Gemini to "Print the exact text and metadata block that the retrieval tool returned and injected into your prompt." In trials around the question "I wonder if I'm paying too much for internet service," the repo reports outcomes ranging from generic advice to a summary citing a $122 bill on September 4, to quoted name, address, account and confirmation blocks, to a full email dump.

That design choice contrasts with a separate GitHub exposure problem reported by Cybernews, which found thousands of agent files left public and advised developers to treat agent folders like .claude/, .cursor/, .gemini/ and .specstory/ as secret-bearing like .env. One is user data flowing into a vendor review queue. The other is developers pushing secrets outward.

Google declined in its help text to promise deidentification, and the repo author argues Google regex and NER scrubbers cannot reliably strip narrative identifiers such as account numbers, dates and combined names, cities and events. Google warns users away from connecting sensitive apps. The author says the original isolation guarantee is gone.

How often does a casual prompt cause full-file ingestion at scale, and what actually remains visible after scrubbing before a contractor opens the session?

Mentioned in this story

Markets

Sources

Get the free daily brief every morning

Every morning the day's AI news, new AI startups and new funding rounds. Free and takes a few minutes to read, unsubscribe at any time.

Join 64,000 other subscribers.

TopicsGoogleGeminiGmailGoogle DriveGoogle WorkspaceFlashCybernewsGitHub

StartupHub.ai Staff

Written by

StartupHub.ai Staff

Editorial team

The staff writers of StartupHub.ai, ranging from investment analysts to avid AI tool users, early adopters and critical enthusiasts. Backgrounds span engineering, business and the arts. We hold every piece to rigorous standards of research and review.

Daniel Singer

Written by

Daniel Singer

Editor, reviewed this article

Daniel Singer is an AI expert who has been writing about, covering and building AI technology since 2018.

Test your Agent Readiness now

Paste your website. How well ChatGPT, Claude and the other agents can read and use a site, in about a minute.

Watch

The videos behind the news, one flip at a time

The feed mixes the videos from our articles with startup demos and you flip through them like TV channels for free with no signup.