Manipulating Multimodal Agents via Cross-Modal Prompt Injection

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Wang, Le, Ying, Zonghao, Zhang, Tianyuan, Liang, Siyuan, Hu, Shengshan, Zhang, Mingchuan, Liu, Aishan, Liu, Xianglong
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866913961710977024
author Wang, Le
Ying, Zonghao
Zhang, Tianyuan
Liang, Siyuan
Hu, Shengshan
Zhang, Mingchuan
Liu, Aishan
Liu, Xianglong
author_facet Wang, Le
Ying, Zonghao
Zhang, Tianyuan
Liang, Siyuan
Hu, Shengshan
Zhang, Mingchuan
Liu, Aishan
Liu, Xianglong
contents The emergence of multimodal large language models has redefined the agent paradigm by integrating language and vision modalities with external data sources, enabling agents to better interpret human instructions and execute increasingly complex tasks. However, in this paper, we identify a critical yet previously overlooked security vulnerability in multimodal agents: cross-modal prompt injection attacks. To exploit this vulnerability, we propose CrossInject, a novel attack framework in which attackers embed adversarial perturbations across multiple modalities to align with target malicious content, allowing external instructions to hijack the agent's decision-making process and execute unauthorized tasks. Our approach incorporates two key coordinated components. First, we introduce Visual Latent Alignment, where we optimize adversarial features to the malicious instructions in the visual embedding space based on a text-to-image generative model, ensuring that adversarial images subtly encode cues for malicious task execution. Subsequently, we present Textual Guidance Enhancement, where a large language model is leveraged to construct the black-box defensive system prompt through adversarial meta prompting and generate an malicious textual command that steers the agent's output toward better compliance with attackers' requests. Extensive experiments demonstrate that our method outperforms state-of-the-art attacks, achieving at least a +30.1% increase in attack success rates across diverse tasks. Furthermore, we validate our attack's effectiveness in real-world multimodal autonomous agents, highlighting its potential implications for safety-critical applications.
format Preprint
id arxiv_https___arxiv_org_abs_2504_14348
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Manipulating Multimodal Agents via Cross-Modal Prompt Injection
Wang, Le
Ying, Zonghao
Zhang, Tianyuan
Liang, Siyuan
Hu, Shengshan
Zhang, Mingchuan
Liu, Aishan
Liu, Xianglong
Computer Vision and Pattern Recognition
The emergence of multimodal large language models has redefined the agent paradigm by integrating language and vision modalities with external data sources, enabling agents to better interpret human instructions and execute increasingly complex tasks. However, in this paper, we identify a critical yet previously overlooked security vulnerability in multimodal agents: cross-modal prompt injection attacks. To exploit this vulnerability, we propose CrossInject, a novel attack framework in which attackers embed adversarial perturbations across multiple modalities to align with target malicious content, allowing external instructions to hijack the agent's decision-making process and execute unauthorized tasks. Our approach incorporates two key coordinated components. First, we introduce Visual Latent Alignment, where we optimize adversarial features to the malicious instructions in the visual embedding space based on a text-to-image generative model, ensuring that adversarial images subtly encode cues for malicious task execution. Subsequently, we present Textual Guidance Enhancement, where a large language model is leveraged to construct the black-box defensive system prompt through adversarial meta prompting and generate an malicious textual command that steers the agent's output toward better compliance with attackers' requests. Extensive experiments demonstrate that our method outperforms state-of-the-art attacks, achieving at least a +30.1% increase in attack success rates across diverse tasks. Furthermore, we validate our attack's effectiveness in real-world multimodal autonomous agents, highlighting its potential implications for safety-critical applications.
title Manipulating Multimodal Agents via Cross-Modal Prompt Injection
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2504.14348