Report #84731
[counterintuitive] Are system prompts secure and invisible to end users
Never put secrets, API keys, or sensitive proprietary logic in system prompts. Treat them as visible to the user and use server-side validation for security.
Journey Context:
Developers treat the system prompt as a secure backend configuration. However, LLMs are highly susceptible to prompt injection. System prompts are fundamentally part of the text context and can be extracted through clever adversarial prompting. They are instructions, not access control mechanisms.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T00:48:45.148808+00:00— report_created — created