
Photo: Illustrative
Moonwell Exploit Sparks AI Smart Contract Security Debate in DeFi
Decentralized lending protocol Moonwell suffered a $1.78 million exploit after a pricing oracle incorrectly valued Coinbase Wrapped Staked ETH (cbETH) at approximately $1.12 instead of around $2,200. The mispricing created a temporary arbitrage opportunity that attackers used to extract funds.

Decentralized lending protocol Moonwell suffered a $1.78 million exploit after a pricing oracle incorrectly valued Coinbase Wrapped Staked ETH (cbETH) at approximately $1.12 instead of around $2,200. The mispricing created a temporary arbitrage opportunity that attackers used to extract funds.
The protocol operates on Base and Optimism and relies on external price feeds to determine collateral values. When the oracle returned the faulty figure, it enabled undercollateralized borrowing against cbETH, resulting in losses before the issue was identified and addressed.
AI Co-Authored Code Draws Scrutiny
Security researcher Pashov pointed to pull request records showing multiple commits co authored by Claude Opus 4.6, developed by Anthropic. The disclosure intensified debate around the growing use of AI-assisted coding in decentralized finance infrastructure.
While critics labeled the incident an example of “vibe coding” gone wrong, Pashov cautioned against attributing the flaw solely to artificial intelligence. He noted that oracle configuration mistakes can occur even in experienced teams and emphasized that stronger integration testing and end-to-end validation could have detected the error.
Governance and Testing in AI-Assisted Development
Industry leaders argue the exploit highlights governance gaps rather than inherent AI risk. Fraser Edwards of cheqd stressed that AI generated code should be treated as untrusted input, requiring rigorous peer review and strict testing protocols especially for sensitive components such as oracle feeds and pricing logic.
Although modest compared to major DeFi hacks the Moonwell exploit raises broader questions about development standards as AI tools become increasingly embedded in smart contract engineering.
Disclaimer
This content is for informational purposes only and does not constitute financial, investment, or legal advice. Cryptocurrency trading involves risk and may result in financial loss.
Live market reaction
Disclaimer
This content is for informational purposes only and does not constitute financial, investment, or legal advice. Cryptocurrency trading involves risk and may result in financial loss.
Start trading
with BloFin today
Up to $500 sign-up bonus and zero-fee trading on your first 30 days.
Buy crypto nowⓘ You will be redirected to BloFin
About the author

8+ years covering crypto markets, macro, and geopolitics. Previously at Decrypt and CoinDesk. Focused on the intersection of digital assets and traditional finance.
BitMine Expands Ethereum Holdings With $238M Purchase, Nears 5% Supply Target
Bitcoin Price Outlook: Why BTC Could Move Toward $95K After $80K Recovery
Trump-Linked World Liberty Files Defamation Case Against Justin Sun Over WLFI Token Dispute


