Your bank is using your money. You’re getting the scraps.WATCH FREE

AI hackers and DeFi smart contracts set up showdown as losses climb

In this post:

  • AI agents have become so advanced that non-experts can now use them to autonomously identify and write working code for DeFi exploits.
  • Over $1.5 million was stolen in just four smart contract attacks on Ethereum in 48 hours.
  • The ZetaChain protocol lost $333,868 in a sophisticated, pre-planned attack after ignoring a bug report.

The series of attacks on the Ethereum mainnet that led to over $1.5 million in losses has been exacerbated by new research that shows that artificial intelligence (AI) agents can now autonomously discover and exploit vulnerabilities in decentralized finance protocols.

Security firm GoPlus Security reported that four separate contracts were exploited in just 48 hours ending April 29. The firm warned that hackers armed with AI are becoming more precise and faster than ever.

And DeFi smart contract developers have nowhere to turn to except AI to tackle the problems that AI itself started.

Can AI really hack DeFi by itself?

a16z crypto tested an off-the-shelf AI coding agent against 20 past price manipulation incidents on Ethereum and found that when given just a contract address and basic tools, the AI succeeded in exploiting the vulnerability only 10% of the time. 

However, when researchers gave the agent access to structured knowledge about common attack patterns like vault donation exploits and automated market maker (AMM) pool manipulation, the success rate jumped to 70%.

The researchers noted that while the AI is very good at finding bugs, it sometimes struggles with complex, multi-step attacks. One agent even tried to “escape” its test environment by extracting a secret key to look at future block data.

See also  Trump's newly confirmed FBI Director Kash Patel holds $115,000 in Bitcoin

Anthropic recently announced a new AI model called “Claude Mythos Preview.” The company stated that this model can autonomously find and write working exploits for zero-day vulnerabilities across major operating systems and web browsers. 

Before Mythos Preview, older models had a “near-0% success rate” at writing exploits. The company also confirmed that the same improvements that make the model good at patching vulnerabilities also make it good at exploiting them. 

When given access to Etherscan’s transaction API, the agent found actual past attack transactions and reverse-engineered them to write its own exploit code. 

How much was lost in the ZetaChain hack?

GoPlus Security flagged four separate smart contract exploits on Ethereum mainnet within a 48-hour window ending April 29. The combined losses exceeded $1.5 million. The firm has described the current pace of AI-assisted attacks as a “countdown-by-the-second era.” 

In one of the week’s larger incidents, approximately $333,868 was drained across nine transactions on four chains, including Ethereum, Arbitrum, Base, and BSC. ZetaChain’s official post-mortem report says that no user funds were lost; the three affected wallets belonged to the ZetaChain team. 

The attacker took advantage of a feature in the GatewayEVM contract using “arbitrary calls.” The gateway lacked a strict blocklist, allowing the hacker to instruct it to transfer token allowances that had been set by the team wallets.

See also  Binance Coin price analysis: BNB still holds below $390, drop incoming?

The hacker funded wallets through Tornado Cash three days before the attack while mimicking a victim’s wallet. 

ZetaChain admitted that the vulnerability had been reported earlier through its bug bounty program, but the initial reports were dismissed. The protocol has since paused cross-chain transactions and is rolling out a patch to disable the risky code. 

Other Ethereum exploits identified by GoPlus Security over the past 48 hours include an onchain aggregator contract that lost roughly $983,000 due to missing access controls; an unauthorized third-party vault tied to TradingProtocol that lost roughly $398,000 also due to missing permission checks; a BCB contract that lost roughly $39,800 from a reentrancy vulnerability; and a QNT asset contract that lost roughly $124,900 from an arbitrary call vulnerability. 

Cryptopolitan reports that DeFi losses in April alone have reached record levels, surpassing the combined stats for the first three months of the year.

With mounting losses in recent cases, it is setting up an epic showdown where hackers and developers are fighting AI with AI. With Anthropic’s Mythos and others now entering the conversation, it is looking like AI is arming hackers and developers won’t have any choice but to use AI to defend themselves 

If you want a calmer entry point into DeFi crypto without the usual hype, start with this free video.

FAQs

How are hackers using AI to exploit DeFi smart contracts?

According to a16z crypto research, off-the-shelf AI coding agents given only a contract address and standard developer tools can independently identify price manipulation vulnerabilities and write working exploit code, succeeding on 10% of test cases even without domain knowledge.

How much was lost in the ZetaChain exploit?

ZetaChain's post-mortem report confirmed approximately $333,868 was drained across nine transactions on four blockchains (Ethereum, Arbitrum, Base, and BSC), though no external user funds were lost since all three affected wallets belonged to ZetaChain.

What is Anthropic's Project Glasswing?

Project Glasswing is Anthropic's initiative to give critical infrastructure partners and open-source developers early access to its Mythos Preview model for defensive security purposes, aiming to let defenders secure key systems before models with similar exploit capabilities become broadly available.

Share link:

Disclaimer. The information provided is not trading advice. Cryptopolitan.com holds no liability for any investments made based on the information provided on this page. We strongly recommend independent research and/or consultation with a qualified professional before making any investment decisions.

Most read

Loading Most Read articles...

Stay on top of crypto news, get daily updates in your inbox

Editor's choice

Loading Editor's Choice articles...

- The Crypto newsletter that keeps you ahead -

Markets move fast.

We move faster.

Subscribe to Cryptopolitan Daily and get timely, sharp, and relevant crypto insights straight to your inbox.

Join now and
never miss a move.

Get in. Get the facts.
Get ahead.

Subscribe to CryptoPolitan