BlocktoBlockto

Trending

Moonwell Exploit Sparks AI Smart Contract Security Debate in DeFi
NEWS

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.

Tristan R.
By Tristan R.

Senior Author · February 18, 2026

2 min
Key takeaways
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.

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.

How markets are positioning

Live market reaction

🛢️WTI Crude
+3.4%
Gold
+1.8%
Bitcoin
-1.8%
$DXY
+0.6%

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.

Exclusive partner offer

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

Share article

About the author

Tristan R.
Tristan R.

8+ years covering crypto markets, macro, and geopolitics. Previously at Decrypt and CoinDesk. Focused on the intersection of digital assets and traditional finance.