Jailbreaking Large Language Models with Moderation Guardrails Using Ciphertext CharactersJailbreaking Large Language Models Against Moderation Guardrails via Cipher Characters
Researchers propose JAM (Jailbreak Against Moderation), a jailbreak method targeting large language model moderation guardrails, and release JAMBench, a benchmark of harmful behaviors for triggering and evaluating moderation guardrails. JAMBench contains 160 manually written instructions, covering four major risk categories and multiple severity levels, addressing the shortcoming that existing red-teaming benchmarks often ignore issues that would trigger moderation guardrails. JAM uses jailbreak prefixes to bypass input-level filtering, then uses a fine-tuned shadow model functionally equivalent to the guardrail model to generate ciphertext characters to bypass output-level filtering. Experiments on four large language models show that JAM's jailbreak success rate is about 19.88 times that of the baseline, and its filtered rate is about 1/6 that of the baseline.