Skip to content
AI / LLM Write-up Intermediate

Recruiting Google Gemini’s Email Summarizer as a Phishing Aid

Gemini's email summarizer decodes hidden Base64 content in emails and includes it in the summary, allowing an attacker to inject misleading text such as a false claim that a link is safe. This could trick users into trusting phishing links.

mike-sheward Follow

Published on mike-sheward.medium.com

If you are unfamiliar, Google Gemini’s Email Summarization Feature, on certain editions of Gmail (in this case it was Google Workspace for Enterprise), scans the body of your email’s and generates a little summary at the top. A TL;DR if you will.

Mike Sheward, on mike-sheward.medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could make a phishing email appear more trustworthy by having the AI summary falsely state that a link is safe, potentially increasing click-through rates.

What the attacker needed

Gmail with Gemini summarization enabled; Attacker can send email to victim

How it was found

  1. Craft an email containing hidden Base64-encoded text.
  2. Ensure the Base64 decodes to a message claiming a link is safe.
  3. Send the email to a Gmail account with Gemini summarization enabled.
  4. Observe the AI summary includes the hidden claim.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Email summarizers use AI to give you a short overview of a message. Here, the AI also read hidden text that was encoded in Base64 (a way to represent data as text) and included it in the summary. An attacker could put a fake reassurance in that hidden text, making a dangerous link seem safe.

What is AI / LLM?

Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.

Similar reports

View all

Same bug class and techniques, clearest first.

AI and LLM vulnerabilities

The lesson behind this report.

Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.