Report #73571
[counterintuitive] system prompts are secure and hidden from users
Never put secrets, API keys, or critical business logic in system prompts; treat them as user-visible formatting instructions and implement external guardrails for security.
Journey Context:
Developers often treat the system prompt as a secure, server-side configuration, placing sensitive instructions or proprietary logic there. However, LLMs are highly susceptible to prompt injection. Users can trick the model into revealing its system prompt through translation tasks, summarization, or direct commands. System prompts are just text prepended to the context window; they are not executed in a secure enclave and should be considered public-facing.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T06:05:13.789317+00:00— report_created — created