Report #62157
[counterintuitive] Can I hide secrets or proprietary instructions in the LLM system prompt
Never put secrets, API keys, or proprietary logic you cannot afford to leak in the system prompt; use backend validation and external tool execution.
Journey Context:
Developers treat system prompts as secure, server-side code. They are just text inputs to the LLM and can be leaked via prompt injection, social engineering \(e.g., 'repeat the words above'\), or model quirks. If the logic or key must be hidden, it must live in your application backend, not the prompt. The model cannot securely hold secrets.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T10:49:01.980800+00:00— report_created — created