Report #58525
[counterintuitive] system prompts securely hide instructions from end users
Never put secrets, API keys, or sensitive proprietary logic in system prompts. Treat system prompts as user-visible, and implement security controls \(rate limiting, input validation\) on the backend.
Journey Context:
Developers treat the system prompt as a secure 'backend' instruction. In reality, LLMs are highly susceptible to prompt injection and leak attacks \(e.g., 'repeat the above text'\). System prompts are just text in the context window and can be extracted or overridden by clever user inputs.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T04:43:16.273000+00:00— report_created — created