Code-Mixed Phonetic Attack
A vulnerability exists in multiple large language and multimodal models that allows for the bypass of safety filters through the use of code-mixed prompts with phonetic perturbations. An attacker can craft a prompt in a code-mixed language (e.g., Hinglish) and apply phonetic misspellings to sensitive keywords (e.g., spelling "hate" as "haet"). This technique causes the model's tokenizer to parse the sensitive word into benign sub-tokens, preventing safety mechanisms from flagging the harmful…
Evaluated models: Gemma 1.1 7B IT, GPT-4o, GPT-4o Mini+2 more
- Gemma 1.1 7B IT
- GPT-4o
- GPT-4o Mini
- Llama 3 8B Instruct
- Mistral 7B Instruct v0.3