# Can Agents Keep Secrets They Were Never Told? Benchmarking Latent Privacy Risks Across Sessions with MemJoin

DevFeed: [Can Agents Keep Secrets They Were Never Told? Benchmarking Latent Privacy Risks Across Sessions with MemJoin](<https://devfeed.tech/articles/can-agents-keep-secrets-they-were-never-told-benchmarking-latent-privacy-risks-across-sessions-with-memjoin-93290.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.24359>)

Author: Qishun Yang, Shu Yang, Difei Xu, Di Wang, Meng Ding

Published: 2026-10-21T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Security & Privacy](<https://devfeed.tech/topics/security-privacy.md>), [AI chatbot continuity](<https://devfeed.tech/topics/ai-chatbot-continuity.md>), [AI Context Management](<https://devfeed.tech/topics/ai-context-management.md>), [pii](<https://devfeed.tech/topics/pii.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [benchmarking](<https://devfeed.tech/tags/benchmarking.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [memory](<https://devfeed.tech/tags/memory.md>), [privacy](<https://devfeed.tech/tags/privacy.md>), [security](<https://devfeed.tech/tags/security.md>), [sessions](<https://devfeed.tech/tags/sessions.md>)

## AI overview

MemJoin tests how long-term agent memory can expose sensitive relations assembled across sessions, even when no single session contains enough information to reveal them. Across 288 synthetic cases, the authors evaluate six memory systems using the same answer-generating model, with full-history and no-history controls. They separately measure target values in stored and retrieved records and whether answers state the complete person-linked relation. In a paired test on a prespecified subset, removing shared identifiers and other connecting clues changes complete-relation output even though checked target values remain visible. The findings indicate that attribute visibility alone does not capture what records reveal when combined.

## Source excerpt

arXiv:2610.24359v1 Announce Type: cross Abstract: To support sustained interactions and personalized assistance, agents use long-term memory to retain and combine user information across sessions. Reusing such memories can lead an agent to state a sensitive relation while completing an ordinary task that does not require it. The relation to protect and the combination of clues that reveal it may remain hidden at memory write time, when later records and tasks are still unknown. In this paper, we introduce MemJoin, a privacy benchmark of 288 synthetic analysis cases in which the complete history entails a sensitive relation, but every individual session is insufficient. We evaluate six memory systems with the same answer-generating model, alongside full-history and no-history controls. Each system writes and updates memories in session order and later retrieves context for an ordinary task, while target annotations remain with the evaluator. We separately check which target attribute values appear in stored records and retrieved context, and whether the final answer states the complete, person-linked relation. In a separate paired test on a prespecified subset, removing shared identifiers and other connecting clues can change complete-relation output while all checked target attribute values remain visible. These findings show why checking attribute visibility alone is insufficient to evaluate what records from different sessions reveal together.