Manuscript Offprint

arXiv:2610.06503

Harmful Content Generation in Text-to-Image Models: Capabilities and Moderation Limitations

Paschalis Giakoumoglou, Manos Schinas, Symeon Papadopoulos

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

PASCHALIS GIAKOUMOGLOU, Centre for Research and Technology Hellas (CERTH), Greece

MANOS SCHINAS, Centre for Research and Technology Hellas (CERTH), Greece

SYMEON PAPADOPOULOS, Centre for Research and Technology Hellas (CERTH), Greece

Text-to-image generative models have achieved remarkable capabilities in producing photorealistic images, but raise concerns about misuse for generating harmful content. While safety mechanisms exist, systematic evaluations of their effectiveness against realistic attacks remain limited. This paper presents a comprehensive assessment of harmful content generation across modern text-to-image models using an automated pipeline that transforms legitimate news captions into unsafe prompts targeting sexually explicit content, violent imagery, harmful stereotypes, self-harm, and hate speech. We evaluate five open text-to-image models, including standard models with built-in safety mechanisms and community fine-tuned variants that bypass content restrictions. Our human evaluation of 1,500 generated images reveals that models produce harmful content at concerning rates: 89.2% for gore-related prompts, 47.6% for sexually explicit content, and 43.6% for harmful stereotypes. Hate speech prompts elicit unsafe content in 46.0% of cases, while self-harm prompts yield a lower rate (34.5%), predominantly through graphic violence. All evaluated models demonstrated substantial capabilities for generating violent and stereotypical content, while community fine-tuned models showed particular vulnerability to sexually explicit prompts. Quality assessment shows that models largely maintain generation capabilities for harmful versus benign content, producing synthetic imagery of sufficient fidelity to pose risks for disinformation and abuse. Human evaluation further confirms that unsafe prompting does not severely impact image plausibility and photorealism, with more capable models such as FLUX.1-dev producing clearly realistic harmful images in 30.9% of cases. Analysis of automated moderation systems reveals critical limitations, allowing substantial harmful content to evade detection. Our evaluation of synthetic image detection algorithms reveals that models trained solely on benign datasets perform worse on explicit content, while those incorporating diverse training data improve detection, highlighting semantic distribution gaps in current approaches. These findings highlight gaps between current safety measures and detection capabilities, demonstrating the need for more robust approaches to prevent misuse of text-to-image generation systems at scale.

Content Warning: This paper contains instances of sexual content, violence, and hateful material that some readers may find offensive or disturbing. All content is presented for academic research purposes to evaluate safety risks in AI image generation systems.

CCS Concepts: • Computing methodologies → Artificial intelligence; • General and reference → Evaluation; • Social and professional topics;

Additional Key Words and Phrases: Generative AI, AI safety, Content Moderation, Synthetic Image, Harmful Content

ACM Reference Format:

Paschalis Giakoumoglou, Manos Schinas, and Symeon Papadopoulos. 2026. Harmful Content Generation in Text-to-Image Models: Capabilities and Moderation Limitations. 1, 1 (October 2026), 29 pages. https://doi.org/10.1145/nnnnnnn.nnnnnnn

Authors' Contact Information: Paschalis Giakoumoglou, giakoupg@iti.gr, Centre for Research and Technology Hellas (CERTH), Thessaloniki, Greece; Manos Schinas, manosetro@iti.gr, Centre for Research and Technology Hellas (CERTH), Thessaloniki, Greece; Symeon Papadopoulos, papadop@iti.gr, Centre for Research and Technology Hellas (CERTH), Thessaloniki, Greece.

Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from permissions@acm.org.

© 2026 Copyright held by the owner/author(s). Publication rights licensed to ACM.

Paschalis Giakoumoglou, Manos Schinas, and Symeon Papadopoulos

1 Introduction

