arXiv(opens in a new tab)cs.AISep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.35576

Share-Borne AI Virus: Memory-Hopping Attacks Across LLM Agents

Sidharth Pulipaka, Ansh Sharma, Stanislau Hlebik, Leonidas Raghav, Vyas Raina, Ivaxi Sheth, Mario Fritz

ABSTRACT

Large language models are increasingly deployed as stateful assistants that retain information across interactions and use tools to read, modify, and create persistent artifacts. As these artifacts are shared between users, they form an indirect communication channel between otherwise independent assistants. We study a failure mode in which this channel enables self-propagating attacks. We introduce artifact-mediated propagation, where adversarial content introduced through an artifact (e.g. a report), is stored in an assistant's persistent memory, reproduced in a subsequently created artifact, and acquired by another assistant that later reads it. We evaluate this process in temporal human–agent universes that model artifact exchange between independently operated assistants over time, measuring whether an attack survives successive hand-offs, how many hops it reaches, and how broadly it spreads. We find that attacks can propagate across multiple independent assistants and persist over extended interaction sequences. In larger simulated environments, even GPT-5.6 Luna exhibits substantial spread, reaching 60–80% of agents with propagation chains extending to eight hops. These results show that persistent artifacts can act as durable carriers of adversarial state, allowing attacks to outlive individual interactions and spread across isolated assistants.

1 INTRODUCTION

Large language model (LLM) assistants increasingly incorporate persistent memory mechanisms that allow information to carry across otherwise separate interactions (Packer et al., 2023; Zhong et al., 2024; Wu et al., 2025; Zhang et al., 2025b). At the same time, assistants increasingly operate over persistent artifacts: users ask them to read reports, summarize notes and create files for other people. Recently launched consumer products such as Grok Bot (SpaceXAI, 2026) and Muse (Meta, 2026a) combine both properties: always-on personal agents that persist across sessions, reading and writing files on their users' behalf. These two forms of persistence—memory inside the assistant and artifacts outside it—create an indirect channel between otherwise isolated assistants.

Persistent memory already creates a ‘delayed adversarial surface’: information encountered during one task can be incorporated into an assistant’s memory and influence unrelated tasks much later (Pulipaka et al., 2026; Gadgil et al., 2026; Dash et al., 2026; Zou et al., 2026). Existing work has largely studied this persistence of a malicious artifact in memory, and how that state later changes the behavior of the same assistant. We study what happens when this effect extends beyond a single agent. If a compromised assistant later reproduces the adversarial state into an artifact it creates, and that artifact is subsequently consumed by another independently operated assistant, the attack can propagate across agents without direct communication. We call this artifact-mediated propagation.

Self-propagating behavior in LLM systems has been demonstrated in several settings, including direct model-to-model interaction (Lee & Tiwari, 2024; Yu et al., 2024), RAG-enabled email ecosystems (Cohen et al., 2025), autonomous multi-agent communication and persistent carriers (Zhang

∗^{*}Equal Contribution.

†^{\dagger}Equal Advising.

Figure

Figure 1: Overview of our artifact-mediated propagation across independent assistants. A poisoned artifact infects an assistant’s memory (hop 1). The assistant later reproduces the adversarial state into another artifact, which can infect a second assistant (hop 2) and continue across further hops.

et al., 2026b; Zha & Wang, 2026), shared collaborative state (Patlan et al., 2025), and reusable coding-agent resources (Wu et al., 2026). A common feature of these settings is that propagation occurs through a communication or state-sharing substrate available to the agents themselves, such as direct messaging, shared memory, automatically indexed content, or persistent agent resources. We study a different regime: assistants are independently operated as personal assistants to user, where they maintain private memory, and have no direct communication channel with other agents. The only connection between them arises when their users exchange ordinary artifacts and independently ask their assistants to read or write those artifacts as part of normal workflows. Thus, propagation is not driven by an autonomous agent network, but by adversarial state surviving a sequence of human-mediated artifact transfers across otherwise isolated assistants.

We study whether a single poisoned seed artifact can cause adversarial state to propagate across multiple independently operated assistants. The adversary begins with no access to any assistant's private memory and no control over the future agents, users, or tasks that the attack may encounter. It controls one seed artifact processed by one assistant and, in the endpoint-assisted variant, operates an external service that can modify artifacts sent to it. For propagation to continue, the adversarial state must first survive in that assistant's persistent memory. It must then influence a later, unrelated writing task strongly enough that the assistant places a viable copy of the attack into a new artifact. That artifact must subsequently be read by another clean assistant, which then recreates the same state. This artifact–memory–artifact cycle must then repeat, and it stops wherever an assistant fails to retain the attack or to reproduce it in what it writes. This is harder than causing a single malicious action. We consider two variants: an endpoint-assisted attack, which our main experiments evaluate, in which the assistant routes the artifacts it writes through the attacker's service, which reinserts a clean copy of the attack, so the assistant need only preserve a short carry-forward instruction (Section 4.1); and a prompt-only attack, in which the assistant carries and reproduces the attack from memory alone (Appendix D).

To study this phenomenon, we introduce temporal human–agent universes: simulated workflows in which users repeatedly ask their personal assistants to read, write, and edit artifacts exchanged between users over time. For each target model, we optimize a single goal-agnostic attack template on development universes, freeze it, and evaluate it on unseen adversarial goals and universes. Our main experiments show that the endpoint-assisted attack can spread across many independently operated assistants over successive hand-offs, with no direct communication between them.

References (89)