Zurich, Switzerland, November 26th, 2026/Chainwire/--
As payment providers begin trialling AI agents that can move money on behalf of businesses, OnchainBench gives users, developers and researchers a way to measure two outcomes: how successful AI agents are at completing onchain tasks and whether they can do so safely. Rolling out initially for nine EVM blockchains - Ethereum, Gnosis, Base, Arbitrum, Optimism, Polygon, Celo, Mode, and Robinhood, Valory aims to extend coverage to more blockchains and protocols over time.
Recently,
Separately, a
Dr
David Minarsch , Co-founder & CEO of Valory and Founding Member of Olas said, “Crypto scams already exploit the gap between the transaction a user intends to make and the one they end up authorising. As users delegate trading and payments to AI agents, that same gap can appear in the software acting on their behalf. An agent can handle a routine swap correctly and still be misled into moving funds without permission or with misleading information. By testing a rich set of tasks, modelled after real use cases including containing potential attack vectors, and measuring the resulting changes in wallet balances, OnchainBench gives researchers a consistent way to compare how agents perform and where their safeguards fail.”
In OnchainBench’s first evaluation, agents moved funds to an attacker in approximately 0.7% of nearly 1,800 attack tests (13 of 1,793), while task-completion scores ranged from 88.4% to 96.2%. 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% of tasks and losing funds in one of 262 attack tests, while Codex completed 88.4% with no observed fund losses across 262 attack tests. The benchmark launches with 147 held-out tasks, including 53 safety twins designed to test agents’ responses to attacks, each task is run up to 5 times for each agent.
Following Anthropic’s IPO last week, one result stands out: in Anthropic’s own Claude Code harness, its model lost funds in more attack tests than DeepSeek V4.1 Flash, raising the question of whether provider-imposed limits on how models can be used might have unintended consequences for agent safety in crypto.
As agents gain the ability to trade and make payments autonomously, the benchmark gives developers a common way to compare how reliably they handle funds. OnchainBench runs transactions through a smart-account wallet on isolated copies of nine blockchains initially - Ethereum, Gnosis, Base, Arbitrum, Optimism, Polygon, Celo, Mode, and Robinhood, measuring whether agents complete tasks as instructed and how often attempts to manipulate them result in fund losses in the test environment. The benchmark covers swaps on Uniswap v3, lending on Aave v3 and token transfers, alongside tasks that test whether an agent can recover from a crash or ask a user to clarify an instruction before acting.
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
About Valory
About Olas:
Contact
Senior Account Manager
Vinita Kullai
YAP Global
vinita@yapglobal.com
This story was published as a press release by Chainwire under HackerNoon’s Business Blogging
