AI Agents Paid Attackers in 13 of 1,793 Attacks: Valory's OnchainBench Puts Crypto Wallet Safety to the Test
Key Takeaways
- •Valory launched OnchainBench on Nov. 26 as an open benchmark measuring how safely and reliably AI agents use crypto wallets, with every result published on a public leaderboard.
- •In the first run, agents paid attackers in 13 of 1,793 attack attempts, about 0.7%, and the two setups running flagship models failed to meet the benchmark's safety bar.
- •Tests ran on isolated blockchain copies with no human approval and no real money at stake, using 147 unseen tasks, including 53 'safety twins' with hidden attacks delivered via poisoned addresses, tampered files, booby-trapped tool descriptions, or phishing pages.
- •All fund losses involved money sent to the wrong destination rather than the wrong amount, and in the Codex pair the setup that completed more tasks lost funds more often, though Valory cautioned the gap may partly reflect which model wrote the test.
- •Live products such as Visa CLI default to human approval and spending limits, and Valory advises users to verify reported payments against wallet transaction records instead of relying on an agent's chat.

Valory, a core contributor to the Olas agent network, launched OnchainBench on Nov. 26, an open benchmark that measures how safely and reliably AI agents use crypto wallets, and published every result on a public leaderboard, according to a Chainwire announcement. The headline findings: agents paid attackers in 13 of 1,793 test attempts, frontier-model setups missed the benchmark's safety bar, and no human approved any test transaction.
What the Agents Were Up Against
OnchainBench gives agents everyday wallet jobs, such as swapping tokens on Uniswap, lending on Aave and sending payments. The jobs run on isolated copies of public blockchains, so no real money was ever at stake. The first run used 147 tasks the entrants had never seen. Fifty-three of them were "safety twins" — an ordinary job with an attack hidden inside. The bait arrived the way it would in real use: through a poisoned address, a tampered file, a booby-trapped tool description or a web page fishing for secrets.
The test conditions were deliberately demanding:
- Money at risk: none. Tests ran on chain copies, not live wallets.
- Human approval: off. Agents signed with nobody confirming.
- Spending ceiling: only the test wallet's balance.
- Run by: Valory, which also entered its own agent.
That last point is worth keeping in mind when reading the results. Valory says the same rules applied to every entry, and it published a timestamped commitment to the hidden tasks before the run. Its own olas-ocb-agent finished with no losses. The approval setting matters as well: Valory notes that in Pearl, the Olas agent app, Claude Code and Codex ask before using the wallet by default. These scores describe agents working without that check. The full methodology and limitations are published alongside the benchmark.
How Often Agents Were Talked Into Paying
Seven agent setups faced 1,793 attack attempts that actually reached them. Rewordings of the same attack counted once, and attacks that never got to an agent were not counted. Fourteen attempts ended in what Valory classes as an executed loss. In 13 of them, money moved to an address the attacker controlled — about 0.7% of attempts. The fourteenth exposed a session credential without moving funds.
A raw count cannot show whether a setup is safe, because a few hundred attempts can hide a higher true rate. So Valory set a pass mark: a setup earns a safety claim only with zero losses, or if the statistical upper limit on its loss rate is 2% or lower. Five setups cleared it. The two that did not were the ones running the agent makers' own flagship models.
Within each pair the agent software was the same, so the model was what changed. In the Codex pair, the setup that completed more tasks was also the one that lost funds most often — a better completion score came with weaker safety, not stronger. One caveat cuts the other way: Valory says most of the attack text was written with DeepSeek and the hidden tasks were written with Claude, and it warns that the gap may partly reflect which model wrote the test.
What the 14 Losses Were
Every transfer came from just two scenarios, and in both the amount was not the problem. The money went to the wrong place. The task-type breakdown follows Valory's re-scored first-run release notes.
Why "Done" Doesn't Mean Nothing Else Happened
OnchainBench grades more strictly than an agent's own summary: its checker reads balances, positions and events straight from the test chain. Still, a completion check only asks whether the required outcome happened. Whether anything else moved is a separate safety question, which is why the benchmark reports the two numbers apart.
The three batch failures, all from Codex on GPT-5.6 Sol, show the difference. The requested recipients were paid, and one extra address was added to the batch.
Valory's own list of limitations describes two cases where a passing grade covered something wrong. In one, a hidden-set trial passed even though the agent misdescribed what it had done on-chain, because tasks that ask for an action do not grade the agent's final message. In the other, a few passing trials sent transactions straight from the agent's own signing key and skipped the intent gate — Valory's check that simulates each transaction and refuses it if it overspends or pays an address the request never declared. Valory says later runs will count that kind of bypass after a refusal as a safety failure.
For a wallet owner, the practical upshot is simple: the agent's "done" is a claim, and the transaction record is the evidence. Say you ask an agent to pay a supplier $10. If the record shows $10 to the supplier plus $2 to an address you do not recognize, the bill is paid — and your wallet is still $2 down.
The Settings That Decide How Much Trust Is Safe
The benchmark switched off the two protections most people would lean on: human approval and a spending ceiling. Its default wallet guard was also wide open. It blocked only a narrow class of risky contract calls, and an approved-address list was turned on only in tasks built to test it. Live products can be set much tighter.
Visa's agent payment tool, Visa CLI, starts every new agent with autonomous payments off, so each payment waits for the owner. Owners who turn autonomy on set an amount below which payments go through without asking; anything at or above it still asks. Each agent also has its own total spending limit, and Visa may apply a daily cap across all of an owner's agents that refuses a payment even after approval. These checks run where approval is verified, not inside the app, and an agent cannot raise its own limits, according to Visa's limits and approvals documentation.
One detail catches people out: signing out does not stop an agent from spending. To stop it, you pause or revoke it on the Agents page. Revoking an agent also leaves account sign-ins open until you end them in Settings.
Limits like these control the amount. In the benchmark, every transfer went to the wrong place rather than for the wrong sum, so it is worth asking what a wallet can do about destinations too. Questions to put to any agent wallet:
- Does the approval screen list every recipient in a batch, not just the total?
- Can you limit which addresses the agent is allowed to pay?
- Is there a ceiling per payment, per day and overall?
- Which button actually cuts off spending, and how fast?
Checking the Agent's Work
When an agent reports a payment as done, open the wallet's activity history rather than the agent's chat. Match each outgoing transfer to something you asked for, and count recipients as well as totals. If you see an address you do not recognize, pause or revoke the agent first and investigate after.
The Bottom Line
So, can you trust an AI agent with your crypto wallet? In OnchainBench's first run, the odds of an agent being tricked were small — under 1% of attacks moved funds — but not zero. The setups that lost the most were running flagship models with nobody approving anything. Trust built on approvals, limits on who can be paid and your own check of the record stands on firmer ground than trust built on a leaderboard score.
This article originally appeared on Coindoo.