Report #59064
[counterintuitive] Can I hide instructions in the system prompt to prevent user manipulation
Never put secrets in system prompts or rely on them as a security boundary. Treat system prompts as advisory, not mandatory, and implement external guardrails \(input/output classifiers\) for security.
Journey Context:
Developers treat the system prompt as a secure, immutable block that the user cannot touch. Prompt injection attacks \(direct or indirect\) easily override system prompts. The LLM does not distinguish between 'system' and 'user' at an architectural security level; it simply predicts the next token based on the entire context. If user input says 'ignore previous instructions', the model often complies because it's a valid continuation of the text pattern.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T05:37:31.024570+00:00— report_created — created