cs.CLApr 1, 2026

No Attacker Needed: Unintentional Cross-User Contamination in Shared-State LLM Agents

Authors: Tiankai Yang, Jiate Li, Yi Nian, Shen Dong, Ruiyao Xu, Ryan Rossi, Kaize Ding, Yue Zhao

Organizations: University of Southern California · Michigan State University · Northwestern University · Adobe Research

Abstract

LLM-based agents increasingly operate across repeated sessions, maintaining task states to ensure continuity. In many deployments, a single agent serves multiple users within a team or organization, reusing a shared knowledge layer across user identities. This shared persistence expands the failure surface: information that is locally valid for one user can silently degrade another user's outcome when the agent reapplies it without regard for scope. We refer to this failure mode as unintentional cross-user contamination (UCC). Unlike adversarial memory poisoning, UCC requires no attacker; it arises from benign interactions whose scope-bound artifacts persist and are later misapplied. We formalize UCC through a controlled evaluation protocol, introduce a taxonomy of three contamination types, and evaluate the problem in two shared-state mechanisms. Under raw shared state, benign interactions alone produce contamination rates of 57--71%. A write-time sanitization is effective when shared state is conversational, but leaves substantial residual risk when shared state includes executable artifacts, with contamination often manifesting as silent wrong answers. These results indicate that shared-state agents need artifact-level defenses beyond text-level sanitization to prevent silent cross-user failures.

Figures & tables

Appendix figures & tables4 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. When Routine Chats Turn Toxic: Unintended Long-Term State Poisoning in Personalized Agents

    May 7, 2026Xiaoyu Xu, Minxin Du, Qipeng Xie +3LLM Agent SecurityAgent Memory Poisoning

  2. Cross-User Poisoning: User-Task Boundary Failures in Multi-User Collaborative Language Agents

    Nov 21, 2025Atharv Singh Patlan, Peiyao Sheng, S. Ashwin Hebbar +2Data Poisoning AttacksAgent Memory Poisoning

  3. State Contamination in Memory-Augmented LLM Agents

    May 16, 2026Yian Wang, Agam Goyal, Yuen Chen +1LLM Agent MemoryLLM Agent Safety