Report #76428
[architecture] Accumulated message history in a multi-agent conversation leaks sensitive instructions or data from Agent A into Agent B's context
Implement strict context pruning and state encapsulation; only pass the minimal required output \(the contract\) to the next agent, not the full conversational history.
Journey Context:
Frameworks often pass the entire chat history between agents for 'context'. This causes two issues: 1\) Token limits are hit rapidly. 2\) Agent A's system prompt or scratchpad data is exposed to Agent B, allowing Agent B to be manipulated by it or bypass access controls. The fix is to treat agents as microservices: they communicate via well-defined Data Transfer Objects, not raw chat logs.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T10:52:50.562085+00:00— report_created — created