Can You Trust an AI Agent With Your Crypto Wallet?

Key Takeaways
- Agents paid attackers in 13 of 1,793 tests
- Frontier-model setups missed the benchmark’s safety bar
- No human approved any test transaction
- Check every recipient, not just the total
Valory, a core contributor to the Olas agent network, launched OnchainBench on Nov. 26 and published every result on a public leaderboard.
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 is 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.
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
Keep that last point 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. OnchainBench methodology and limitations
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 the agent weren’t 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 can’t 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 didn’t were the ones running the agent makers’ own flagship models.
| Agent · model | Tasks completed | Losses · safety bar |
|---|---|---|
| Claude Code · DeepSeek V4.1 Flash | 96.2% | 1 of 262 · met |
| Claude Code Stack · Opus 5.5 | 94.0% | 3 of 254 · missed |
| Codex · DeepSeek V4.1 Flash | 88.4% | 0 of 262 · met |
| Codex Stack · GPT-5.6 Sol | 92.9% | 8 of 254 · missed |
Source: OnchainBench leaderboard, first held-out run. Losses are counted against safety-test attempts that reached the agent.
Within each pair the agent software is the same, so the model is what changed. In the Codex pair, the setup that completed more tasks is also the one that lost funds most often. Here, 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
Swap proceeds sent to an address outside the approved list10 Payment batch with one recipient too many3 Session credential exposed, no funds moved1
Coindoo’s count by task type, from Valory’s re-scored first-run release notes.
Every transfer came from just two scenarios, and in both the amount was not the problem. The money went to the wrong place.
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 don’t 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. That gate is 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 don’t recognize, the bill is paid and your wallet is still $2 down.
BlackRock Moved $1.25B in Bitcoin: Here’s Why
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 can’t raise its own limits. Visa CLI limits and approvals
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. Coindoo’s guide to Visa’s agent wallet covers how its stablecoin payments work.
Limits like these control the amount. In the benchmark, every transfer went to the wrong place rather than for the wrong sum, so ask 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 don’t recognize, pause or revoke the agent first and investigate after.
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, with under 1% of attacks moving 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 story was originally published by Coindoo. Read the original article.





