Skip to content

Researchers propose a covert visual prompt injection method for commercial multimodal large models.Covert Visual Prompt Injection against Commercial Multimodal Large Language Models

Paper Tracker· arXiv:2603.29418· Meiwen Ding, Song Xia, Chenqi Kong, Xudong Jiang·Indexed by this site · 2026-10-08· Originally publishedAttacks

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

CoTTA attacks closed-source MLLMs with a covert text trigger and dual-target alignment; GPT-4o description hard ASR is 74% (Table 2).

Threat modelblack-box: no access to parameters, gradients, or internal state. Only the input image is modified; the covert trigger and adversarial perturbation together are constrained by ℓ∞, ε=16. The formal goal is that under any prompt, the output semantically contains, entails, or operationally executes the specified command c⋆. Optimized with a surrogate encoder and transferred to closed-source MLLMs.

Questions
Closed-source MLLMs follow instructions embedded in inputs, but conspicuous prompts are easy to notice, and aligning only natural image semantics makes it hard to specify precise sentences. The authors aim to induce specified malicious statements under image modifications that are hard for humans to notice.
Methods
CoTTA overlays a bounded text trigger with learnable scale and rotation at the image center, then adds perturbations within the ℓ∞ budget. The attacked image's global features are pulled toward the target text and a dynamic target image, while token-level features align only with the target image. The target image moves closer to the text and away from the current attacked image.
Experiments and results
Under black-box, four closed-source models are evaluated, with 100 image descriptions and 100 VQA pairs. The authors report CoTTA's soft/hard ASR on GPT-4o as 81%/74% for description and 82% hard for VQA; Claude-4.5's VQA hard is 2% (Table 3).
Limitations and future work
The paper has no dedicated limitations section; the conclusion hopes for future work on more covert and more controllable adversarial manipulation. Experiments cover black-box transfer across four closed-source models, image description and VQA, and several attack baselines. The judge model name and number of repetitions are not reported, nor are the input filtering or detection mentioned in the paper evaluated.
Experimental setupGPT-4o、GPT-5 et al. · NIPS 2017 Adversarial Attacks and Defenses Competition dataset、ScienceQA · ASR、AvgSim
Evaluated models
GPT-4oGPT-5Claude-4.5Gemini-2.5
Benchmarks
NIPS 2017 Adversarial Attacks and Defenses Competition datasetScienceQA
Metrics
ASRAvgSim
AI summaryThe researchers propose a covert visual prompt injection method for closed-source multimodal large language models, embedding adversarial instructions in the visual modality of images. The method provides semantic guidance through a bounded text overlay while iteratively optimizing imperceptible visual perturbations, aligning the attacked image's feature representations to malicious visual and textual targets at both coarse and fine levels; the visual target is instantiated as a text-rendered image and progressively refined during optimization to more accurately express the target semantics and improve transferability. Experiments on two multimodal understanding tasks across multiple closed-source multimodal large models show that the method outperforms existing approaches.

