paper-with-me

Papers

Real AI Agents with Fake Memories: Fatal Context Manipulation Attacks on Web3 Agents

2025-03-20 · Atharv Singh Patlan, Peiyao Sheng, S. Ashwin Hebbar, Prateek Mittal, Pramod Viswanath

The integration of AI agents with Web3 ecosystems harnesses their complementary potential for autonomy and openness yet also introduces underexplored security risks, as these agents dynamically interact with financial protocols and immutable smart contracts. This paper investigates the vulnerabilities of AI agents within blockchain-based financial ecosystems when exposed to adversarial threats in real-world scenarios. We introduce the concept of context manipulation, a comprehensive attack vector that exploits unprotected context surfaces, including input channels, memory modules, and external data feeds. Through empirical analysis of ElizaOS, a decentralized AI agent framework for automated Web3 operations, we demonstrate how adversaries can manipulate context by injecting malicious instructions into prompts or historical interaction records, leading to unintended asset transfers and protocol violations which could be financially devastating. To quantify these vulnerabilities, we design CrAIBench, a Web3 domain-specific benchmark that evaluates the robustness of AI agents against context manipulation attacks across 150+ realistic blockchain tasks, including token transfers, trading, bridges and cross-chain interactions and 500+ attack test cases using context manipulation. We systematically assess attack and defense strategies, analyzing factors like the influence of security prompts, reasoning models, and the effectiveness of alignment techniques. Our findings show that prompt-based defenses are insufficient when adversaries corrupt stored context, achieving significant attack success rates despite these defenses. Fine-tuning-based defenses offer a more robust alternative, substantially reducing attack success rates while preserving utility on single-step tasks. This research highlights the urgent need to develop AI agents that are both secure and fiduciarily responsible.

📄 PDF Abstract BibTeX arXiv:2503.16248

Code (0)

등록된 구현이 없습니다.

Tasks

AI Agent

Similar Papers 제목 키워드 기반

PersonaTrail: Benchmarking Personalized Web Agents through Browsing Trails

2026-05-30 · Seungbin Yang, Chaewoon Ki, Dohyun Lee, Jaegul Choo 외 arxiv

Recent advances in large language models have enabled web agents to autonomously execute complex tasks. In practice, users frequently provide underspecified instructions, requiring agents to infer the missing context fro…

Memory Sharing for Large Language Model based Agents

2024-04-15 · Hang Gao, Yongfeng Zhang

The adaptation of Large Language Model (LLM)-based agents to execute tasks via natural language prompts represents a significant advancement, notably eliminating the need for explicit retraining or fine tuning, but are c…

Common Sense ReasoningDiversityIn-Context LearningLanguage Modeling+4

Multi-Agent Debate with Memory Masking

2026-03-03 · Hongduan Tian, Xiao Feng, Ziyuan Zhao, Xiangyu Zhu 외 arxiv

Large language models (LLMs) have recently demonstrated impressive capabilities in reasoning tasks. Currently, mainstream LLM reasoning frameworks predominantly focus on scaling up inference-time sampling to enhance perf…

Logical Reasoning

Towards Lifelong Dialogue Agents via Timeline-based Memory Management

2024-06-16 · Kai Tzu-iunn Ong, Namyoung Kim, Minju Gwak, Hyungjoo Chae 외

To achieve lifelong human-agent interaction, dialogue agents need to constantly memorize perceived information and properly retrieve it for response generation (RG). While prior studies focus on getting rid of outdated m…

counterfactualManagementQuestion AnsweringRelation+1

A-MEM: Agentic Memory for LLM Agents

2025-02-17 · Wujiang Xu, Kai Mei, Hang Gao, Juntao Tan 외

While large language model (LLM) agents can effectively use external tools for complex real-world tasks, they require memory systems to leverage historical experiences. Current memory systems enable basic storage and ret…

Large Language Model