Skip to content

SurrogatePrompt: Bypassing the Safety Filters of Text-to-Image Models via ReplacementSurrogatePrompt: Bypassing the Safety Filter of Text-to-Image Models via Substitution

arXiv· arXiv:2309.14122· CCS 2024· Zhongjie Ba, Jieming Zhong, Jiachen Lei, Peng Cheng, Qinglong Wang, Zhan Qin, Zhibo Wang, Kui Ren·Indexed by this site · 26 days ago· Originally publishedAttacks
AI summary

The researchers propose the SurrogatePrompt attack framework, which bypasses the closed-source safety filters of text-to-image models by replacing high-risk segments in suspicious prompts; the authors state that this is the first prompt attack against Midjourney. The framework uses large language models, image-to-text and image-to-image modules to automatically generate attack prompts in batches, achieving an 88% bypass success rate on Midjourney and generating a large number of realistic NSFW images, as well as forged images of political figures in violent scenes. Subjective and objective evaluations show that the images generated from these attack prompts present obvious safety risks.

Read originalCCS 2024