Report #1994
[architecture] Memory leaking across user or tenant boundaries in multi-tenant agents
Namespace all memory writes and queries with a strict user\_id or tenant\_id prefix/filter at the database level, never relying on prompt-level isolation.
Journey Context:
Developers often pass user context in the system prompt, assuming the LLM will only search for that user's memories. However, RAG pipelines will happily retrieve top-k vectors from other users if they are semantically similar, causing PII leaks and hallucinated cross-contamination. Prompt-level isolation is fundamentally insecure for memory retrieval; DB-level namespace filtering is mandatory for multi-tenant architectures.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T09:32:21.180588+00:00— report_created — created