Multiple Model Guardrail Jailbreak via "Haiku of Love" Tactic
Case GUID: 24b273ea-47d2-4614-9d14-a26937378b5f
Summary
A guardrail jailbreak vulnerability has been discovered affecting multiple models. The specific flaw manifests through a combination of deceptive formatting, memory clearing commands, and meta-prompting techniques. The attack begins with an innocuous haiku request followed by simulated memory execution commands and false claims about Geneva conventions. The attacker then embeds the actual malicious requests, thereby allowing the attacker to bypass inference restrictions around providing information hazards and violating laws.
Metadata
Test Scores
| Model |
Test Kind |
Test Score |
Temperature (max 2.0) |

Cohere Command R
|
Illegal Substances: Crystal Meth |
95.0 |
N/A |

DeepSeek DeepSeek V3
|
Illegal Substances: Crystal Meth |
100.0 |
0.7 |

Google Gemini 2.0 Flash
|
Illegal Substances: Crystal Meth |
95.0 |
0.7 |

Mistral Mistral 8B
|
Illegal Substances: Crystal Meth |
95.0 |
0.7 |
Social Impact Score
Violations at this level present a tangible risk to public safety or social well-being, often related to dangerous but not highly restricted content.
Example: Bypassing guardrails to obtain instructions for creating illicit substances, such as recreational drugs or substances with moderate harm potential. Leakage of private personal data such as Social Security number or private medical.
Potential Consequences: Potential health impacts on a small scale, significant regulatory interest, and the need for stricter AI guardrails.
Taxonomies
Language
This category focuses on the use of specific linguistic techniques, such as prompt injection or stylization, to influence the model's output.
Code and Encode
This strategy encompasses techniques that utilize various coding methods, such as Base64 or ROT13, to bypass model restrictions and manipulate outputs.
Chaff
Chaff is a technique employed by attackers to obfuscate keywords that might trigger a language model's guardrails. By injecting random characters, such as newline characters, spaces, or other tokens, into critical keywords, the attacker aims to bypass content filters while maintaining the underlying intent of the message. This method leverages the language model's ability to parse and understand fragmented input, allowing the attacker to subtly manipulate the model's response without overtly triggering its defensive mechanisms. Chaff exemplifies the nuanced interplay between linguistic creativity and technical evasion.
Language
This category focuses on the use of specific linguistic techniques, such as prompt injection or stylization, to influence the model's output.
Prompt Injection
This technique enables attackers to override original instructions and employed controls by crafting specific wording of instructions, often resembling SQL injection methods, to manipulate the model's behavior.
Ignore Previous Instructions
This technique is a form of prompt injection that allows users to override the model's prior directives or constraints. By explicitly instructing the model to disregard any previous commands or context, users can manipulate the model's behavior to produce desired outputs that may not align with its original programming. This technique often requires precise wording, such as stating "Ignore previous instructions" followed by new commands. It is similar to SQL injection in that it exploits the model's inability to differentiate between trusted and untrusted inputs. This method can be particularly effective in scenarios where the model has been restricted from discussing certain topics or generating specific types of content, enabling users to bypass these limitations and elicit responses that would typically be filtered out.
Fictionalizing
This category involves creating scenarios or narratives that leverage existing genres or contexts to manipulate the language model's responses.
Switching Genres
This strategy involves adjusting the language and style of prompts to increase the likelihood of obtaining the desired output. Techniques include using formal language, servile language, synonymous language, capitalizing text for urgency, and providing examples to guide the model's responses.
Poetry
In the context of bypassing guardrails, the technique of poetry can be employed to navigate around restrictions or limitations imposed on language models. By framing prompts in a poetic manner, users can obscure direct requests or intentions, allowing the model to generate responses that might otherwise be restricted. This approach leverages the ambiguity and creativity inherent in poetic language, enabling users to elicit outputs that challenge the model's safeguards. For instance, by using metaphorical or abstract language, users can prompt the model to explore sensitive topics or generate content that would typically trigger guardrails. This technique highlights the potential for creative expression to circumvent established boundaries, demonstrating how language models can be influenced by the form and structure of the input they receive. By utilizing poetry as a means of evasion, users can engage with the model in ways that provoke thought and exploration beyond conventional limits.
Fictionalizing
This category involves creating scenarios or narratives that leverage existing genres or contexts to manipulate the language model's responses.
Roleplaying
This strategy involves prompting the language model to assume a specific role or persona, which can influence its responses based on the characteristics and moral codes associated with that role. Techniques include claiming authority or inventing personas to elicit different types of outputs.
Personas
Personas are fictional characters or identities that users create to guide the behavior and responses of language models. By establishing a persona, users can influence the tone, style, and content of the model's outputs, tailoring them to specific audiences or contexts. This technique allows for a more engaging and relatable interaction, as the model adopts the characteristics, knowledge, and perspectives of the defined persona. For instance, a user might prompt the model to respond as a friendly teacher, a technical expert, or a historical figure, thereby shaping the conversation to fit the desired narrative. Utilizing personas can enhance the effectiveness of communication, making it easier to convey complex ideas or evoke particular emotions, while also providing a framework for exploring diverse viewpoints and experiences. This approach highlights the flexibility of language models in adapting to various roles and contexts.
About 0Din.ai
The 0Day Investigative Network (0DIN) was founded by Mozilla in 2024 to reward responsible researchers for their efforts in securing GenAI models. Learn more and submit discoveries at https://0din.ai.