UNPKG

breaker-ai

Version:

CLI to scan prompts for injection risks

10 lines (8 loc) 350 B
import { JailbreakReport, jailbreakSystemPrompt } from "../core/jailbreakPrompt"; export async function runJailbreakChecklist( systemPrompt: string, customPrompts?: { name: string; prompt: string }[], skipNames?: string[] ): Promise<JailbreakReport> { return await jailbreakSystemPrompt(systemPrompt, undefined, customPrompts, skipNames); }