# AgentTypo: Adaptive Typographic Prompt Injection Attacks against Black-box Multimodal Agents

DevFeed: [AgentTypo: Adaptive Typographic Prompt Injection Attacks against Black-box Multimodal Agents](<https://devfeed.tech/articles/agenttypo-adaptive-typographic-prompt-injection-attacks-against-black-box-multimodal-agents-113974.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2510.04257>)

Author: Yanjie Li, Yiming Cao, Dong Wang, Bin Xiao

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [prompt injection](<https://devfeed.tech/topics/prompt-injection.md>), [LLM security](<https://devfeed.tech/topics/llm-security.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Prompt Engineering](<https://devfeed.tech/topics/prompt-engineering.md>), [Image](<https://devfeed.tech/topics/image.md>)

Tags: [abstract](<https://devfeed.tech/tags/abstract.md>), [adaptive](<https://devfeed.tech/tags/adaptive.md>), [agents](<https://devfeed.tech/tags/agents.md>), [art](<https://devfeed.tech/tags/art.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [asr](<https://devfeed.tech/tags/asr.md>), [attack](<https://devfeed.tech/tags/attack.md>), [attacks](<https://devfeed.tech/tags/attacks.md>), [attention](<https://devfeed.tech/tags/attention.md>), [automatic](<https://devfeed.tech/tags/automatic.md>), [backends](<https://devfeed.tech/tags/backends.md>), [based](<https://devfeed.tech/tags/based.md>), [behavior](<https://devfeed.tech/tags/behavior.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [black](<https://devfeed.tech/tags/black.md>), [box](<https://devfeed.tech/tags/box.md>), [but](<https://devfeed.tech/tags/but.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [multimodal](<https://devfeed.tech/tags/multimodal.md>), [prompt](<https://devfeed.tech/tags/prompt.md>), [prompt-injection](<https://devfeed.tech/tags/prompt-injection.md>)

## AI overview

AgentTypo is a black-box red-teaming framework that embeds optimized text in webpage images to steer multimodal agents toward an attacker's intended answer. It tunes text position, contrast, and color using task-conditioned visual attention, then uses evaluation feedback and successful past examples to refine prompts. On VWA-Adv and Mind2Web, it outperformed the image-based attacks evaluated. Across seven closed- and open-source backends, AgentTypo-pro achieved 45%-83% attack success on VWA-Adv, exceeding CLIP-based AgentAttack by 29-47% and prior typographic attacks by 25-37%.

## Source excerpt

arXiv:2510.04257v2 Announce Type: replace Abstract: Multimodal agents built on large vision-language models are increasingly deployed in open-world settings but remain highly vulnerable to prompt injection. Typographic text-in-image attacks such as FigStep have been evaluated mainly on standalone vision-language models. For agents, user goals, webpage context, and action history make the effect of embedded instructions uncertain, and robustness to behavior-guided, adaptive visual injections remains insufficiently studied. We introduce AgentTypo, a black-box red-teaming framework that launches adaptive typographic prompt injection by embedding optimized text into webpage images. We formulate an attention-guided automatic typographic prompt-injection objective that favors the attacker's expected answer over the clean-page answer, together with task-conditioned visual attention from small question-answering models. A novel black-box optimization method searches text position, contrast, and color. To further strengthen the attack, we develop a multi-LLM system that iteratively refines injection prompts using evaluation feedback and retrieves successful past examples for strategy learning. Experiments on the VWA-Adv and Mind2Web benchmarks show that AgentTypo significantly outperforms state-of-the-art image-based prompt injection attacks. Across seven closed- and open-source model backends, AgentTypo-pro achieves 45%-83% ASR, outperforming the CLIP-based AgentAttack by 29-47% and previous typographic attacks by 25%-37% on VWA-Adv.