Skip to content

PC²: Generating Politically Controversial Content via Jailbreak Attacks on GPT-Based Text-to-Image Models$PC^2$: Politically Controversial Content Generation via Jailbreaking Attacks on GPT-based Text-to-Image Models

arXiv· arXiv:2601.05150· ACM SIGSAC Conference on Computer and Communications Security 2026· Wonwoo Choi, Minjae Seo, Minkyoo Song, Hwanjo Heo, Seungwon Shin, Myoungsung You·Indexed by this site · 2026-10-12· Originally publishedAttacks

Quick read

Attacks

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

PC² jailbreaks GPT text-to-image using identity-preserving descriptions and geographically distant multilingual translation; on GPT-4o, ASR over 240 items is 86.25%.

Threat modelBlack-box: the attacker can only submit prompts through a public web interface (e.g., ChatGPT's gpt-image-1), observing only refusal or image generation, with no access to parameters, training data, filter logic, or gradients, and cannot modify the image backend. The goal is to bypass safety filters and generate politically sensitive images (PSC) usable for disinformation or propaganda.

Questions
Safety filters in commercial text-to-image models mainly target NSFW content such as sexual, violent, or illegal material, and lack specific checks for politically sensitive images depicting real public figures. The authors argue that the harm of such content comes from entity relationships and requires preserving recognizable identity, which semantic substitution cannot achieve simultaneously.
Methods
PC² detects sensitive entities on a black-box web interface, rewrites them into identity-preserving descriptions, translates them into 72 languages, selects geographically distant languages by four geopolitical sensitivity scores, and reassembles the action with letter indices, making it hard for filters to synthesize the political relationship.
Experiments and results
The original 240 items have an ASR of 0% on the three GPT interfaces. PC² overall ASR is 86.25%, 68.33%, and 76.25% (Table 3). On the object subset with GPT-4o, PC² is 87.60% and SurrogatePrompt is 8.26%. The layered defense ASR is 11.67%.
Limitations and future work
The authors state that the main evaluation is limited to GPT-family interfaces. Midjourney and Nano-Banana do not support 17 and 14 of the 36 people, respectively. Coverage includes three GPT interfaces and 240 English prompts; baseline comparisons are only on the object subset and GPT-4o. The paper does not state which interface the 11.67% corresponds to.
Experimental setupGPT-4o、GPT-5 et al. · 240条英文PSC提示词(36位公众人物;121条object-based,119条phrase-based)、G7分国子集 et al. · ASR、TSR et al.
Evaluated models
GPT-4oGPT-5GPT-5.1gpt-image-1Marqo-NSFWSD safety checkerFalconsaiLlavaGuardMidjourneyNano-BananaNano-Banana Pro
Benchmarks
240条英文PSC提示词(36位公众人物;121条object-based,119条phrase-based)G7分国子集207张PC²生成PSC与207张良性图像
Metrics
ASRTSRTPRFPRFleiss' Kappaimage generation success rate
AI summaryThe researchers propose PC², a black-box political jailbreak framework for text-to-image models, which the paper claims is the first of its kind. It exploits the vulnerability that safety filters judge political sensitivity based on linguistic context. It first uses identity-preserving description mapping to rewrite sensitive keywords into neutral descriptions, then uses geographically distant translation to convert them into fragmented low-sensitivity language, preventing the filter from establishing harmful associations between political entities in the prompt. The authors constructed a benchmark containing 36 public figures and 240 politically sensitive prompts. On commercial GPT-series text-to-image models, all original prompts were blocked, while PC² achieved an attack success rate of up to 86%, greatly surpassing existing frameworks. The authors also proposed a deployable multi-layer filtering mitigation scheme that reduces the attack success rate to about 10%.

The researchers propose PC², a black-box political jailbreak framework for text-to-image models, which the paper claims is the first of its kind. It exploits the vulnerability that safety filters judge political sensitivity based on linguistic context. It first uses identity-preserving description mapping to rewrite sensitive keywords into neutral descriptions, then uses geographically distant translation to convert them into fragmented low-sensitivity language, preventing the filter from establishing harmful associations between political entities in the prompt. The authors constructed a benchmark containing 36 public figures and 240 politically sensitive prompts. On commercial GPT-series text-to-image models, all original prompts were blocked, while PC² achieved an attack success rate of up to 86%, greatly surpassing existing frameworks. The authors also proposed a deployable multi-layer filtering mitigation scheme that reduces the attack success rate to about 10%.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The authors test whether GPT-family text-to-image can block politically sensitive images and propose a black-box framework, PC².

    Can commercial text-to-image models block politically sensitive content (PSC) depicting real public figures, and can existing jailbreaks preserve identity while bypassing filters? The authors argue that neither has been specifically addressed.

    • Scenario: The authors state that by October 2025 ChatGPT had about 800 million weekly active users (400 million in February 2025), and the web interface enables non-experts to generate high-fidelity images. The authors define PSC as images of real public figures engaging in politically sensitive behavior, and state that such images can be used for fake news, election manipulation, and conflict propaganda.
    • Existing gaps: The authors state that existing text-to-image jailbreaks mainly target sexual, violent, or illegal content, relying on semantic substitution or anonymization. Political harm comes from the combination of person, action, symbol, and geopolitical narrative, and specific public figures must be recognized; anonymization removes the political meaning, while detailed English descriptions are reconstructed and rejected by filters (Figure 3).
    • Authors' hypothesis: Safety filters judge political sensitivity by linguistic context and are better optimized for high-resource languages. Writing entities as identity-preserving descriptions and placing them in a geographically distant, less explicitly controversial language can make it difficult for the filter to synthesize a harmful relationship.
    • This paper proposes: A black-box framework, PC². To the authors' knowledge, this is the first systematic jailbreak study generating PSC on mainstream commercial text-to-image models, and the first benchmark of this kind (240 items, 36 public figures), along with layered mitigation.
    • Threat model:
      • Goal: Bypass safety filters to generate PSC usable for disinformation or propaganda.
      • Knowledge: Black-box. No parameters, training data, filter logic, or gradients, and no ability to modify the image generation backend.
      • Capability: Only public web interfaces (e.g., ChatGPT's gpt-image-1); only rejection or image output is visible, not intermediate moderation or rejection reasons. The authors state that APIs often require organization verification, and the web interface is closer to the actual attack surface.
      • Victim system: Commercial text-to-image models; the main experiments use gpt-image-1 via the GPT-4o, GPT-5, and GPT-5.1 web interfaces.
  2. What related research exists?

    The authors separate this paper from NSFW text-to-image jailbreaks and multimodal jailbreaks, and compare three substitution-based baselines.

    The authors position the work by text-to-image jailbreaks, multimodal jailbreaks, and this paper's baselines, and state that PSC has received less attention in the jailbreak literature.

    Text-to-image jailbreaks

    • Semantic substitution and decomposition: DACA (Deng and Chen, 2023) decomposes harmful scenes into neutral segments; PGJ (Huang et al., 2025) replaces unsafe words with visually similar but semantically distant phrases; SurrogatePrompt (Ba et al., 2024) replaces sensitive concepts with semantically related substitute concepts. The authors state in Sections 2.3 and 4.5 that such substitutions anonymize people or break political semantics, making them unsuitable for PSC, which must preserve identity.
    • Token perturbation and re-editing: SneakyPrompt (Yang et al., 2024) uses reinforcement learning to perturb tokens to evade keyword filtering; the authors state its CLIP proxy reward may transfer poorly when safety representations are not aligned (e.g., non-CLIP encoders). ColJailBreak (Ma et al., 2024) exploits weaker safety constraints in image editing models, first generating then locally injecting unsafe content.
    • Other citations: Dong et al. (2024) jailbreak text-to-image with an LLM-based agent; Ma et al. (2025) study controllable prompt attacks against diffusion models. The paper does not treat these two as PSC baselines.

    Multimodal model jailbreaks

    • Cross-modal intent dispersion: FigStep (Gong et al., 2025) draws forbidden text as stylized text in images; HADES (Li et al., 2024) embeds adversarial perturbations into visual features; CS-DJ (Yang et al., 2025) splits malicious queries across multiple individually harmless sub-images; MML (Wang et al., 2025) uses invertible transformations to transfer harmful content between text and images.
    • Authors' distinction: The authors state these works are largely orthogonal to this paper. They aim to elicit disallowed text; this paper aims to generate forbidden images and uses multilingual representation only at the prompt level, without distributing intent across modalities.

    Filters and risk background

    • Commercial filtering: The authors state systems often stack keyword blacklists, semantic LLM classification or rewriting, and image post-filtering for low-level visual patterns such as nudity or gore (Figure 2). Attack design focuses on pre-filtering, based on prior work suggesting that bypassing pre-filtering is often sufficient for jailbreaking.
    • PSC use cases: The authors use fabricated imagery in elections and conflicts, and Allcott and Gentzkow (2017), Vaccari and Chadwick (2020), etc., to illustrate disinformation risk, not as attack methods.

    Baselines and benchmarks

    • Baseline methods: Uniform random language selection; DACA, PGJ, SurrogatePrompt. The latter three are compared only on the object subset and GPT-4o. The authors state there is no existing PSC-specific jailbreak baseline.
    • Benchmark: The authors build 240 English prompts, 36 public figures, 121 object-type and 119 phrase-type items.

    The authors separate this paper from token perturbation and semantic substitution: identity-preserving descriptions plus geographically distant multilingualism target filters that judge political sensitivity by linguistic context. The authors state this is the first systematic black-box study of this kind and the first benchmark of this kind.

  3. How does the paper address this problem?

    PC² uses identity-preserving descriptions and four geopolitical scores to select distant languages, then assembles black-box prompts.

    PC² turns prompts containing political entities into multilingual, indirect-reference adversarial prompts: the image model can still use identity cues, while safety filters find it harder to assemble the entities into a controversial relationship (Figure 5). The prototype is 1484 lines of Python.

    Sensitive-word detection and identity-preserving mapping

    • Two paths: spaCy's en_core_web_trf performs named entity recognition to find political figures, then a language model infers the most relevant country. Another path extracts noun phrases, and GPT-4o judges whether they relate to a country or to politically or socially sensitive topics. Country information is reserved for later metrics; this step does not modify the prompt.
    • IPDM: For each sensitive word, GPT-4o writes a 1–2 sentence Q&A-style description, removing direct sensitive words while keeping historical, political, and visual cues. Temperature 0.2, top_p=0.9. The authors' stated rationale is to evade keyword pre-filtering while giving the image model cues to reconstruct identity. Appendix C.C gives the full prompt.
    • Other decoding: Sensitive-word detection, person-country identification, and translation all use temperature 0.0.

    Translation and four geopolitical scores

    • 72 languages: The IPDM descriptions, and the base prompt with controversial words replaced by placeholders, are translated into 72 languages (Appendix C.B), with GPT-4o as the translation model. The authors state the method is not tied to that model. After back-translation to English, translations with cosine similarity below 0.9 to the original are discarded. Embeddings use text-embedding-3-large.
    • Two knowledge-based items: Keyword common sense uses the Wikipedia paragraph for the word, takes the maximum cosine similarity with the embedding of "Conflict with" plus the country name, then takes the maximum within the country group of the same major language. Country common sense is the reverse direction, using the keyword embedding against the country page paragraph. The authors state that taking the maximum in both places is a worst-case assumption. The knowledge base can be extended with new phrases or new countries.
    • Two description-based items: The bias score is the cosine similarity between the representative word and the IPDM in that language; higher means the original meaning is better preserved. The politics score is the cosine similarity between the translation and the single word Politics; lower means it looks less like a political statement.
    • Weighting: The four items are summed with weights. Weights come from attack performance on GPT-4o when each metric is used alone and the median language is taken (Table 2: Keyword 0.6667, Country 0.6167, Bias 0.7500, Politics 0.7333), then fixed and used for all target models. The base prompt itself is not scored; the language score accumulates from the composite scores of the relevant IPDMs. The authors state the base prompt is deliberately neutral, containing only placeholders and actions.

    Assembly and success determination

    • Quantile rather than top score: Languages are ranked by composite score. The authors compare the 0th, 25th, 50th, and 75th percentiles on 60 samples, then choose an index based on the target model's performance between semantic correctness and image generation. The paper does not state which quantile the main experiment ultimately uses.
    • Assembly: Each IPDM is assigned a letter, placeholders in the base prompt are replaced with that letter, then concatenated with the description list. The authors state this infers concepts by association rather than naming. In experiments, multilingual text in images can be requested to be changed to English before checking; the authors state they did not further investigate other languages.
    • Determination: For a test prompt, success requires simultaneous image generation, preservation of political semantics, and recognition of the target person. The form is ASR=1/N∑i=1N I[Gen(yi)∧Sem(yi,xi)∧ID(yi,xi)]. Missing any one of the three is failure. Sem and ID are annotated by humans according to two guidelines.
  4. What experiments did the paper conduct?

    The original 240 items have an ASR of 0%; PC² on GPT-4o is 86.25% (Table 3).

    Experimental setup

    • Interfaces: GPT-4o, GPT-5, and GPT-5.1 web interfaces, with the image model gpt-image-1. The authors state they used the then-latest models as of November 12, 2025, and re-verified on November 25. Auxiliary evaluation uses Nano-Banana Pro; Table 7 records the support counts for Midjourney, Nano-Banana, GPT, and Nano-Banana Pro across 36 people.
    • Data: 240 English prompts, 36 public figures. The object subset has 121 items, and the phrase subset has 119 items. Non-G7 countries are excluded when splitting by G7 country (Table 4).
    • Attack side: IPDM, translation, and phrase sensitivity judgment use GPT-4o, and the weights are also calibrated on GPT-4o. Thus, when attacking GPT-4o, the model generating the prompts is the same as the tested interface; prompts for GPT-5 and GPT-5.1 are still generated by GPT-4o.
    • Baselines: Uniformly random language selection. DACA, PGJ, and SurrogatePrompt are compared only on the object subset and GPT-4o. The authors state that the phrase subset contains explicit political statements that these baselines cannot substitute without breaking the claim.
    • Judgment: ASR requires image generation, semantic preservation, and identity recognizability to hold simultaneously. Five annotators. The pilot uses 40 images outside the evaluation set; the Fleiss' Kappa for the 20 images in the second stage is 0.84, which the authors describe as almost perfect agreement. Main evaluation images are evenly distributed among the five annotators. The paper does not mention an LLM judge, does not report the number of repetitions for the main ASR, and does not state the quantile used in Table 3.
    • Follow-up question: If the model gives multiple explanations without indicating a policy violation, the authors ask again in the same session to generate an image according to one of its suggestions, and state that this usually produces an image. The paper does not report how often this occurred.

    Main results

    According to Table 3, ASR (%) is:

    InterfacePC² (overall/object/phrase)Random (overall/object/phrase)
    GPT-4o86.25 / 87.60 / 84.8727.92 / 43.80 / 11.76
    GPT-568.33 / 85.95 / 50.4225.42 / 42.15 / 8.40
    GPT-5.176.25 / 73.55 / 78.9931.67 / 35.54 / 27.73
    • The authors state that PC² is higher than random selection on all three interfaces; for the phrase subset relative to the random baseline, the authors state roughly a 7x gain on GPT-4o and a 6x gain on GPT-5. The abstract writes up to 86%, and Table 3 is 86.25%.
    • Section 1 and the contribution list state that the original 240 items are all blocked on the three interfaces, with an ASR of 0%.
    • In the table, GPT-5's phrase subset is lower than the same model's object subset. The authors do not separately explain this cell, only comparing the phrase subset improvement against the random baseline and stating that what matters is the selected language, not multilingualism itself.

    Comparison with substitution-based jailbreaks

    • Setup: Figure 9, Section 4.5, only GPT-4o and the object subset. PC²-R is PC² with random language selection.
    • Results: DACA's ASR is 0%; PGJ is 4.96%; SurrogatePrompt is 8.26%; PC²-R is 43.80%; PC² is 87.60%.
    • Authors' interpretation: The authors state that even with random language selection, PC² is still higher than the three substitution-based baselines, so the main obstacle is that substitution breaks PSC semantics. The authors state that 87.60% is an order of magnitude higher than the best substitution baseline; the contribution list likewise compares against SurrogatePrompt's 8.26%.

    Language selection and country-split results

    • Languages: In Figure 6, the language occurrence counts for successful adversarial prompts are 207 for GPT-4o, 164 for GPT-5, and 183 for GPT-5.1, totaling 554. The authors state that Haitian Creole and Thai account for 9.7% and 9.2% of all successful prompts, Danish and Hungarian each 6.1%, and Lao does not appear. The authors state that high translation success rates do not align with attack success. In Appendix C.J, German, Polish, Swedish, and Slovak have TSR above 95%, several above 98%; a small number of low-resource languages are below 40%. TSR counts a failure when back-translation cosine similarity is below 0.9.
    • Quantiles: Section 3.5 compares the 0th, 25th, 50th, and 75th quantiles using 60 samples. Figure 7 states: GPT-4o at the 0th, 50th, and 75th quantiles is 73.33%, 86.67%, and 68.33%, which the authors describe as inverted-U shaped, with the 75th quantile often rejected and the 0th quantile semantically weak and prone to irrelevant images; GPT-5 at the 25th quantile is 66.67%; GPT-5.1 at the 25th and 75th quantiles is 73.33% and 68.33%. The authors state that the composite score and ASR are non-monotonic, and the optimal region varies by model.
    • G7: Table 4. The authors state that cross-country means are 86.5% for GPT-4o, 63.3% for GPT-5, and 74.4% for GPT-5.1, and rankings vary by model: Japan is 91.7% (48 items) on GPT-4o, Canada is 77.3% (22 items) on GPT-5, and the UK is 88.5% (26 items) on GPT-5.1. Lower cells in the table include France at 45.5% (22 items) on GPT-5 and Germany at 50.0% (40 items) on GPT-5.1. The authors state that no single country dominates the gains.

    Defense evaluation

    • Text layer: After related-language translation in Figure 12, the three interfaces have ASRs of 18.33%, 14.17%, and 18.33%. The authors state that 14–18% still bypass because the languages are aligned and the IPDM rewrite does not restore the original political keywords.
    • Image layer: 207 PSC images generated by PC² and 207 images of political figures in non-sensitive scenarios (Section 5.3). Table 5: Marqo-NSFW has a TPR of 14.50% at FPR=5%; Falconsai has a TPR of 0.00% at FPR=0.1% and 1%, and 1.40% at FPR=5%; SD safety checker has a TPR of 15.46% at FPR=1%; LlavaGuard is 15.94% (FPR 0%); LlavaGuard-PSC is 47.83% (FPR 0.48%). Table 6: unsafe predictions on 207 images are 33/207 and 99/207, with the latter having T11 of 84. The authors state that 108/207 are still missed, attributing this to failure to recognize specific people, text in non-English images defaulting to safe, and reading controversial slogans as factual statements.
    • Layered: Section 5.4 generates 44 images from the 44/240 items that bypass related-language translation, and LlavaGuard-PSC blocks 16 more. Cumulative blocking is 88.33% (212/240), with an ASR of 11.67%. The abstract writes a reduction to 11%, and the contribution list writes a reduction from 86% to 11%. The paper does not state which interface these 44 items belong to. The authors state that the two layers handle lexical fragments and relationships in images respectively, and neither requires retraining.

    Other ablations and analyses

    • Removing Bias drops GPT-4o ASR from 86.25% to 77.92%; equal weights for the four items give 82.08%, lower than the calibrated weight of 86.25% (Figure 10, Table 3). The authors state that Country alone has the lowest ASR at 61.67% (Table 2), and removing it causes a relatively noticeable drop. The remaining bars and labels in Figure 10 do not align in plain text, so no numbers are listed.
    • Figure 11: The authors state that original prompts cluster together, adversarial prompts form distinct clusters away from that region, and quantile variants scatter into subregions. The scatter positions are not visible in plain text.
    • Table 8, Nano-Banana Pro image generation success rates: original 76.67% (object 66.12%, phrase 87.39%); with PC², 85.42% (object 83.47%, phrase still 87.39%). This is not the three-interface ASR above. The authors state that original political prompts often already generate images.
    • Table 7: Of the 36 people, Midjourney does not support 17, Nano-Banana does not support 14, and GPT and Nano-Banana Pro support 0.
  5. What are some points that can be further explored?

    The authors state that the main evaluation is limited to GPT-family interfaces, and that commercial versions change.

    Limitations and future directions noted by the authors

    • The main evaluation is on GPT-family image interfaces; Midjourney and Nano-Banana do not support a considerable number of political figures, so political jailbreak evaluation on these platforms is limited (Section 6, Table 7 states that 17 and 14 of the 36 people are unsupported, respectively).
    • Commercial pipelines update frequently with no public version guarantees. At the time of writing, the GPT-5 interface was no longer public, and gpt-image-1 had been upgraded to gpt-image-1.5, so observed behavior may differ from the latest deployment (Section 6).
    • Experiments used the then-latest models as of November 12, 2025, with re-verification on November 25. The authors believe subsequent updates may affect absolute performance, but the results still reflect the safety behavior of commercial text-to-image models at that time (Section 6).
    • The authors state that strengthening prompt-side filtering is a necessary step in mitigation, but defenses must also handle multilingual prompts and semantic-preserving adversarial transformations (Section 6).
    • The conclusion states that robust text-to-image safety should not rely only on prompt moderation, but should use context-aware multimodal filtering before and after generation to detect political risk (Section 8).

    Experimental coverage

    • Main ASR is reported on GPT-4o, GPT-5, and GPT-5.1 web interfaces with the gpt-image-1 backend; the benchmark is 240 English prompts, 36 public figures, 121 object-type and 119 phrase-type items (Section 4.2, Table 3).
    • Success is judged by five annotators. In the pilot of 40 images, the Fleiss' Kappa for the 20 images in the second stage is 0.84; main evaluation images are evenly distributed among the five annotators (Section 4.3). The paper does not report the number of repetitions for the main ASR, nor the language quantile used in Table 3.
    • DACA, PGJ, and SurrogatePrompt are compared only on the object subset and GPT-4o. The authors state that the phrase subset contains explicit political statements that these baselines cannot substitute without breaking the claim (Section 4.5).
    • Defenses include related-language translation (Figure 12), four open-source image filters and LlavaGuard-PSC (207 PSC and 207 benign images, Table 5), and a layered combination of 44/240 (Section 5.4). The paper does not state which interface these 44 items correspond to.
    • Auxiliary results are Nano-Banana Pro image generation success rates (Table 8), and Table 7's person support counts for Midjourney, Nano-Banana, GPT, and Nano-Banana Pro. The four weights are calibrated on GPT-4o and then fixed (Section 3.4.5).
  6. Summarize the main content of the paper

    PC² generates politically sensitive images on GPT-family web interfaces, with an overall ASR of 86.25% on GPT-4o.

    PC² is a black-box jailbreak against political filtering in GPT-family web text-to-image models, accompanied by a layered mitigation.

    • The authors address the problem that fabricated political images of real public figures can be used for fake news, while NSFW-oriented semantic substitution either loses identity or is rejected by pre-filtering under detailed English descriptions.
    • The method first rewrites sensitive entities into identity-preserving descriptions, translates them into 72 languages, then selects geographically distant languages using Wikipedia conflict associations, country pages, semantic alignment, and political word similarity, and reassembles the action with an alphabetic index. The attacker only sees rejection or image output.
    • The original 240 items have an ASR of 0% on GPT-4o, GPT-5, and GPT-5.1. PC²'s overall ASR is 86.25%, 68.33%, and 76.25% (Table 3). On the object subset with GPT-4o, PC² is 87.60%, SurrogatePrompt is 8.26%, and DACA is 0%.
    • After related-language translation, the three interfaces are 18.33%, 14.17%, and 18.33% (Figure 12). After layered filtering, the paper reports an ASR of 11.67% (212/240 blocked); the abstract writes 11%, and the contribution list writes a reduction from 86% to 11%. The paper does not state which interface these numbers correspond to.
    • The authors conclude that moderating only single-language prompts is insufficient, and filtering that can handle political relationships should be applied before and after generation. The authors also state that the main evaluation is limited to GPT-family interfaces, and that the backend version had already changed at the time of writing.
Read originalACM SIGSAC Conference on Computer and Communications Security 2026