The rapid advancement of text-to-image (T2I) generative models has transformed visual content creation, enabling users to produce realistic images from text prompts. Models such as DALL-E [63], and Stable Diffusion [65] have achieved remarkable ability to generate high-quality, photorealistic images that are increasingly difficult to distinguish from authentic photographs [9]. However, these capabilities come with risks of misuse. Large-scale training datasets have been found to include thousands of images of suspected child sexual abuse, pornographic content, hate symbols, and other problematic material [6, 7]. These risks extend to information integrity through the T2I models' capacity to create convincing manipulations and fabricated content that can be weaponised in the context of disinformation campaigns, e.g. create photorealistic images of events that never occurred or manipulate visual evidence to support false narratives [19]. This capability is particularly concerning in news and journalism, since it threatens to undermine public trust in legitimate media and complicate efforts to distinguish authentic reporting from manufactured content [60].

Proposed safety measures include including content filters, prompt screening, and model fine-tuning to prevent harmful outputs. These approaches typically involve filtering inappropriate inputs and outputs, implementing external safety classifiers [16, 42], removing unsafe content from training data before it reaches the model [65, 68] or fine-tuning the model by penalizing unsafe content generation [29]. However, circumventing such safety measures can often be trivial by downloading the models locally and disabling the external safety mechanisms, using models without internal safety mechanisms, using models that have been fine-tuned on datasets with explicit content [77] or via jailbreaking attacks [36]. Our work demonstrates that none of these techniques are necessary: a malicious actor requires only an open-weight instruction-tuned model and a consumer GPU to generate harmful content at scale.

Despite growing awareness of these risks and documented evidence of harmful content generation capabilities [19], systematic evaluations of current T2I models' responses to potentially harmful prompts are scarce. To address this gap, in this paper we systematically evaluate modern T2I models' harmful content generation. We begin with the VisualNews dataset [47], which contains captions of real-world news events and photographs. We employ an automated pipeline using a large language model (LLM) to systematically convert these captions into harmful prompts across five critical categories: sexually explicit content, violent imagery (gore), harmful stereotypes, self-harm, and hate speech. The choice of VisualNews allows us to work with authentic descriptions of real-world events and scenarios. By transforming these captions into harmful variants, we can assess how easily generative models can be manipulated to produce harmful content from starting points that users might naturally encounter. This approach better reflects realistic threat scenarios where malicious actors might exploit legitimate news content to generate misleading or harmful imagery.

We validate the effectiveness of our prompt conversion process using established text moderation tools to confirm that the transformed prompts are successfully classified as harmful across our target categories. Subsequently, we generate images using a diverse range of models, including models that have been specifically fine-tuned on explicit content. We conduct a human evaluation study on a sample of generated images, asking annotators to assess whether images contain harmful visual content as well as their perceived photorealism and plausibility. We also employ automated tools to assess the quality and prompt adherence of the generated content. Finally, we analyze all generated images using state-of-the-art image moderation tools to determine the extent to which harmful prompts successfully produce harmful visual outputs. Additionally, we evaluate synthetic image detection algorithms to assess their performance on explicit content, examining whether semantic content affects detectability. Using the human-annotated subset as ground truth, we evaluate the performance of these automated moderation systems and reveal critical limitations in them, quantifying the gap between current safety measures and actual harmful content detection capabilities for

AI generated images. To our knowledge, no prior work jointly evaluates this full pipeline, covering scalable harmful prompt generation, commercial moderation tool failure, and semantic distribution shift in synthetic image detection, under a realistic and accessible threat scenario that requires no specialized expertise.

Our main contribution can be summarized as follows:

• We demonstrate that automated pipelines can enable harmful content generation at scale by systematically transforming neutral captions into unsafe prompts across multiple categories.

  • We confirm through a human study that current image generation models can produce harmful visual content with all models showing substantial capabilities for generating violent and stereotypical content, while community-fine-tuned models show particular vulnerability to sexually explicit prompts.

• We show that, as measured by automatic quality metrics, models maintain comparable scores on harmful prompts relative to safe ones.

• We reveal critical limitations in existing moderation systems, finding high precision but low recall, allowing substantial unsafe content to bypass safety measures.

• We show that moderation models cannot effectively flag images that potentially amplify biases and harmful stereotypes and promote hate speech.

• We demonstrate that synthetic image detection models trained on benign datasets show reduced performance on explicit content, highlighting semantic distribution gaps in current detection approaches.

References (53)