Floating Button
Home Digitaledge Digital Economy

Why DeFi must change to survive

Wesley Ng
Wesley Ng  • 7 min read
Why DeFi must change to survive
AI is changing the economics of DeFi attacks, forcing protocols to choose between ideological purity and survival. Photo: Shutterstock
Font Resizer
Share to Whatsapp
Share to Facebook
Share to LinkedIn
Scroll to top
Follow us on Facebook and join our Telegram channel for the latest updates.

A caveat: This article’s focus revolves around on‑chain smart contract exploits within decentralised finance (DeFi), the arena where AI and blockchain collide most dangerously. While an “AI-only” heist has yet to hit the mainnet, red-team benchmarks like Anthropic’s SCONE-bench and the A1 agent have already demonstrated that AI can autonomously execute million-dollar zero-day attacks. This piece is a cautionary note built on those demonstrated capabilities.

For years, DeFi heists were sold as chess matches between human attackers and paranoid defenders. Let’s say you were an attacker named Johnny, your script would go something like this: spend weeks reverse-engineering smart contracts, praying you found a bug worth the effort. Then days of manual testing, from tweaking parameters to chaining transactions. Finally, the exploit lands, and you thank the heavens… only to discover the security audit beat you to it three days ago. Back to zero.

DeFi developers have leaned on three fragile security moats to keep smart contract exploiters like Johnny at bay.

First, human attackers are slow. Each contract included millions of code paths, taking human attackers weeks to map them out.

Second, most bugs weren’t worth the hunt. Total value locked stayed low enough that many pools only held tens of thousands in funds. For serious attackers, the overhead costs and effort needed to drain such pools rarely justify the payout.

Third, audits, imperfect as they were, snagged enough low-hanging fruit and allowed for teams to patch obvious bugs before attackers finished their reconnaissance.

See also: Restoring trust and human authenticity in a synthetic internet

In short, the DeFi ecosystem chugged along on attacker economics.

However, the advancements in frontier AI have drastically lowered the barrier to discovering smart contract vulnerabilities, compressing a process that once took months of human effort into mere minutes or hours of automation.

The pace of this capability improvement is staggering too. In red‑team benchmarks, the best AI agents went from exploiting about 2 percent of known vulnerabilities to over 55% in roughly a year of model iteration.

See also: HSBC, Mastercard complete AI-agent B2B payments pilot in Singapore

This rapid evolution is largely driven by agentic frameworks, such as the A1 system. This system equips general-purpose Large Language Models (LLMs) with domain-specific tools to autonomously test and validate exploits on real blockchain states, achieving a 63% success rate against real-world contracts.

Furthermore, the economic cost of discovering these flaws has plummeted. In one study, AI agents could rediscover and exploit known DeFi vulnerabilities for abou US$2 per contract. At that price, attackers can profitably target exploits valued at as little as US$6,000 to cover the accumulated API costs of scanning thousands of contracts.

Defenders, by contrast, have to continuously monitor many contracts and markets at once. Running equivalent infrastructure and on‑call humans would only make economic sense if there are at least hundreds of thousands of dollars or more at stake.

As a result, AI tilts the field: small pool bugs that would never have justified weeks of human effort suddenly become profitable targets, while defenders still only have the budget and attention to protect the larger vaults.

If AI is a universal threat, why is DeFi, not traditional finance, the primary casualty of this new era of automated exploitation?

The answer lies in the structural fragility of DeFi. Its core design choices remove the very safety valves traditional finance relies on.

Immutability. Traditional finance can reverse fraudulent transfers through chargebacks, refunds, and bank‑led reversals. By contrast, major blockchains are deliberately immutable and once a malicious transaction is confirmed and sufficiently deep in the chain, it is effectively irreversible.

To stay ahead of the latest tech trends, click here for DigitalEdge Section

Decentralisation. DeFi protocols often execute their core logic entirely on-chain, with no bank-style operator who can reverse transactions or quietly fix issues after the fact. Many contracts are intentionally upgrade-restricted, so critical bugs can remain locked into production code, as seen in incidents like Parity’s frozen multisig wallets.

