Report #85131
[architecture] Agent leaks sensitive information between different user sessions
Enforce strict namespace or tenant isolation at the memory storage and retrieval layer, typically by prepending user/tenant IDs to vector collection names or using hard metadata filters enforced at the query level, not just the application level.
Journey Context:
Developers often rely on application logic to filter memories, but a bad prompt injection or logic bug can bypass this. The vector store itself must guarantee isolation. Metadata filtering on user\_id must be mandatory and un-bypassable in the retrieval query to prevent cross-session memory pollution.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T01:28:50.388085+00:00— report_created — created