TL;DR
NINJA, a novel jailbreak attack method, exploits long-context language models by strategically appending benign content to harmful user goals, significantly increasing attack success rates. This approach reveals critical vulnerabilities in modern language models like LLaMA and Gemini, emphasizing the importance of context positioning in safety.
✦ Why It Matters
Evaluate your language model's safety protocols against potential vulnerabilities introduced by long contexts.
Key Takeaways
How It Works
NINJA operates by appending benign content to harmful user goals, leveraging the long-context capabilities of LMs. The positioning of these harmful goals within the input context is critical, as it influences the model's response and susceptibility to manipulation.
Related