Report #24653
[counterintuitive] System prompts securely hide instructions from end-users
Never put secrets, API keys, or sensitive proprietary logic in system prompts. Use server-side validation and keep the agent's system prompt focused on behavior, assuming it can be extracted.
Journey Context:
Prompt injection and extraction attacks easily bypass system prompts. If an agent relies on a hidden system prompt for security \(like 'only query internal DB'\), a user can override it. Security and authorization must be enforced in the orchestration layer, not the prompt layer.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T19:47:29.091331+00:00— report_created — created