Where upgradeable proxies and emergency pauses exist, they introduce a different kind of risk: security now hinges on a small set of keyholders or governance mechanisms, not on broadly distributed control.

Transparency. DeFi’s radical transparency is also a gift to attackers. Every contract and transaction is public, perfectly structured data that AI agents can probe at scale.

Composability. DeFi composability means protocols are designed to plug into each other like “money legos”. That’s great for innovation, but it also means a single exploited primitive can instantly impact every protocol built on top of it. In this context, an AI agent can look for a bug not just in one contract, but it can search for multi‑step attack paths that give it the potential to turn a single bug into a multi‑protocol event.

Against this backdrop, Johnny’s dream of becoming rich off smart contract exploits might now become a reality.

If that were all there was to say, the piece could end here. But the same frontier capabilities that break DeFi, also it turns out, repair it. The more interesting question is whether the industry can stomach what defensive AI requires.

Hexgate, acquired by Chainalysis in late 2024, had by then detected roughly 98% of known DeFi exploits before execution, protecting more than a billion dollars across Coinbase, Uniswap and EigenLayer.

When Radiant Capital was exploited in October 2024, its Hypernative integration fired alerts fast enough to pause the BNB Chain and Ethereum pools within minutes, preventing an estimated 32 million dollars of additional losses. Alongside real-time monitoring, Cetora reported securing 196.5 billion in TVL in 2025 and preventing more than 720 vulnerabilities from production. Its founder, Molly Sagiv, frames the implication cleanly: security can no longer rely on point-in-time audits.

The third move is the one that makes DeFi purists wince: circuit breakers. Pause modules, rate limiters, emergency multi-sigs, each is a small concession to the traditional finance logic that decentralisation was supposed to replace. They are, in a real sense, centralisation smuggled back into systems that advertised themselves as trustless. Vitalik Buterin has threaded the needle on this, enthusiastic about AI-assisted verification, sceptical of putting AI anywhere near live governance, where a jailbroken prompt can drain a treasury.

None of this adds up to a happy ending. The defenders are closing the gap, but unevenly, expensively, and in ways that require protocols to give up precisely the properties that made the original pitch seductive. DeFi, to be defended, has to become a thing it spent a decade insisting it would never be.

So here is where we are. The attackers will keep getting faster, and the rate at which they do is not something the DeFi industry can control, it is a function of frontier AI research happening in San Francisco and Shenzhen, conducted by people who are mostly not thinking about DeFi at all. The defenders have real tools now, and those tools genuinely work. But each of them, taken seriously, requires the industry to accept a version of itself that would have been unrecognisable to the people who built it.

Consider what a genuinely defensible DeFi protocol looks like in 2026. It has formal verification baked in from the architectural stage. It has pause guardians authorised to halt activity.

It is monitored continuously by third parties that can be subpoenaed or acquired. It exists inside a social fabric of white hat responders, stablecoin issuers who will freeze addresses, and exchanges that will refuse tainted deposits.

Each is, in isolation, a sensible engineering choice. Taken together, they describe a financial system with pause buttons, blacklists, and identifiable operators. That is a financial system worth building. It is also, recognisably, the financial system we already had.

The properties being quietly traded away; pure immutability, resistance to social consensus, the absence of trusted intermediaries; were not peripheral features. They were the pitch. Satoshi’s question about whether a financial system could run without trusted intermediaries turns out to have had an implicit qualifier: it was possible in a world where attacking the system was expensive enough that honest participants dominated.

AI has lowered that cost by orders of magnitude. The protocols that refuse to adapt will not be destroyed. They will become smaller, stranger, more specialized, shortwave radio for a generation of enthusiasts. Everything else, the part of DeFi that wants to matter at the scale of global finance, will evolve.

And evolution, as it always does, leaves behind the parts of the organism that made it beautiful.

×
The Edge Singapore
Download The Edge Singapore App
Google playApple store play
Keep updated
Follow our social media
© 2026 The Edge Publishing Pte Ltd. All rights reserved.