Moonwell Exploit: AI-Coded $1.78M Oracle Flaw

AI-authored oracle bug causes $1.78M DeFi loss at Moonwell

  • Moonwell, a DeFi protocol, lost roughly $1.78 million due to a misconfigured price oracle for cbETH.
  • A governance proposal set the wrong exchange rate, causing the oracle to report cbETH at about $1.12 instead of its actual value near $2,200.
  • Multiple commits in the vulnerable code were co-authored by Anthropic’s Claude Opus 4.6, spotlighting risks in AI-assisted development.
  • The incident highlights the critical need for rigorous validation, even for code that has undergone audits and testing.

A governance failure at the Moonwell DeFi lending protocol enabled exploiters to extract approximately $1.78 million in bad debt this week. Attackers exploited a severe mispricing of Coinbase Wrapped Staked ETH (cbETH) after a faulty oracle reported its value at $1.12 instead of $2,200.

- Advertisement -

The team said the error stemmed from a Sunday governance action that misconfigured the cbETH price feed. Consequently, liquidation bots and opportunistic borrowers quickly capitalized on the pricing discrepancy for profit.

Security auditor Pashov publicly flagged that the pull requests for the affected contracts showed multiple commits co-authored by AI. He later cautioned, however, against treating the flaw as uniquely AI-driven, stating it was a mistake even a senior developer could make.

The real issue, according to Pashov, was insufficient rigorous checks and end-to-end validation. He argued the mispricing could have been caught with a proper integration test that interacted with the blockchain. Meanwhile, the protocol noted it had commissioned an audit from Halborn and conducted unit tests, which failed to prevent the incident.

Fraser Edwards, CEO of cheqd, told Cointelegraph that AI-assisted development requires strict governance. He argued all AI-generated smart contract code should be treated as untrusted input within a disciplined engineering process.

- Advertisement -

✅ Follow BITNEWSBOT on Telegram, Facebook, LinkedIn, X.com, and Google News for instant updates.

Previous Articles:

- Advertisement -

Latest News

Oil Outpaces Bitcoin 36% vs 2.8% as Iran War Began

Since the start of the Iran conflict in mid-February, crude oil prices have surged...

Wells Fargo Files Trademark for Crypto Services

Wells Fargo has filed a "WFUSD" trademark application covering cryptocurrency trading, payments, and blockchain...

Microsoft Patches 84 Flaws, Two Zero-Days

Microsoft patched 84 security flaws in its March 2026 Patch Tuesday update, including eight...

Shiba Inu Down 93.5%: Can It Reclaim $0.00008 by 2026?

Shiba Inu (SHIB) has declined by 93.5% from its all-time high of $0.00008616, reached...

Nio Links CEO’s $1.17B Award to Ambitious Milestones

Nio awarded CEO William Li up to 248 million restricted share units, potentially worth...

Must Read

Top 10 BEST Crypto Trading Books for New Traders

If you're thinking of diving into the crypto trading space, acquiring solid knowledge isn't just recommended - it's essential to protect your investment.Learning...