Report #12817
[architecture] Agents leak sensitive system prompts or internal tool schemas to other agents during handoffs
Enforce strict message visibility scopes \(e.g., internal, agent-to-agent, user-facing\) and strip system and tool roles from the context before passing to agents with lower trust levels or to the user.
Journey Context:
If Agent A hands off to Agent B, passing A's system prompt to B wastes B's context and can cause B to hallucinate using A's tools. Stripping/scoping messages prevents this. Tradeoff: Requires a strict message filtering proxy, but essential for security and context hygiene.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T17:08:01.751548+00:00— report_created — created