Paper 2025/526 Original: eprint.iacr.org/2025/526 ↗

AI Agents in Cryptoland: Practical Attacks and No Silver Bullet

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

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. Our findings indicate that prompt-based defenses are insufficient, as malicious inputs can corrupt an agent's stored context, creating cascading vulnerabilities across interactions and platforms. This research highlights the urgent need to develop AI agents that are both secure and fiduciarily responsible.

Metadata
Available format(s)
PDF
Category
Applications
Publication info
Preprint.
History
2025-03-20: last updated
2025-03-20: published
Short URL
https://ia.cr/2025/526
License
https://creativecommons.org/licenses/by-sa/4.0/

BibTeX

@misc{cryptoeprint:2025/526,
      author = {Atharv Singh Patlan and Peiyao Sheng and S. Ashwin Hebbar and Prateek Mittal and Pramod Viswanath},
      title = {AI Agents in Cryptoland: Practical Attacks and No Silver Bullet},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/526},
      year = {2025},
      url = {https://eprint.iacr.org/2025/526}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.