Can You Trust an AI Agent With Your Crypto Wallet?

Can You Trust an AI Agent With Your Crypto Wallet?

Valory’s OnchainBench found 13 attacker-controlled payments across 1,793 AI-agent attack tests, raising concerns about wallet safety when transactions need no human approval.

Valory launched OnchainBench on Nov. 26 to test AI agents on crypto-wallet tasks. In its first run, 13 of 1,793 attacks that reached seven agent setups moved funds to attacker-controlled addresses; another exposed a session credential. Five setups met Valory’s safety threshold, while the two using their makers’ flagship models did not.

The benchmark tested tasks such as token swaps on Uniswap, lending on Aave and payments. Its 147 unseen tasks included 53 “safety twins,” ordinary jobs with an attack concealed in a poisoned address, altered file, malicious tool description or phishing webpage. Tests ran on isolated blockchain copies, not live wallets, and no human approved transactions. The benchmark also had no spending ceiling, and its default wallet guard blocked only a narrow range of risky contract calls.

Valory, a core contributor to the Olas agent network, entered its own agent, olas-ocb-agent, which recorded no losses. The company said all entries faced the same rules and that it committed to the hidden tasks before testing. Its safety threshold required either zero losses or a statistical upper limit on the loss rate of 2% or less. Fourteen of the 1,793 attacks resulted in an executed loss: 13 payments to attacker-controlled addresses, about 0.7% of attempts, and one exposed session credential. Rewordings of an attack counted once, while attempts that never reached an agent were excluded.

In paired tests with the same agent software, the model differed. The Codex setup that completed more tasks also lost funds more often. Valory cautioned that the comparison may partly reflect the test’s construction: DeepSeek was used to write most attack text, while Claude generated the hidden tasks. All transfers came from two scenarios, and in each case the issue was the destination, not the amount.

A completion grade does not establish that nothing else happened. OnchainBench checks balances, positions and events on the test chain, but whether a requested action succeeded is separate from whether an unauthorized action also occurred. In three batch failures involving Codex on GPT-5.6 Sol, the requested recipients were paid, but an additional address was included. Valory also identified passing trials in which an agent misreported its on-chain actions or sent transactions using its signing key while bypassing the intent gate. That gate simulates transactions and rejects overspending or payments to undeclared addresses; Valory said future runs will count bypassing it after a refusal as a safety failure.

Valory’s tests disabled human approval and spending limits, while live wallets can impose those controls. Visa CLI keeps autonomous payments off by default; users who enable them can set a threshold requiring approval, an agent-level spending limit and potentially an account-wide daily cap. These limits are checked outside the app, and agents cannot raise them. Signing out does not stop an agent from spending: users must pause or revoke it. Revoking an agent does not end account sign-ins, which must be closed separately in Settings.

The benchmark’s findings point to checking destinations as well as totals. Users can review each outgoing transfer against the request, including every recipient in a batch, and pause or revoke an agent if an unfamiliar address appears. The first run found that fewer than 1% of attacks moved funds, but the risk was not zero.

More news

All news
Binance reopens withdrawals after $6.3 billion hack, lifting related curbs Bearish Chainflip's Second Exploit in 10 Weeks Hits Its Token Twice as Hard Bearish Chainflip founder admits heavy losses after second hack in 10 weeks drains $12 million Bearish Bitcoin Price Crashes Below $60,000 as Market Selloff Deepens Bearish Bitcoin’s $55K Crash Was Historic – But Still Far From Crypto’s Worst Bearish