Hacking Gemini's Memory with Prompt Injection and Delayed Tool Invocation
Gemini's long-term memory feature could be manipulated through prompt injection, allowing an attacker to plant false memories or alter stored user information. The researcher demonstrated that delayed tool invocation could be used to trigger memory writes after the initial interaction.
embracethered.com
Published on embracethered.com
A while ago Google added memories to Gemini. Memories allow Gemini to store user-related data across sessions, storing information in long-term memory.
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 potentially alter or plant memories in a victim's Gemini account, influencing future responses, though the text does not confirm a full exploit against other users.
What the attacker needed
Gemini Advanced subscription; attacker can influence model input
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.
Gemini is an AI assistant that can remember things about you between chats. This report shows that someone could trick it into saving false information about you, which it would then treat as true in later conversations.
What is AI / LLM?
Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.