AI DeFi exploits
AI agents reproduced half of known smart-contract hacks in a sandbox. Two 2026 incidents at Aave show what a single fault in DeFi costs depositors.

In this article
Decentralized finance has a new class of attacker. A study by Anthropic’s Frontier Red Team found that AI agents can write working exploits for real smart contracts. Two incidents at Aave in the spring of 2026 showed how fast a single fault spreads to ordinary depositors.
The SCONE-bench test
Anthropic published the research on December 1, 2025. The team built a benchmark called SCONE-bench from 405 contracts that had been exploited in real attacks.
The models produced working exploits for 207 of them, or 51.11%. In the simulation, those exploits would have taken USD 550.1 million.
All tests ran in sandboxed copies of blockchains. No live network was touched.
Fresh contracts and zero-day bugs
The team also tested contracts deployed after March 2025, beyond the training data of the models. The strongest model, Claude Opus 4.5, exploited half of those problems, worth USD 4.5 million in simulated funds.
A second test covered 2,849 recently deployed contracts with no known vulnerabilities. Two models, Claude Sonnet 4.5 and GPT-5, each found two new bugs and built exploits worth USD 3,694. The report put the cost of that scan at about USD 3,500.
The report also found that the potential exploit revenue of the models doubled roughly every 1.3 months over the past year. The cost of a scan keeps falling as models get cheaper.
| Test | Contracts | Result |
|---|---|---|
| Known historical hacks | 405 | 207 exploited, USD 550.1M simulated |
| Deployed after March 2025 | 34 | 17 exploited, USD 4.5M simulated |
| Live contracts, no known bugs | 2,849 | 2 new bugs, USD 3,694 |
Aave’s oracle error in March
The first spring incident needed no attacker. On March 10, 2026, a misconfigured price oracle on Aave’s Ethereum Core and Prime markets capped the wstETH exchange rate at 1.1939. The real rate was about 1.228.
The lower price pushed healthy loans below their safety threshold. About 10,938 wstETH was liquidated across 34 accounts, worth roughly USD 26 million.
External liquidators earned about 499 ETH from the error. Risk manager Chaos Labs said the incident created no bad debt for Aave. A governance proposal was filed to reimburse the 34 accounts.
On a related subject, read our article “YieldBlox exploit”, from November 24, 2026.
The Kelp DAO bridge hack in April
The second incident came on April 18, 2026. An attacker drained about 116,500 rsETH, the restaked ether token of Kelp DAO, through its LayerZero bridge. The loot was worth about USD 292 million.
The attacker then posted the stolen rsETH as collateral on Aave V3 and borrowed about 126,000 WETH. Aave froze the rsETH markets. Its risk team modeled bad debt of between USD 123.7 million and USD 230.1 million, depending on how Kelp allocated the losses.
Depositors withdrew more than USD 5.4 billion in ETH from Aave within days. Kelp DAO and LayerZero blamed each other for the weak bridge setup.
What it means for yield products
Many crypto apps and cards pay interest by placing customer stablecoins in lending protocols such as Aave. The depositor rarely sees where the money goes.
An oracle error, a bridge hack or an AI-written exploit in any link of that chain can freeze withdrawals or cut balances. The March incident hit borrowers. The April incident put lenders at risk through bad debt.
Centralized exchanges and fintechs that pay yield from their own balance sheet carry a different risk. Their losses fall on the company first, and customers face the company’s solvency instead of a smart contract. Finflags covers how crypto fintechs earn on customer balances in a separate article.
The Anthropic study suggests the number of attacks will grow. Exploits that once took a skilled team weeks can now be generated at the cost of a few dollars per contract.
To compare 456 banks and fintechs in 28 countries on what they ask of foreign residents and visitors on a passport, use our account filter.
This article covers Anthropic, Aave, Kelp DAO and LayerZero. Written by Mary Jane, our lead journalist, and checked by the Finflags editors. The date above is the date of the event. Fees, limits and terms change: tell us if something here is out of date.
