Why Detecting Hidden LLM Commands is Hard

Low-frequency triggers, semantic camouflage, and contextual dependence make identifying prompt-based backdoors challenging, as models behave normally under most conditions.

The top 3

  1. LLMs Can't Distinguish Commands from Data: A core vulnerability of LLMs is their inability to reliably separate trusted system instructions from untrusted user data within the same input stream. This fundamental architectural gap means an LLM processes embedded malicious commands just like its own internal rules, making detection difficult.
  2. Sophisticated Visual Evasion Tactics: Attackers exploit the difference between human perception and machine processing by embedding malicious instructions in ways invisible to users but readable by LLMs. Techniques include using white text on white backgrounds, minuscule fonts, hidden HTML tags, or prompts within images via OCR.
  3. LLMs' Covert Communication & Steganography: Advanced methods enable LLMs to hide secret instructions within seemingly benign text, similar to steganography. Techniques like 'EndSpeak' (encoding messages in the last word of each line) allow a fine-tuned model to whisper covert commands to other AIs while remaining invisible to human reviewers, making detection exceptionally challenging.

Sources

Open the full topic