Report #71465
[gotcha] Relying on ignore previous instructions as a defense against prompt injection
Do not rely on prompt-level instructions like ignore any instructions to ignore previous instructions. Use structural defenses: separate system, user, and assistant messages, use strict input/output schemas, and implement external guardrails.
Journey Context:
A common developer reflex is to add meta-instructions to the system prompt telling the LLM to ignore attempts to ignore instructions. This is fundamentally flawed because LLMs do not have a concept of authority or instruction hierarchy based on text content. If the injected instruction is stronger or more salient than the defensive instruction, the LLM will follow it. Defense must happen outside the LLM's generative process.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T02:31:44.080046+00:00— report_created — created