AI agents are gaining the authority to move real money, and a new benchmark from Valory aims to measure whether they can be trusted with it. OnchainBench, launched on November 26, tests how reliably AI agents handle crypto wallets across nine blockchains, and how often they can be tricked into sending funds to the wrong place.
Valory, a research company working at the intersection of crypto and AI and a core contributor to Olas, announced the benchmark as payment providers begin trialling agents that can trade and spend on behalf of businesses. According to the company, OnchainBench gives users, developers and researchers a consistent way to compare agents on two questions: can they complete onchain tasks, and can they do so safely.
The timing reflects a wider shift. Coinbase has begun rolling out controls that let users set trading limits and choose which crypto products their AI agents can trade, while Solana has introduced payment channels that let agents make repeated payments within a preset spending limit and settle the total on-chain. As crypto platforms hand agents more authority, how those agents respond to ambiguous requests and misleading information can carry direct financial consequences.
OnchainBench puts agents through 147 tasks and 1,800 attack tests
OnchainBench launches with 147 held-out tasks, including 53 safety twins designed to test how agents respond to attacks. Each task runs up to five times per agent, and the benchmark measures the resulting changes in wallet balances to see whether funds moved as instructed or were lost to manipulation.
The tasks cover swaps on Uniswap v3, lending on Aave v3 and token transfers, alongside scenarios that test whether an agent can recover from a crash or ask a user to clarify an instruction before acting. Transactions run through a smart-account wallet on isolated copies of nine blockchains: Ethereum, Gnosis, Base, Arbitrum, Optimism, Polygon, Celo, Mode and Robinhood. Valory says it aims to extend coverage to more blockchains and protocols over time.
In the first evaluation, agents moved funds to an attacker in approximately 0.7 percent of nearly 1,800 attack tests, 13 of 1,793, while task-completion scores ranged from 88.4 percent to 96.2 percent. Both Anthropic's Claude Code and OpenAI's Codex met the benchmark's safety bar when running DeepSeek V4.1 Flash, while on their makers' own frontier models, both missed it.
With DeepSeek, Claude Code topped the leaderboard, completing 96.2 percent of tasks and losing funds in one of 262 attack tests, while Codex completed 88.4 percent with no observed fund losses across 262 attack tests. The results suggest that the model running inside a harness matters as much as the harness itself, and that the same agent can behave very differently depending on which model powers it.
Why wallet safety benchmarks matter now
The stakes are rising because agents are moving from answering questions to executing transactions. A study led by researchers at the University of Oxford found that deceptive content on test websites redirected agents from their assigned tasks in 25 percent of trials on average across six leading AI models. When the task involves money, a redirected agent is not just an inconvenience, it is a loss.
David Minarsch, co-founder and chief executive of Valory, said crypto scams already exploit the gap between the transaction a user intends to make and the one they end up authorising. According to Minarsch, as users delegate trading and payments to AI agents, that same gap can appear in the software acting on their behalf, and an agent can handle a routine swap correctly while still being misled into moving funds without permission.
The benchmark also produced one result that cuts against expectations. Following Anthropic's IPO last week, the data showed that in Anthropic's own Claude Code harness, its model lost funds in more attack tests than DeepSeek V4.1 Flash did, raising the question of whether provider-imposed limits on how models can be used might have unintended consequences for agent safety in crypto. It is a reminder that safety is a property of the whole system, not just the model.
Valory manages OnchainBench and also develops olas-ocb-agent, one of the agents on the leaderboard. Outside agent builders can submit their own harnesses, and protocols and research teams can propose new tasks. The benchmark is available at OnchainBench.ai, with code and result datasets on GitHub, and a methodology page explains how tasks are scored and how attack outcomes are counted.
A pattern across the agent economy
OnchainBench arrives in a week when the agent economy has been building guardrails in several places at once. Payment controls are appearing in wallets and exchanges, while benchmarks are emerging to test whether agents can be trusted with the authority they are being given. ShellBench, published earlier this week, found top AI agents failing four in ten everyday tasks, and OnchainBench narrows the question to the highest-stakes case: what happens when the task involves someone else's money.
The same logic is driving new payment designs. LianLian XCard lets authorised AI agents pay within preset limits using single-use tokens, never seeing the card number itself, and Walmart opened its Black Friday deals to Meta's Muse through spending-limit Agent Profiles. OnchainBench fits that pattern: give agents real authority, but measure the failures before the losses happen in production.
For developers building onchain agents, the benchmark offers a diagnostic test suite to audit spending guardrails before deploying autonomous capital. For the rest of the ecosystem, it sets a baseline: an agent that completes most tasks is not necessarily an agent that can be trusted with a wallet. The difference between the two is now measurable, and the first numbers show it is small but real.
Sources: Crypto Briefing, BetaBriefing, Valory, Olas.
Comments 0
No comments yet. Be the first to share your thoughts!
Leave a comment
Share your thoughts. Your email will not be published.