Jailbreaking Vision-Language Models Through the Visual Modality
Abstract
Lay Summary
AI assistants like ChatGPT, Claude, and Gemini now read pictures, not just text. They are trained to refuse harmful requests, but that safety training relies almost entirely on text examples. We asked whether a harmful request hidden in a picture could slip past these defenses. We designed four picture-based jailbreak attacks: one encodes a request using a legend of symbols; one swaps a dangerous object for a harmless stand-in; one removes a dangerous word from an image while keeping the visual context suggestive; and one hides the forbidden concept inside a visual riddle. We tested these on six leading AI models. Our results expose a gap: safety training on text does not automatically transfer to pictures. In one striking case, a visual cipher attack succeeded 41% of the time against a model that refused the matching text version 89% of the time. These attacks bypass the AI's input-side safety, but a text classifier scanning the reply catches the vast majority. We urge AI labs to deploy such a lightweight output classifier on every model. This low-cost defense closes most of the gap even under the compute pressures of today's AI race.