SurrogatePrompt: Bypassing the Safety Filters of Text-to-Image Models via ReplacementSurrogatePrompt: Bypassing the Safety Filter of Text-to-Image Models via Substitution
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.