Report #80188
[counterintuitive] Are system prompts a secure place to store secret instructions
Never put secrets or critical business logic in system prompts assuming they are hidden; implement external guardrails and input validation to prevent prompt injection.
Journey Context:
Developers treat system prompts as a secure, hidden layer, placing API keys, internal logic, or sensitive instructions there. In reality, system prompts are highly vulnerable to prompt injection. Users can often trick the model into revealing its system prompt or ignoring its constraints. Security must be enforced outside the LLM \(e.g., separate access control, output filtering\), not within the prompt itself, which is inherently mutable by user interaction.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T17:11:47.304394+00:00— report_created — created