Symbolic Math Jailbreak
Large Language Models (LLMs) are vulnerable to a jailbreaking attack, termed "MathPrompt," which leverages the models' ability to process symbolic mathematics to bypass built-in safety mechanisms. The attack encodes harmful natural language prompts into mathematically formulated problems, causing the LLM to generate unsafe outputs while ostensibly solving a mathematical problem.
Evaluated models: Claude 3 Haiku, Claude 3 Opus, Claude 3 Sonnet+10 more
- Claude 3 Haiku
- Claude 3 Opus
- Claude 3 Sonnet
- Claude 3.5 Sonnet
- Gemini 1.5 Flash
- Gemini 1.5 Flash (block None)
- Gemini 1.5 Pro
- Gemini 1.5 Pro (block None)
- GPT-4
- GPT-4 Turbo
- GPT-4o
- GPT-4o Mini
- Llama 3.1 70B