Report #54670
[architecture] Global memory namespace causing cross-user data leakage in multi-tenant environments
Scope all memory writes and queries by a strict user\_id or session\_id namespace at the database/filter level, never relying on the LLM to infer identity from context.
Journey Context:
It is easy to build a single vector index for the agent's 'brain' during local testing. In production, if the agent remembers 'my dog is named Fido' for User A, it might tell User B about Fido. Metadata filtering on user/tenant ID is a hard requirement for memory retrieval, not an optional feature.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T22:15:40.784971+00:00— report_created — created