Manuscript Offprint

arXiv:2610.24058

Under the Skin: Backdoor Infection in Multimodal Large Language Models

Jiawen Wang, Ruo Yang, Haoran Dai, Binghui Wang, Ning Luo

Abstract

Multimodal Large Language Models (MLLMs) have achieved impressive performance in generating text conditioned on inputs from different modalities. In this work, we introduce backdoor infection, a cross-modal attack framework targeting MLLMs. Starting from a model already injected with a backdoor in one modality, our attack constructs a corresponding trigger in another modality, called the infected modality. Exploiting the model's shared latent space, the trigger in the infected modality reliably activates the malicious behavior, without modifying or poisoning the infected modality during training. We further develop a lightweight, constraint-aware optimization method for efficient and practical trigger generation. Extensive experiments across several state-of-the-art MLLMs, including LLaVA, InternVL, Qwen-VL, and Gemma, demonstrate that our approach identifies cross-modal triggers that are more efficient, effective, and less detectable than direct optimization baselines, highlighting a critical new threat vector in multimodal systems.

1 Introduction

Recent breakthroughs in multimodal large language models (MLLMs) have significantly advanced the ability to jointly process and reason over diverse modalities, including text, images, and audio. MLLMs like LLAMA [14], InternVL-3 [9], QWen [3], and Gemma-3 [45] demonstrate strong performance on complex tasks requiring cross-modal understanding. Built upon large language model (LLM) foundations, these systems leverage architectural innovations, particularly cross-attention mechanisms and shared latent spaces, that enable fine-grained alignment and integration of modality-specific representations. Consequently, MLLMs achieve high accuracy and strong generalization across a broad spectrum of multimodal benchmarks.

Recent work demonstrates that backdoor attacks on MLLMs are feasible, with most studies focusing on planting triggers from scratch [25, 30, 24, 33, 32, 56, 60]. These methods either design triggers that combine components from multiple modalities [24, 56] or embed backdoors in a single modality that remain effective in the presence of other modalities [32, 25, 33]. These attacks generally model the MLLM's input as a monolithic object, ignoring that each modality exhibits fundamentally different properties and attack surfaces.

Planting backdoors in vision modalities is considerably harder than in textual ones. Visual triggers must remain robust under image augmentations such as cropping or color jittering, and attackers often lack access to the large-scale training pipelines required to implant them. For example, in LLaVA-1.6, the vision encoder (CLIP-ViT-L/14) contains approximately 428 million parameters, while the textual projection and multimodal adapter layers, which map the visual embeddings into the Vicuna-7B language space, contain only about 70 million parameters in total. Because these textual alignment modules are small and fully trainable, attackers can efficiently fine-tune or poison them with limited computational cost. In contrast, the large vision

Figure

Backdoor Injection: adversaries plant backdoors at the injected modality (textual modality in this example) through any backdoor approaches, but untouching the rest modules.

Backdoor Infection: adversaries trigger target behaviors induced by the backdoors by manipulating the input of other modalities (the vision modality in this example), while the models remain untouched.

Figure 1: Two phases of the backdoor infection attacks. In the injection phase, a backdoor may be injected using any effective backdoor-planting technique. In the infection phase, the attacker crafts an input whose MinfM_{inf} component contains the trigger while other modalities remain benign.

encoder is typically frozen, making visual backdoor implantation significantly more difficult and resource-intensive. Indeed, textual triggers are easier to integrate through fine-tuning or data poisoning, where even a few malicious examples can induce persistent behaviors [7]. Prior studies have demonstrated diverse text-only triggers, including lexical cues [19, 47], semantic contexts [57], and stylistic structures [16, 54, 61], with evidence that simple lexical triggers can survive standard safety tuning [19].

Triggering backdoors effectively in textual modalities is challenging because triggers must navigate the constraints of discrete language, unlike the continuous input spaces of computer vision or audio. The trigger, often a specific word, phrase, or punctuation mark, must be linguistically stealthy, meaning it must appear syntactically correct and semantically natural within the input sentence to avoid immediate detection by human users or by defense mechanisms like perplexity filters that target statistical linguistic outliers. This necessity for semantic consistency and natural integration makes activation difficult, as the attacker must manually craft a benign input that accurately contains the trigger without breaking the flow or meaning of the text, thereby increasing the practical hardness of triggering compared to simply superimposing a robust digital patch onto an image.

Our key insight is that the cross-modal alignment learned by MLLMs can be exploited to amplify the asymmetric difficulty in planting and triggering backdoors across modalities. We term this attack surface backdoor infection: by implanting a trigger in one modality and leveraging alignment dynamics, the trigger can propagate through the shared latent space and activate malicious behavior when a different modality is presented. To our knowledge, this mode of cross-modal transfer for persistent backdoors has not been explored previously. Figure 1 shows two phases of the backdoor infection. The infection starts from an MLLM that has already been injected with a backdoor at a modality MinjM_{inj}. The attack then aims to construct a corresponding trigger at a different modality MinfM_{inf} such that the attacker-specified behavior is reliably activated at test time. In particular, the attack consists of two phases:

  1. Injection phase: A backdoor is planted in modality MinjM_{inj} using any existing backdoor injection method. This phase establishes the prerequisite backdoored model and may be performed by an upstream attacker or model provider.

  2. Infection phase: Given the already-backdoored model and its known trigger, the infection attacker constructs a trigger in a different modality MinfM_{inf} and activates the backdoor by modifying only the MinfM_{inf} input, without changing the model.

The root of backdoor infection is architectural: modern MLLMs fuse input from different modalities (e.g., text, image, audio) into a shared embedding space, typically through modality-specific encoders followed by joint projection layers or cross-attention. This shared space enables the model to reason across modalities, while also establishing an implicit communication channel between them. As a result, a trigger embedded in one modality can propagate and influence outputs even when presented in a different form. Our work exposes a distinct cross-modal backdoor activation surface: a backdoor injected through one modality can be activated at inference time through a newly constructed trigger in another, previously unpoisoned modality, without additional model updates. Unlike existing multimodal backdoor attacks that determine the triggering modality during training, backdoor infection treats the original backdoor as a pre-existing condition and constructs an alternative activation channel only at inference time. Our experiments show that, for an attack against Gemma-3(4B), infection not only preserves but also enhances the trigger's effectiveness, improving the attack success rate (ASR) by up to 330%! To summarize, a backdoor infection attack brings the following advantages against existing attacks:

  • Preserve robustness. The infection attack preserves the robustness of the backdoor implanted at MinjM_{inj} during the injection phase, while the backdoor is triggered at a different modality MinfM_{inf} in the infection phase. The attacks can use any robust and effective backdoor attacks applied to modality MinjM_{inj}. Our infection procedure is orthogonal to and compatible with prior backdoor injection techniques; these injections act as a ready-made component that the infection leverages to achieve cross-modal activation.

  • High stealthiness. The infection process introduces no change to the model’s weights or parameters at the infected modality. Conventional defenses, such as modal-specific weight auditing or input sanitization, are ineffective at detecting or preventing infection.

• Efficiency and practicality. Infection only requires constructing the trigger at the input level, such as image perturbation, without retraining or fine-tuning the model, making the attack scalable and low-cost.

References (62)