Reproduce “Real AI Agents with Fake Memories: Fatal Context Manipulation Attacks on Web3 Agents” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Atharv Singh Patlan, Peiyao Sheng, S. Ashwin Hebbar, Prateek Mittal, Pramod Viswanath

A study by Princeton University and the Sentient Foundation formalized "memory injection" as a stealthy context manipulation attack against LLM-powered Web3 agents. The research empirically demonstrated that these attacks achieve higher success rates than prompt injection and bypass current prompt-level defenses, with fine-tuning showing improved robustness, particularly on the CrAIBench benchmark and ElizaOS.

Key insights

  • Memory injection represents a more potent and stealthy attack vector than prompt injection, exploiting the agent's persistent internal memory for long-term influence.
  • Existing prompt-level defenses and state-of-the-art prompt injection detectors offer only limited protection against memory injection attacks.
  • Shared memory systems in multi-user Web3 agents facilitate cross-platform attack propagation, turning individual compromises into systemic vulnerabilities.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.