MAI-2024-0005
Published:October 01, 2024
Updated:August 02, 2026
The Chain-of-Jailbreak (CoJ) attack is a sophisticated method designed to circumvent safety protocols in image generation models. This attack operates by fragmenting a malicious query into a series of innocuous sub-queries. Each sub-query prompts the model to incrementally edit the image, ultimately leading to the creation of harmful content. The attack exploits various editing operations such as insertion, deletion, and modification of elements, including words, characters, and images. Through this iterative process, the model's safeguards are systematically bypassed, allowing for the generation of content that would typically be restricted.
Mitigation steps: **For AI Developers:**
* Implement enhanced content filtering mechanisms to detect and mitigate harmful image content, accounting for sequences of edits.
* Utilize think-twice prompting strategies to instruct the model to evaluate the potential safety of the generated image prior to completion.
**For Model Trainers/Fine-tuners:**
* Improve contextual safety by training models to assess the cumulative effect of multiple queries and edits, understanding the sequence of events leading to potential harm.
* Integrate adversarial training techniques by expanding datasets with examples of CoJ attacks to enhance model robustness against manipulation.
Related Resources (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.2
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
HIGH
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.6
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
AIVSS
Base Score:
5.4