Skip to content
Promptfoo LM Security DB·Indexed by this site · Originally published· Attacks →SelectedAttention42

Visual prompt injection crosses document trust boundaries and can hijack vision-language agents

Visual prompt injection crosses document trust boundaries

AI summary

A study included in the Promptfoo security database shows that untrusted document images can let vision-language agents cross the boundary between instructions and tool authorization. The study evaluated six models with Repeat-After-Me on constructed document tasks, and the authors report a native tool-call success rate of 47% for Claude Opus 4.7 and GPT-5.5, and 85% for Gemini 3.1 Pro. These results are based on synthetic tasks and bounded adaptive search, not production environment sampling. The evaluated defenses reduced some results but did not approach zero on all three commercial victim models, and the defense tests were not adaptive. The database recommends treating image text as untrusted task data, enforcing tool privileges and sensitive data access controls outside the model, and requiring separate authorization for changes to trusted configurations.

Why it was selected

The database aggregates the tool-call success rates of visual prompt injection on six models and gives handling recommendations for treating image text as untrusted data.

Related papers
Read originalpromptfoo.dev