Quack: Automatic Jailbreaking Large Language Models via Role-playing
HJHaibo JinRCRuoxi ChenJinyin ChenHaohan Wang
HJHaibo Jin
RCRuoxi Chen
Jinyin Chen
Haohan Wang
+4
Quack is an automated framework that jailbreaks large language models through role-playing, removing the need for human-crafted prompts. It translates testing guidelines into question prompts, consolidates successful jailbreaks into a paradigm of eight characteristics, maintains them via knowledge graphs, and assigns four roles to LLMs for organizing, evaluating, and updating jailbreaks. Experiments on Vicuna-13B, LongChat-7B, LLaMa-7B, and ChatGPT demonstrate its effectiveness, addressing LLM security testing needs.

OpenReview · September 23, 2023