Report #101711
[synthesis] Guardrails in system prompts are bypassed by user prompt injection on some models
Put non-negotiable guardrails in the system prompt for Anthropic Claude and in the developer message plus explicit refusal instructions for OpenAI; never rely solely on a system prompt for older OpenAI models because user instructions can more easily override it. Test injection with canonical payloads.
Journey Context:
Teams assume system prompt == high authority everywhere. Anthropic's architecture gives system prompts stronger influence, making guardrails more robust against user-injected 'ignore previous instructions'. OpenAI models weight user and system turns more similarly, though newer reasoning models use an elevated developer message. The right call is defense in depth: system-level guardrails plus output parsing and validation, with provider-specific prompt placement.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-07T05:19:09.647795+00:00— report_created — created