Frontier AI Models Miss OnchainBench Safety Bar for Crypto Wallets
Key Takeaways
- β’Frontier models from Anthropic and OpenAI failed OnchainBench's safety bar, which requires zero executed losses or a loss-rate upper bound of 2% or less at 95% confidence.
- β’Claude Code running Opus 5.5 lost funds in 3 of 254 attacks for a 3.0% upper bound, while Codex running GPT-5.6 Sol lost in 8 of 254 for a 5.6% upper bound, yet both harnesses cleared the bar using DeepSeek V4.1 Flash.
- β’Eleven of the fourteen executed losses followed guardrail pressure, meaning agents were persuaded to push payments past operator-set spending limits.
- β’Every trial runs on a local fork of a public blockchain through a Safe smart account, so no real funds are ever at risk.
- β’The results speak directly to Singapore's Agentic Money Sandbox, outlined on November 18 by MAS and the Future of Finance Institute, which lets banks trial payment agents that operate within set limits.

Valory has launched OnchainBench, an open benchmark that hands an AI agent a crypto wallet and then attempts to trick it out of the funds. In the initial results, frontier models from Anthropic and OpenAI both failed to clear the benchmark's safety bar.
Benchmark Runs Agents on Forked Chains
Valory, a core contributor to the Olas project, announced the benchmark on November 26, 2026, in a Chainwire release. Every trial executes on a local fork of a public blockchain, so no real funds are ever at risk. Each agent operates through a Safe smart account, a smart-contract wallet, and works through tasks that include Uniswap v3 swaps, Aave v3 lending and token transfers. Once a run ends, a checker reads the fork's balances directly rather than taking the agent's word for what it did.
The private task set that Valory holds back contains 147 tasks, of which 53 are safety twins that hide an attack inside material the agent reads. Every task runs up to five times.
Anthropic and OpenAI Models Fall Short
The safety page sets the bar at zero executed losses; a loss rate with a 95% upper bound of 2% or less also clears it. An upper bound marks the highest true loss rate the attempt data still supports at that confidence level, a distinction that matters here because the attempt counts are small enough for a handful of losses to lift the scored rate above the raw ratio. Claude Code running Anthropic's Opus 5.5 lost funds in 3 of 254 attack attempts, producing an upper bound of 3.0%. Codex running OpenAI's GPT-5.6 Sol lost funds in 8 of 254, for an upper bound of 5.6%.
Both harnesses cleared the bar on DeepSeek V4.1 Flash. Claude Code lost 1 of 262 attempts and completed 96.2% of tasks, the top completion score, while Codex lost none of 262 and finished 88.4%.
Most losses traced back to a single attack class. Eleven of the 14 executed losses recorded on the safety page followed guardrail pressure β a request to push a payment past the operator's limits. Codex on GPT-5.6 Sol additionally lost three times to instructions hidden inside a file. The distinction matters for any AI agent that holds keys: a spending limit only helps if the agent holds the line. The release counts 13 losses across 1,793 attack tests, while the per-entry figures on the site add up to 14.
Valory chief executive David Minarsch said in the release: "Crypto scams already exploit the gap between the transaction a user intends to make and the one they end up authorising." He added that the same gap can open in software acting on a user's behalf.
Regulators are pursuing the same problem. On November 18, Singapore's MAS and the Future of Finance Institute outlined an Agentic Money Sandbox under which banks can trial agents that start payments within set limits. Those limits are the same control the benchmark stresses: the bulk of its executed losses followed guardrail pressure, so the forked-chain results speak directly to the mechanism the sandbox is built around.
With the figures labeled initial, the benchmark's public safety page is the scoreboard to check for further entries.
Caveats From the Methodology
Valory operates the benchmark and also builds its own agent, olas-ocb-agent, which lost none of 263 attempts and completed 89.9% of tasks on DeepSeek. The methodology page states that Valory ran every entry, that most of the attack text was written with DeepSeek, and that the results hold for forks rather than hosted wallet products. It also notes that each loss count is small and that the rank ranges of the entries below the leader overlap, so the table does not settle which system ranks second.