Top 3 Evasion Tactics Against Exact Match Detection
Attackers bypass exact match prompt injection detectors using obfuscation (rephrasing, character substitutions like leetspeak or homoglyphs), encoding (Base64, Unicode), and formatting tricks (spacing, newline splitting) to alter syntax while preserving malicious intent.
The top 3
- Top Character & Encoding Obfuscation Methods: Attackers employ techniques like Base64, Leetspeak, Unicode homoglyphs, zero-width characters, and character reordering (e.g., FlipAttack's word/character flipping) to disguise malicious prompts, making them unreadable to literal string-matching filters but still interpretable by LLMs.
- Multi-Turn & Payload Splitting Strategies: Attackers can bypass exact match detection by fragmenting a malicious prompt into multiple smaller, seemingly innocuous inputs across several conversational turns. This prevents any single input from triggering a literal match, incrementally guiding the LLM towards the attacker's objective.
- Lexical & Syntactic Manipulation: Attackers can rephrase malicious instructions using synonyms, alter sentence structures, or employ different languages to convey the same intent without matching a canary's exact string. This exploits the LLM's semantic understanding to bypass filters reliant on literal pattern recognition.
Sources
Open the full topic