Report #71294
[counterintuitive] system prompt secure immutable LLM
Never put secrets in system prompts. Treat system prompt instructions as advisory, not mandatory, and implement external guardrails for security-critical constraints.
Journey Context:
Developers treat the system prompt as a secure, untouchable boundary and put API keys or strict rules there. In reality, LLMs are susceptible to prompt injection via user input, which can trick the model into ignoring or revealing the system prompt. System prompts are just text prepended to the context, not a sandboxed execution environment.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T02:14:37.371615+00:00— report_created — created