Image Prompt Injection

Hidden text in receipt images overrides vision model instructions.

What you practise

Hide instruction payloads in image content. You run the attack yourself on a live model in a private sandbox set up for you, then capture the flag. Nothing to install and no API key.

Multimodal = a new injection surface per modality

Every new input modality is a new place to hide instructions. Text filters don't scan pixels. Image content moderation looks for nudity and violence, not 'IGNORE PREVIOUS INSTRUCTIONS' in red Helvetica. Worse, instructions can be invisible to humans, adversarial perturbations, low-contrast text, or steganographic encoding, but perfectly readable to the model. The attack surface is the entire pixel grid.

Where this has happened

  • GPT-4V prompt injection (Oct 2023): Riley Goodside and others demonstrated that text written into images would override GPT-4V's system prompt within days of the vision rollout.
  • Bing Image Creator → Copilot (2024): Images containing instructions caused Copilot to leak conversation history and execute search queries the user never asked for.
  • Anthropic visual injection research (2024): Published work showed adversarial patches, visually noisy stickers, could reliably override Claude vision's instructions even when humans couldn't read the patch.

Sign in to launch this lab Learn the theory in the Academy

More Multimodal labs

Attack labs

20 hands-on scenarios across 4 tracks. Pick a target, launch a private sandbox, capture the flag.

Active sessions

Resume a running lab or stop it before starting the next one.