Toutes les vulnérabilités
HIGHAI/LLMexploited in the wild

AI-GEMINI-INVITATION-PROMPTWARE-2025

Google Gemini · Google Gemini (Calendar/Workspace integration)

Résumé

Presented at Black Hat USA 2025 and DEF CON 33 and published August 6, 2025 by SafeBreach researchers Ben Nassi, Stav Cohen and Or Yair, this indirect prompt injection (dubbed 'promptware') hijacks Google Gemini through poisoned Google Calendar invites, emails and shared documents. An attacker sends the victim a calendar invite whose title contains hidden instructions; the malicious text sits unnoticed because long event lists hide entries behind a 'Show more' control yet still enter Gemini's context. When the victim later asks Gemini a routine request such as summarizing their schedule, the agent ingests the attacker's calendar data as trusted context and executes the embedded directives, abusing Gemini's connected agents and tool permissions. Demonstrated real-world effects included controlling Google Home smart devices to open windows, turn off lights and activate a boiler, plus geolocating the victim, starting a Zoom video stream, deleting calendar events and exfiltrating email content. The researchers privately disclosed to Google in February 2025, and Google deployed layered mitigations including user confirmations, URL sanitization and prompt-injection detection before publication.

Comment l’éviter dans votre code

  • Treat calendar invites, emails and shared docs as untrusted data, never as agent instructions.
  • Isolate untrusted event/document text from the instruction context and strip injected directives.
  • Require explicit human confirmation before the agent invokes smart-home, send or location tools.
  • Apply least-privilege scopes to Gemini connectors so summarization cannot trigger device or data actions.
  • Sanitize rendered URLs and block data-bearing links and images used for exfiltration.

Références

Vulnérabilités liées

Tout AI/LLM →