← Lab /AI/ML

Prompt filters fail in multi-turn jailbreaks, revealing limited robustness

Simple prompting and filtering mechanisms cannot reliably protect LLMs against adaptive multi-turn jailbreak attacks.

AI/ML SPY Lab (ETH Zurich) 13 Jun 2024 Measurement Real-world evidence

Published as “Our competitions at IEEE SaTML 2024”

Why it matters

The results suggest that simple filter-based defenses are insufficient for real-world LLM deployment and that injected backdoors pose a significant security risk.

Summary

The IEEE SaTML 2024 LLM CTF evaluated 44 black-box defenses using over 137k attack and defense chats. Teams showed that most defenses were broken after tens or hundreds of adaptive, multi-turn interactions, demonstrating that single-turn benchmarks underestimate vulnerability. The competition also released a Trojan detection track where 12 teams tried to discover injected backdoors; none outperformed the known backdoors, indicating they are a strong upper bound for harmful behavior. The evidence comes from the released dataset and competition scores, but only black-box defenses were examined.

What they found 4

  1. Attackers often needed tens or hundreds of chats to break defenses.

    “For most defenses, successful attackers generally did not succeed on the first try, but managed to break the defense after tens or hundreds of chats.”

  2. Multi-turn interactions enable attacks that fail in single-turn settings.

    “Many successful attacks exploit multi-turn interactions in a way that would not work in a single chat message setting.”

  3. Filtering mechanisms can be bypassed even when protecting a short secret string.

    “Even in a very controlled setup where the defender knows exactly what to protect (a rather short string), attacks could reconstruct the impressible string from permissible ones.”

  4. Teams could not discover backdoors better than the injected ones.

    “Teams were not able to outperform the injected trojans. Injected backdoors turned to be a strong upperbound for undesired behavior.”

Caveats 3

  • A common theme among the winning defense teams is using decoys to side-step the challenge of protecting real secrets.
  • Some teams were able to find the exact (or very close) trojans.
  • Only black-box prompting and filtering defenses were evaluated, not white-box or fine-tuned methods.

What’s new here 4

  • Release of a 137k-chat dataset covering successful and failed multi-turn jailbreak attempts.
  • Demonstration that adaptive, multi-turn attacks can evade simple prompt filters.
  • Finding that injected LLM backdoors remain stronger than any discovered by participants.
  • Insights into effective attack strategies such as embedding-difference search and genetic algorithms.