Skip to content
Preprint

Open Models, Open Risks: Measuring Unsafe Generation in Text-to-Image Models In the Wild

Jul 2026 · 0 citations · 27 references
Computer Science

TL;DR

A large-scale empirical study of in-the-wild T2I safety through the lens of jailbreak, showing that detector-only jailbreak metrics substantially overestimate practical risk over in the wild due to semantic drift and generation artifacts and introducing Advanced ASR to better capture semantically valid and visually plausible unsafe generation.

Abstract

Existing safety studies on text-to-image (T2I) jailbreaks are largely conducted in controlled in-the-lab settings, typically on a small number of canonical models. As a result, the current safety status of the rapidly growing in-the-wild T2I ecosystem remains unclear. This uncertainty is amplified by two factors: existing detector-based metrics are designed for controlled evaluation, and in-the-wild risks may arise not only from adversarial prompting, but also from unsafe release practices and unsafe model derivatives. In this paper, we present a large-scale empirical study of in-the-wild T2I safety through the lens of jailbreak. We first show that detector-only jailbreak metrics substantially overestimate practical risk over in the wild due to semantic drift and generation artifacts, and we introduce Advanced ASR to better capture semantically valid and visually plausible unsafe generation. Using this refined metric, we evaluate 200+ in-the-wild T2I models from Hugging Face under three representative jailbreak attacks. Our results show that many downstream models retain a non-trivial degree of safety even without explicit post-hoc safeguards, indicating that safety degradation in the wild is neither universal nor uniform. At the same time, we identify a set of high-risk models, including explicitly NSFW-oriented releases as well as seemingly benign models whose unsafe behavior is only exposed through systematic evaluation. We further trace these models to their release context and report high-risk cases to Hugging Face.

View source

Similar papers

2026

Patronus: Safeguarding Text-to-Image Models Against Adversarial Fine-Tuning

Text-to-image (T2I) models can be exploited to produce unsafe images. Existing safety measures, e.g., content moderation or model alignment, can be weakened by adversaries who attempt to restore unsafe generation through model fine-tuning. This paper presents Patronus, a defensive framework that improves T2I models’ re...

Xin-Feng Li, Sheng-Yuan Pang, Jialin Wu et al. · 0 citations
Preprint Aug 2026

DiSCO: Defending text-to-image generation through distribution-guided contrastive prompt optimization

DiSCO is proposed, a zero-shot, strictly black-box defense that operates entirely at the prompt level as a plug-and-play module, requiring no model retraining, fine-tuning, or access to model internals, and can be readily applied to any text-to-image system without necessitating any changes to the model itself.

Tong Zhang, M. Alfarra, Carlos Hinojosa et al. · 0 citations
Book Open access Jul 2026

Investigating Robustness in Vision-Language Models via Adversarial Prompt Illumination

Trained on large corpora of image-text pairs, vision-language models (VLMs) have proven broadly useful across many applications. However, they can still make errors that humans rarely do, particularly when exposed to adversarial inputs crafted to mislead them. Traditional approaches to uncovering such vulnerabilities t...

Thai Huy Nguyen, Khoa Tran, Quan Minh Phan et al. · 0 citations
Jul 2026

Between Safe Boundaries: Exploiting Temporal Consistency for Jailbreaking Text-To-Video Generation Models

SB is proposed, a structured, query-efficient jailbreak framework for T2V models that harnesses temporal consistency by encoding harmful intent as the transition between two individually harmless boundary states and proves that structured search facilitates effective vulnerability discovery under constrained query budg...

Xingkai Peng, Jun Jiang, Jia-Yang Liu et al. · 0 citations
Jul 2026

GhostPrompt: Cross-Image Adversarial Prompt for Vision-Language Models

Vision-Language Models (VLMs) are known to be vulnerable to adversarial attacks, where subtle perturbations to images or texts induce erroneous outputs. However, most text-based attacks are adapted from language-model-centric methods, in which the visual input is fixed during optimization, resulting in adversarial prom...

Li Zeng, Ze-Yu Ye, Meng Xie et al. · 0 citations
Jul 2026

Introspective Attention Modulation for Safe Text-to-Image Generation

The results reveal that attention-space regulation offers a considerably more promising path to safer diffusion transformer based image generation than the existing concept erasing mechanism.

Basim Azam, Hossein Rahmani, Naveed Akhtar · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.