arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.04257cs.CRcs.AI
收藏

AgentTypo:针对黑盒多模态智能体的自适应印刷体提示注入攻击

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

Computing Department of Hong Kong Polytechnic University(香港理工大学计算机系);Computing Department, The Hong Kong Polytechnic University(香港理工大学计算机系)

Yanjie Li, Yiming Cao, Dong Wang, Bin Xiao

AI总结:

本研究提出黑盒红队框架AgentTypo及增强版AgentTypo-pro,通过自适应印刷体提示注入攻击多模态智能体,在多个基准和模型上显著提升攻击成功率,凸显防御紧迫性。

摘要:

基于大视觉语言模型(LVLM)构建的多模态智能体正越来越多地部署在开放世界场景中,但仍极易受到提示注入攻击,尤其是通过视觉输入的攻击。我们提出了AgentTypo,这是一种黑盒红队测试框架,通过将优化后的文本嵌入网页图像来实施自适应印刷体提示注入。我们的自动印刷体提示注入(ATPI)算法通过替换字幕生成器最大化提示重构效果,同时通过隐形损失降低人类可检测性,由树结构Parzen估计器指导对文本位置、大小和颜色的黑盒优化。为进一步增强攻击强度,我们开发了AgentTypo-pro,这是一个多LLM系统,利用评估反馈迭代优化注入提示,并检索过往成功案例实现持续学习。有效提示会被提炼为可泛化的策略,存储在策略库中,实现知识的逐步积累并可在未来攻击中复用。在VWA-Adv基准的分类信息、购物和Reddit场景下的实验表明,AgentTypo的性能显著优于AgentAttack等最新的基于图像的攻击方法。在GPT-4o智能体上,我们的纯图像攻击将成功率从0.23提升至0.45,在GPT-4V、GPT-4o-mini、Gemini 1.5 Pro和Claude 3 Opus上也取得了一致的结果。在图像+文本设置下,AgentTypo的攻击成功率(ASR)达到0.68,同样优于最新基线。我们的研究结果表明,AgentTypo对多模态智能体构成了切实且强大的威胁,凸显了研发有效防御手段的紧迫性。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