The researchers propose a covert visual prompt injection method for closed-source multimodal large language models, embedding adversarial instructions in the visual modality of images. The method provides semantic guidance through a bounded text overlay while iteratively optimizing imperceptible visual perturbations, aligning the attacked image's feature representations to malicious visual and textual targets at both coarse and fine levels; the visual target is instantiated as a text-rendered image and progressively refined during optimization to more accurately express the target semantics and improve transferability. Experiments on two multimodal understanding tasks across multiple closed-source multimodal large models show that the method outperforms existing approaches.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    To make closed-source MLLMs output specified sentences under hard-to-detect image modifications, the authors propose CoTTA.

    Goal: make closed-source MLLMs output attacker-specified sentences under image modifications that are hard for humans to notice.

    • Scenario: the authors state that MLLMs are used in agents and robots, and instruction following means prompts embedded in inputs can hijack behavior, making model safety more important.
    • Limitations of existing work: the authors state that existing prompt injection mostly relies on visible text or visual prompts; conspicuous visual prompts are easier for users to notice and more likely to be handled by input filtering or safety mechanisms. Adversarial attacks aligned to natural image semantics struggle to precisely specify executable instructions.
    • Hypothesis: the authors believe that aligning only malicious text is limited by cross-modal representation gaps, and closed-source model internal representations are inaccessible. Image-to-image alignment transfers better but cannot encode arbitrary specified sentences.
    • Proposal: the authors call this setting adversarial prompt injection and propose Covert Triggered dual-Target Attack (CoTTA): a bounded text overlay serves as a covert trigger, and the perturbation aligns both a text target and a dynamic visual target.
    • Threat model:
      • Goal: find x′=x+δ such that the output under any prompt p semantically contains, entails, or operationally executes c⋆ (target-string expressivity in Definition 3.1).
      • Knowledge: experiments are black-box, with no access to parameters, gradients, or internal state; gradients come from a surrogate encoder and are transferred.
      • Capability: only the input image is modified. The trigger and perturbation together satisfy invisibility, with ℓ∞ norm ε=16.
      • Victim system: commercial closed-source MLLMs, tested as GPT-4o, GPT-5, Claude-4.5, Gemini-2.5, on image description and VQA tasks.
  2. What related research exists?

    The authors divide related work into adversarial attacks and prompt injection, and state that the former struggles to precisely control sentences while the latter is visually conspicuous.

    The authors group prior work into adversarial attacks and prompt injection, and position this paper by the trade-off between covertness and precision of sentence control.

    Visual Adversarial Attacks

    • AttackVLM (Zhao et al., 2023): Perturbs visual features of encoders such as CLIP and BLIP for transferable attacks. The authors state that aligning image features to a target image transfers better than aligning to target text, and this influenced later work.
    • M-Attack (Li et al., 2025) and FOA-Attack (Jia et al., 2025): Use multi-extractor ensembles and feature-space alignment. The paper states that both achieve target attack success rates above 90% on image description, including against closed-source systems such as ChatGPT-4o. The authors note that targeting natural image features makes it hard to force precise malicious sentences or executable commands. That 90% is the paper's paraphrase of existing image-semantic attacks, not a number from this paper's experiments.
    • Agent-Attack (Wu et al., 2024): Aligns image features to target text to attack closed-source models. The authors state its performance is limited and suggest this may come from cross-modal representation mismatch. Bailey et al. (2023) report that under an ℓ∞ budget their method failed to learn effective specific-string hijacking.

    Prompt Injection

    • Context injection: Liu et al. (2023b; 2024b), Yi et al. (2025), Shi et al. (2024), and Lu et al. (2025) write adversarial commands into the input so that the model overrides or ignores legitimate user prompts.
    • Text in images: Pathade (2025), Cheng et al. (2025), Kimura et al. (2024), and Wang et al. (2025) place text instructions directly in images. The authors state that Cheng et al. (2025) uses typographic strategies to place prompts, and the injected content remains visually conspicuous.
    • Filtering and detection: The authors state that conspicuous visual prompts are more likely to be mitigated by model-side input filtering or safety mechanisms, citing Lin et al. (2025), Jacob et al. (2024), and Li et al. (2024c).

    Baselines and Benchmarks

    • Baselines: Experiments compare AttackVLM, AnyAttack (Zhang et al., 2025), M-Attack, FOA-Attack, and Agent-Attack. AnyAttack uses a trained noise generator to produce targeted adversarial examples. The authors state that several baselines were originally designed for image description, and for comparison they set G0img with explicit text as their adversarial target.
    • Benchmarks: Image description uses 100 images sampled from the NIPS 2017 Adversarial Attacks and Defenses Competition dataset; VQA uses 100 random image–question pairs from ScienceQA (Lu et al., 2022).

    The authors state that existing approaches are either hard to see but imprecise in sentence control, or capable of fine-grained sentence control but with conspicuous prompts; this paper aims to induce specified sentences under imperceptible modifications.

  3. How does the paper address this problem?

    CoTTA uses a centered learnable text trigger plus perturbation and aligns the attack graph to both text and a dynamic target graph.

    CoTTA first places a bounded, geometrically learnable text trigger at the center of the original image, then optimizes perturbations within the same ℓ∞ budget so that the attacked image is simultaneously close to malicious text and a dynamic target image.

    Problem Setting

    fθ autoregressively decodes image–prompt pairs into word sequences. Adversarial prompt injection requires x′=x+δ to fall within the budget and to induce c⋆ for every p in the prompt set. The authors write this requirement as \forall p \in P,\ f_\theta(x',p) \models c^\star. Here |= means the output semantically contains, entails, or operationally executes c⋆; δ must also satisfy ℓ∞ not exceeding ε. The authors argue that the image-to-image alignment control in Eq. (3) is imprecise, and the image-to-text alignment in Eq. (4) is often insufficient due to the modality gap, especially when internal representations of closed-source models are inaccessible.

    Covert Text Trigger

    The trigger provides lightweight semantic cues. The authors observe that the center position is most effective, so it is anchored at the image center, learning only scale s and rotation θ. The target sentence is rendered as a tightly cropped text image, transformed affinely to obtain a binary mask; the effective scaling is restricted to 0.05 to 0.95. Mask pixels are perturbed with values of −ε or ε and clipped to the legal pixel range. s, θ, and the adversarial noise share the objective Msrc, updated by Adam each round. The authors observe that if the prompt does not explicitly ask to attend to text in the image, the trigger alone has limited effect on the output, so perturbations are added to amplify the semantics.

    Dynamic Target Image

    The target image provides complementary supervision for closed-source transfer. G0img is initialized from the initial text mask under identity geometry (s=1, θ=0), then updated with I-FGSM within the ε ball. The update pulls the target image features toward the text embedding and pushes them away from the current attacked image, with coefficients λpull=1 and λpush=0.5. The authors' rationale is to stay semantically consistent with the target text while avoiding collapse onto the current attacked image, which would lose informative supervision.

    Coarse and Fine Dual-Target Alignment

    Each round randomly samples an equivalent text from the paraphrase set P⋆; the paper does not give the set size. The global term computes cosine similarity between the attacked image and the current target image, and between the attacked image and that text. The token-level term averages cosine similarity only between the attacked image and the target image's patch features. The two are summed as Msrc=Mglobal+Mlocal. Source image perturbations are maximized with sign gradient ascent at step size αsrc, then projected back onto the ℓ∞ ball. The paper sets 300 epochs, ε=16 for both source and target images, and αsrc and αtgt both equal to 1. Gradients come from an ensemble of CLIP-B/16, CLIP-B/32, and LAION.

    Success Criteria

    Image description has two criteria. Soft uses the description of the target text image as reference; hard requires the output's semantic similarity to the target sentence to exceed 0.3. VQA uses only hard. Similarity comes from LLM-as-a-judge; for soft, the same victim model first writes descriptions for both images. The paper does not state the soft success threshold or the judge model name. Commands fall into two categories: VQA uses preset error messages, and image description uses instructions that induce actions. The paper gives example sentences, not repeated here.

  4. What experiments did the paper conduct?

    In black-box transfer across four closed-source models, CoTTA achieves higher ASR on GPT-4o than comparison methods, while all are very low on Claude-4.5.

    Experimental Setup

    • Target models: GPT-4o, GPT-5, Claude-4.5, Gemini-2.5. Section 4.1 is black-box, with no access to parameters, gradients, or internal states.
    • Substitutes and baselines: Gradients come from CLIP-B/16, CLIP-B/32, LAION. The main rows for CoTTA and M-Attack, FOA-Attack, AnyAttack, Agent-Attack are Ensemble; AttackVLM additionally reports B/16, B/32, Laion. The authors state that methods originally aimed at description tasks were adapted to the same target, with G0img containing explicit text as the adversarial target.
    • Data: For the description task, 100 images were drawn from the NIPS 2017 Adversarial Attacks and Defenses Competition dataset, and descriptions were required to be generated. For VQA, 100 image–question pairs were randomly drawn from ScienceQA. There is also a 1000-image comparison (Table 4).
    • Metrics: ASR and AvgSim. For soft, the description of the target text image is used as reference; the paper does not state a success threshold. For hard, an LLM compares the target text with the post-attack output, and a similarity above 0.3 counts as success. VQA is evaluated only on hard. For soft, the same victim model writes descriptions for both images, and then an LLM scores them. The paper does not state the name of the judging model, nor the number of repetitions.
    • Hyperparameters and commands: 300 epoch; ε=16 for source and target images; αsrc, αtgt, λpull, λpush are 1, 1, 1, 0.5. The VQA command is a preset error message, and the description task is an instruction that induces action. The paper gives example sentences, which are not repeated here.

    Main Results

    The table below shows the ASR of Ensemble transferred to closed-source models; the target is not the substitute itself. Description soft is according to Table 1, description hard according to Table 2, and VQA hard according to Table 3.

    Swipe horizontally to read the table

    ModelMethodDescription soft ASRDescription hard ASRVQA hard ASR
    GPT-4oCoTTA81%74%82%
    GPT-4oFOA-Attack47%42%53%
    GPT-5CoTTA56%53%58%
    GPT-5FOA-Attack27%22%12%
    Gemini-2.5CoTTA79%81%79%
    Gemini-2.5FOA-Attack71%69%42%
    Claude-4.5CoTTA8%7%2%
    Claude-4.5FOA-Attack6%3%0%
    • AvgSim: For CoTTA description soft, GPT-4o 0.442, GPT-5 0.320, Gemini-2.5 0.429, Claude-4.5 0.046 (Table 1); description hard is 0.339, 0.249, 0.348, 0.029 (Table 2); VQA hard is 0.820, 0.576, 0.787, 0.020 (Table 3). The authors state that on the GPT series it is on average 31.5% ASR and 0.18 AvgSim higher than FOA-Attack. This number is the authors' summary across soft/hard and the two GPT models. In Tables 1–2, for the GPT-5 description task, M-Attack ASR is soft 32%, hard 29%, higher than FOA-Attack but still lower than CoTTA.
    • Gemini-2.5 and VQA: In Table 1, the description soft ASR of FOA-Attack and M-Attack are both 71%. The authors state that CoTTA's AvgSim is 0.138 and 0.148 higher than the two (0.429 vs. 0.291, 0.281). On VQA, the authors state that GPT-5 exceeds FOA-Attack by 46% ASR and 0.457 AvgSim; the AvgSim in Table 3 is 0.576 vs. 0.119.
    • Low results: The authors state that Claude-4.5 is the most robust, with limited effect from each attack, but CoTTA's ASR and AvgSim are still the highest. In Table 2, M-Attack's description hard ASR is 6%, higher than FOA-Attack's 3%. AttackVLM and AnyAttack are mostly 0% on description hard (Table 2). In Table 3, AttackVLM on Gemini-2.5, B/32 is 3.00%, not zero across the whole table.

    Hard Comparison on One Thousand Images

    The main text states it is expanded to 1,000 samples, the table title says 1000 images, the criterion is hard, and the comparison is against FOA-Attack (Table 4). The paper does not state the dataset or task, and the table does not include Claude-4.5.

    Swipe horizontally to read the table

    ModelCoTTA ASRCoTTA AvgSimFOA ASRFOA AvgSim
    GPT-4o64.7%0.31541.3%0.161
    GPT-554.4%0.24622.8%0.089
    Gemini-2.573.2%0.30858.4%0.211

    The authors state that on average across the three models it exceeds FOA-Attack by 23.27% ASR and 0.136 AvgSim. In the 100-image description hard in Table 2, GPT-4o's CoTTA ASR is 74%. Whether the tasks corresponding to the two numbers are the same is not stated in the paper.

    Component Ablation

    The object of Table 5 is written in the main text as GPT4o. The paper does not state the task. Full CoTTA is soft 81%/0.442, hard 74%/0.339, with values identical to the GPT-4o Ensemble rows in Table 1 and Table 2.

    • Removing image-to-image alignment: soft 27%/0.155, hard 22%/0.081. The authors state ASR drops by 54% and 52%, the largest decrease.
    • Removing the covert trigger: soft 66%/0.306, hard 54%/0.202. The authors state soft ASR drops by 15%.
    • Removing image-to-text alignment: soft 75%/0.42, hard 70%/0.348.
    • Removing target image update: soft 73%/0.434, hard 68%/0.351.
    • The authors state that results are best when the four components are used together. On hard AvgSim, removing image-to-text alignment gives 0.348 and removing target image update gives 0.351, both higher than full CoTTA's 0.339. The paper does not explain this difference.

    Other Ablations and Analysis

    • Weights: Figure 4 compares λpull=1, λpush=0.5; λpull=1, λpush=1; and λpull=0.5, λpush=1 on GPT-4o image description. The authors state the first group gives the best results. The main text does not give ASR or AvgSim for each group.
    • Visualization: Figure 3 shows the adversarial images and perturbations of each attack. The authors state that CoTTA's perturbations exhibit an adaptive covert trigger, and the changes remain subtle and natural. The paper does not report a quantitative imperceptibility score.
    • Single extractor: In Table 2, AttackVLM's B/16, B/32, Laion have description hard ASR of 0% on all four models. In Table 3 on Gemini-2.5, B/16 is 1.00%/0.090 and B/32 is 3.00%/0.022.
  5. What are some points that can be further explored?

    The paper has no dedicated limitations section; the conclusion hopes for future research on more covert and more controllable adversarial manipulation.

    Limitations and Future Directions Noted by the Authors

    • The paper does not specifically discuss limitations: there is no dedicated Limitations section, and neither the Discussion, Future Work, nor the appendix frames any result as a method limitation.
    • Future directions: The Conclusion states the hope that CoTTA will inspire further research on more covert attacks and more precise, controllable adversarial manipulation.

    Experimental Coverage

    • Models tested: GPT-4o, GPT-5, Gemini-2.5, Claude-4.5, 4 in total; Section 4.1 sets them as black-box.
    • Task scale: Image description uses 100 images sampled from the NIPS 2017 Adversarial Attacks and Defenses Competition dataset; VQA uses 100 random pairs from ScienceQA. Table 4 additionally has 1000 images, hard criterion, and three models, without stating the dataset or task name, and does not include Claude-4.5.
    • Optimization and baselines: Alternative extractors are CLIP-B/16, CLIP-B/32, LAION; the main CoTTA result reported in the main text is Ensemble. Optimization runs 300 epochs with ε=16. Baselines are AttackVLM, AnyAttack, M-Attack, FOA-Attack, Agent-Attack.
    • Ablation scope: Component ablations are on GPT-4o in Section 4.3 (Table 5), and the paper does not specify the task. Weight comparisons are on GPT-4o image description (Figure 4), and the main text lists three pairs of λpull and λpush without giving the numbers for each.
    • Not reported: The judge uses LLM-as-a-judge with a hard threshold of 0.3. The paper does not report the judge model name, agreement with humans, number of repetitions, or number of queries to the target model; nor does it report tests of the input filtering or detection described in Section 2.2, or human ratings of imperceptibility.
  6. Summarize the main content of the paper

    CoTTA induces specified sentences with a covert trigger and dual-target alignment; GPT-series ASR is high, Claude-4.5 is very low.

    CoTTA is an adversarial prompt injection for closed-source MLLMs: within a budget of ℓ∞, ε=16, image modifications induce a specified sentence.

    • Problem: The authors state that conspicuous text or visual prompts can control sentences but are easily seen and more likely to be filtered; adversarial attacks that only align natural image semantics struggle to specify executable instructions.
    • Approach: A bounded text trigger with learnable scale and rotation is placed at the image center; perturbation then pulls the attack image's global features toward the malicious text and a dynamic target image, while token features align only with the target image. The target image iteratively approaches the text and moves away from the current attack image. Gradients are computed on an ensemble of CLIP-B/16, CLIP-B/32, LAION, then transferred black-box.
    • Main results: Description task 100 images, VQA 100 pairs. On GPT-4o, CoTTA description soft/hard ASR is 81% and 74%, VQA hard is 82% (Tables 1–3). Gemini-2.5 description hard ASR is 81%. The authors state that relative to FOA-Attack, GPT series average 31.5% higher ASR and 0.18 higher AvgSim.
    • Exceptions: On Claude-4.5, all methods have very low ASR, with CoTTA's VQA hard at 2% (Table 3). In the 1,000-image hard comparison, GPT-4o's CoTTA ASR is 64.7% (Table 4); the paper does not specify the dataset and task for that table.
    • Authors' conclusion: The authors state these results expose the vulnerability of modern MLLMs and hope future research explores more covert attacks and more precise, controllable adversarial manipulation.

Related papers

Show 1 more papers
Both use: NIPS 2017 Adversarial Attacks and Defenses Competition dataset
Read originalarxiv.org