Real AI agents and false memories: fatal context manipulation attacks against Web3 agentsReal AI Agents with Fake Memories: Fatal Context Manipulation Attacks on Web3 Agents
Researchers propose context manipulation attacks against Web3 AI agents, which can exploit unprotected context in input channels, memory modules, and external data sources to inject malicious content into prompts or history, inducing agents to perform unauthorized asset transfers and operations that violate protocols. They built CrAIBench based on ElizaOS, covering 150+ blockchain tasks (such as token transfers, trading, cross-chain bridges, and cross-chain interactions) and 500+ attack test cases. Evaluation results show that models are significantly more vulnerable to memory injection than to prompt injection. When stored context is poisoned, prompt injection defenses and detectors provide only limited protection; fine-tuning-based defenses can significantly reduce attack success rates while maintaining performance on single-step tasks.