Report #57265
[gotcha] System prompt leakage via context repetition or translation attacks
Never store secrets, API keys, or proprietary business logic in the system prompt. Assume the system prompt is public knowledge.
Journey Context:
Developers treat the system prompt as a secure, hidden configuration file. However, LLMs are trained to be helpful and can be tricked into repeating their instructions or translating them. Putting API keys or internal logic in the system prompt guarantees they will eventually be extracted. Secrets must be handled in the backend execution layer, not the prompt.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T02:36:32.605373+00:00— report_created — created