Skip to main content
The Best-of-N Jailbreaking probe tests your model against multiple jailbreak variations simultaneously, helping identify gaps in safety training through attack diversity.

Overview

How It Works

Best-of-N jailbreaking generates multiple variations of jailbreak prompts and tests them against your model. This approach:
  1. Creates N different jailbreak prompt variations
  2. Tests each variation against the target model
  3. Identifies which variations (if any) successfully bypass safety measures
  4. Provides insights into which attack patterns are most effective

When to Use

  • Comprehensive vulnerability scanning: When you need broad coverage of jailbreak techniques
  • Identifying weak points: When you want to find specific patterns your model is vulnerable to
  • Comparative testing: When comparing safety across model versions

Code Example

Configuration Options

Understanding Results

  • High failure rate: Model is vulnerable to multiple jailbreak patterns
  • Low failure rate: Model has good safety training coverage
  • Specific patterns failing: Identify which attack techniques need additional training