NDSS 2027 · Oral

VirusCascade: Hijacking Collaborative Reflection in LLM-Powered Recommender Agents

Yurong Hao†, Wen Zhou, Guowei Guan, Tiantong Wu, Fuyao Zhang, Wei Yang Bryan Lim

College of Computing and Data Science, Nanyang Technological University

📄 arXiv PDF 💻 Code

Background

LLM-powered agentic recommender systems (LLM-ARS) turn recommendation into a society of agents. Every user and every item is an LLM agent with a natural-language memory. After each interaction, agents reflect on what happened, write the conclusion back into memory, and share it with the agents they interact with. This collaborative reflection gives unprecedented personalisation and interpretability.

But memory that is rewritten by reflection and shared across agents also needs to be trusted. Could collaborative reflection become the way in for an attacker?

Is collaborative reflection safe?

Traditional RS vs LLM-ARS
Figure 1. Traditional RS (left) optimises fixed user–item representations through gradient-based learning, whereas LLM-ARS (right) instantiates users and items as memory-equipped agents that update their states through autonomous interaction and collaborative reflection.

What one agent writes into memory is read, reused and reflected on by others. To test whether this is safe, we inject a single probe user carrying a marker claim and ask two questions.

Observation 1Reflective persistenceDoes an injected claim survive?

Once admitted, a probe claim remains active across subsequent reflection–writeback cycles. Later rounds reuse or elaborate the claim at rates far exceeding the no-probe baseline.

Reflective persistence: reuse and elaboration rates
Table 1. After the probe is removed, admitted users keep reusing the claim at 78–82% per round (no-probe baseline: 2.0%), and part of them elaborate on it.

Insight → collaborative reflection can convert a locally compatible input into a persistent semantic context. Motivates: Semantic injection

Observation 2Cross-agent propagationDoes it reach untouched agents?

A local memory update can influence agents that were never directly modified. The influence decays with hop distance in the user–item interaction topology.

Cross-agent propagation by hop distance
Table 2. Against a topology-matched semantic-null control (drift ≈ 0.003, adoption 0.0%), hop-1 users adopt the claim in 33.6% of cases, hop-2 in 25.8%, hop>2 in 6.7%.
Fraction of admitted users across rounds
Figure 2. Admitted benign users grow from 2% to 38% in five rounds with no further attacker action; earlier admissions are retained.

Insight → collaborative reflection provides a topological pathway for cross-agent propagation, and high-degree items act as both accumulation points and redistribution channels. Motivates: Structural injection

Together: persistence determines what to inject, evidence that reflection will accept and keep; propagation determines where to inject it, positions that reflection will spread. So how do we exploit both?

Our Attack: VirusCascade

Two levers, two injections: one for what, one for where, and then the victim does the rest.

VirusCascade overview

1 · Semantic injection ← Obs. 1

Design the target profile so that interactions are naturally rationalised as coherent preference evidence during reflection.

2 · Structural injection ← Obs. 2

Construct behaviour trajectories that guide attacker-controlled users along smooth, propagation-oriented paths.

3 · Reflection-driven amplification

After execution, all further amplification is driven by the victim system's own collaborative reflection.

Does it work?

0.384mean E@20
(best baseline 0.199)
+0.185absolute gain
over best baseline
1%malicious users
are enough
4 / 3datasets / victim
architectures

Is it stronger than existing attacks?

E@20 (targeted exposure, higher is better) against the strongest baseline in each setting. Recommendation quality (H@K / N@K) stays at the clean level.

VictimCDs & VinylMovies & TV
Best baselineVirusCascadeBest baselineVirusCascade
AgentCF0.0910.3740.1500.240
AgentSEQ0.0710.4650.2700.300
AgentRAG0.3800.5450.2300.380

Does it go unnoticed?

Text perplexity 32.22, inside the range of original profiles (10.31–90.02). In a human study, 21.9% of VirusCascade profiles were flagged as manipulated vs. 19.3% of originals (factual consistency 4.16 vs. 4.31, p = 0.25).

Do we need both injections?

Without semantic injection E@20 falls to 0.071–0.131; without structural injection to 0.040–0.202. Structure contributes more, and the two are synergistic.

More details

Scalability & transferability
  • Small footprint: still effective with 1% malicious users (5 of 500); the effect persists for 20 rounds without hurting H@20.
  • Model-agnostic: works with LLaMA-3, GPT-4o and Gemini-2.5 as auxiliary models (E@20 0.140–0.545), and on user-only architectures (0.152–0.283, 1.5×–2.5× over baselines).
  • Hyperparameters: exposure rises with attack budget (3%–12%) with diminishing returns beyond 5%; best trade-off α = 0.7–0.9.
Effect of malicious user fraction
Effect of the malicious-user fraction m on H@20, N@20 and E@20.
Full comparison table (all baselines)
Full attack performance table
Attack performance (H@K, N@K, E@K) of all attacks on all victims.
Experimental setup
  • Datasets (Amazon): CDs & Vinyl, Movies & TV, Automotive, Musical Instruments.
  • Victims: AgentCF, AgentRAG, AgentSEQ (GPT-4o-mini backbone, user and item agents with natural-language memory).
  • Baselines: interaction-level (RandAttack, PopAttack, ExpPromot), text-level (DeepWordBug, PuncAttack, TextFooler, BertAttack, TextBugger, TrivInsert), memory-level (DrunkAgent).
  • Defenses evaluated: ONION, Fraudar, TrustRAG, A-MemGuard (see paper appendix).
Ethics statement

All experiments run in a sandboxed local simulation on public, anonymised Amazon datasets; no real platform, production API or user is targeted. Human-study participants judged public descriptions offline. Findings were disclosed to the affected open-source framework developers before publication. Our goal is to expose an overlooked attack surface and support robust defenses.

BibTeX

@inproceedings{hao2027viruscascade,
  title     = {VirusCascade: Hijacking Collaborative Reflection in LLM-Powered Recommender Agents},
  author    = {Hao, Yurong and Zhou, Wen and Guan, Guowei and Wu, Tiantong and Zhang, Fuyao and Lim, Wei Yang Bryan},
  booktitle = {Network and Distributed System Security (NDSS) Symposium},
  year      = {2027}
}