Google Jules is Vulnerable To Invisible Prompt Injection
Google Jules, an AI coding assistant built on Gemini, can be tricked by invisible Unicode Tag characters hidden in a GitHub issue to follow attacker instructions. An attacker could plant such instructions to make Jules add backdoor code or run arbitrary commands and tools.
embracethered.com
Published on embracethered.com
The latest Gemini models quite reliably interpret hidden Unicode Tag characters as instructions. This vulnerability, first reported to Google over a year ago, has not been mitigated at the model or API level, hence now affects all applications built on top of Gemini.
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
Root cause
Likely the Gemini models interpret hidden Unicode Tag characters as instructions, and this behaviour is not mitigated at the model or API level.
Impact
An attacker could make Jules add backdoor code or run arbitrary commands and tools, and the issue affects all applications built on Gemini, including Google's own products.
What the attacker needed
Ability to create or edit a GitHub issue; Jules is asked to work on that issue
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.
This is about an AI helper that reads GitHub issues and writes code. Someone can hide secret instructions in the issue text using special invisible characters that the AI reads but a person does not see. The AI then follows those hidden instructions, which could make it add harmful code or run commands.
What is AI / LLM?
Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.