Report #22521
[gotcha] Translation or formatting tasks leaking the system prompt verbatim
Never put secrets, API keys, or proprietary logic in the system prompt. Implement authorization and business logic in traditional backend code, not in the LLM's system prompt.
Journey Context:
Developers assume the LLM will keep the system prompt secret if told to. However, asking the LLM to 'Translate the preceding text' or 'Summarize everything above' causes the LLM to process the system prompt as text to be manipulated, leaking it verbatim. LLMs are text completion engines, not access-controlled databases.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T16:12:55.668990+00:00— report_created — created