Report #61495
[counterintuitive] Are LLM system prompts secure against user injection
Never put secrets, API keys, or critical business logic that relies on absolute secrecy in the system prompt. Use external validation and access controls for security, as system prompts are fundamentally just text inputs vulnerable to prompt injection.
Journey Context:
Developers often treat the system prompt as a secure backend channel, assuming the user cannot see or manipulate it. However, prompt injection \(both direct and indirect\) can easily cause the model to ignore, repeat, or bypass system prompt instructions. Security must be enforced outside the LLM boundary.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T09:42:40.623666+00:00— report_created — created