System Prompt Extraction against Vision-Language Models

System prompts are a foundational component of deployed vision-language large models (VLLMs), enabling service providers to shape model behavior, enforce usage policies, and embed proprietary business logic through confidential instructions prepended to user inputs at inference time. As these instructions frequently encode competitive advantages and sensitive operational details, they are treated as protected assets by deploying organizations. Prior work has demonstrated that system prompts are susceptible to extraction attacks, wherein adversaries construct malicious queries to coerce a model into disclosing its hidden context. However, existing attacks operate exclusively in the textual modality, leaving the visual channel entirely unexplored as an attack vector. This is a significant oversight: visual tokens are projected into the text embedding space, making the image a co-equal input to the decoder that processes the system prompt, and an attack surface that text-only defenses miss. In this paper, we present the first system prompt extraction attack against VLLMs that operates entirely through the image modality. We introduce DISPEL, a DIffusion-guided System Prompt Extraction via reinforcement Learning that formulates adversarial image generation as a learned policy problem and fine-tunes a pretrained diffusion model with LoRA, encoding the adversarial signal in image semantics rather than an additive perturbation, so that generated images reliably elicit system prompt leakage while resisting purification-based defenses. Extensive evaluation across multiple VLLMs and datasets demonstrates that DISPEL successfully extracts hidden system prompts and significantly outperforms state-of-the-art text-based baselines on exact-match metrics, exposing a critical and previously uncharacterized attack surface in deployed multi-modal systems.

Authors

Institutions

Publication Details

Journal
arXiv
Published
2026-12-03
Primary Topic
Adversarial Robustness in Machine Learning
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

System Prompt Extraction against Vision-Language Models

Mario Fritz, Dìmosthenis Karatzas, Raouf Kerkouche, Khanh Nguyen
arXiv
Adversarial Robustness in Machine Learning
preprint

System Prompt Extraction against Vision-Language Models

Mario Fritz, Dìmosthenis Karatzas, Raouf Kerkouche, Khanh Nguyen
preprint en

Abstract

System prompts are a foundational component of deployed vision-language large models (VLLMs), enabling service providers to shape model behavior, enforce usage policies, and embed proprietary business logic through confidential instructions prepended to user inputs at inference time. As these instructions frequently encode competitive advantages and sensitive operational details, they are treated as protected assets by deploying organizations. Prior work has demonstrated that system prompts are susceptible to extraction attacks, wherein adversaries construct malicious queries to coerce a model into disclosing its hidden context. However, existing attacks operate exclusively in the textual modality, leaving the visual channel entirely unexplored as an attack vector. This is a significant oversight: visual tokens are projected into the text embedding space, making the image a co-equal input to the decoder that processes the system prompt, and an attack surface that text-only defenses miss. In this paper, we present the first system prompt extraction attack against VLLMs that operates entirely through the image modality. We introduce DISPEL, a DIffusion-guided System Prompt Extraction via reinforcement Learning that formulates adversarial image generation as a learned policy problem and fine-tunes a pretrained diffusion model with LoRA, encoding the adversarial signal in image semantics rather than an additive perturbation, so that generated images reliably elicit system prompt leakage while resisting purification-based defenses. Extensive evaluation across multiple VLLMs and datasets demonstrates that DISPEL successfully extracts hidden system prompts and significantly outperforms state-of-the-art text-based baselines on exact-match metrics, exposing a critical and previously uncharacterized attack surface in deployed multi-modal systems.

arXiv
Universitat Autònoma de Barcelona (ES), Centre National de la Recherche Scientifique (FR), Université de Lille (FR), Helmholtz Center for Information Security (DE), Computer Vision Center (ES), Centre de Recherche en Informatique, Signal et Automatique de Lille (FR), École Centrale de Lille (FR)
Adversarial Robustness in Machine Learning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon