Connect with us
DAPA Banner

Crypto World

Moonwell’s AI-coded oracle glitch misprices cbETH at $1, drains $1.78M

Published

on

Crypto VC Funding Reaches $244M as Mesh Leads

Moonwell’s lending pools racked up about $1.78M in bad debt after a cbETH oracle mispriced the token at nearly $1 instead of around $2.2k, enabling bots and liquidators to drain collateral within hours of a misconfigured Chainlink-based update reportedly using AI-generated logic.

Summary

  • Misconfigured cbETH oracle set price near $1 vs roughly $2.2k, triggering a ~99% valuation gap that broke Moonwell’s collateral math.
  • Liquidators repaid around $1 per position to seize over 1,096 cbETH, leaving Moonwell with roughly $1.78M in protocol-level bad debt.
  • Faulty formula and scaling logic were reportedly co-authored by AI model Claude Opus 4.6, spotlighting new DeFi risk around AI-written oracle and pricing code.

Decentralized finance lending protocol Moonwell suffered a $1.78 million exploit due to a pricing oracle bug that misvalued Coinbase-wrapped ETH (cbETH), according to reports from the platform.

Advertisement

The vulnerability originated in oracle calculation logic reportedly generated by the AI model Claude Opus 4.6, which introduced an incorrect scaling factor in the asset price feed, according to the protocol’s disclosure. Attackers borrowed against severely underpriced collateral, extracting funds before the error was detected and corrected.

The cbETH mispricing effectively collapsed the collateral requirement for borrowing within affected pools. Because lending systems rely on accurate collateral ratios, the incorrect price allowed attackers to extract assets with minimal backing value, according to the protocol’s technical analysis.

Price oracles represent critical security components in DeFi lending systems. Incorrect asset valuation can enable under-collateralized borrowing or liquidation failures. Many major DeFi exploits have historically involved oracle manipulation or pricing errors rather than core protocol flaws, according to industry security reports.

The Moonwell incident differs from traditional oracle exploits in that the faulty logic appears linked to automated AI code generation rather than malicious oracle data feeds, according to the protocol’s preliminary investigation.

The exploit highlights risks associated with AI-assisted smart-contract development in financial applications. Language models can accelerate coding workflows, but financial protocols require precise numerical correctness, unit handling and edge-case validation, according to blockchain security experts.

Advertisement

In DeFi systems, small arithmetic or scaling mistakes can translate into systemic vulnerabilities affecting collateral valuation and solvency. The incident raises questions about whether AI-generated contract components may require stricter auditing standards than manually written code, according to security researchers.

AI-assisted development is increasingly used across Web3 engineering workflows, from contract templates to integration logic. Security models and audit frameworks have not yet fully adapted to AI-generated contract code, according to industry observers.

The broader implications center on how automated code generation errors in financial logic represent a new category of DeFi risk. Oracle math, scaling factors and unit conversions remain high-precision domains where automation failures can propagate into protocol-level vulnerabilities, according to technical analysis of the incident.

As AI-assisted smart-contract development expands, audit methodologies will likely need to evolve toward verifying not only code correctness but generation provenance and numerical invariants, according to blockchain security firms.

Advertisement

Source link

Advertisement
Continue Reading
Click to comment

You must be logged in to post a comment Login

Leave a Reply

Crypto World

Bitcoin Rally To $75K Still Possible Despite Huge Macro Challenges

Published

on

Bitcoin Rally To $75K Still Possible Despite Huge Macro Challenges

Key takeaways:

  • Private credit risks and weak US jobs market data drive Bitcoin lower, but is there a silver lining?

  • Institutional Bitcoin ETF outflows and miner sales test BTC’s strength, but the Federal Reserve’s options for addressing the federal deficit may also favor scarce assets.

Bitcoin (BTC) faced rejection at $69,000 on Wednesday after President Donald Trump’s speech failed to guarantee an end to the war in Iran. Oil prices soared following the speech and beyond traders’ war-related worries, tumult in the private credit markets is also taking a toll on investor confidence across multiple markets.

While Bitcoin has successfully defended the $66,000 level throughout the week, traders remain concerned about downside risk over the upcoming weekend, as US and European markets will be closed on Friday for Easter.

Crude WTI oil (left) vs. Bitcoin/USD (right). Source: TradingView

The threat of additional US-led military action in Iran caused WTI crude oil prices to rally above $110, triggering a move away from risky assets. Traders chose to cut their exposure to Bitcoin and stocks as the US Treasury Department expressed concerns regarding the $2 trillion private credit markets on Wednesday. Domestic and international insurance regulators will be surveyed through early May.

Private credit markets sound the alarm: Will BTC respond?

Blue Owl, a $307 billion alternative asset manager, announced “extraordinary redemption requests” for two of its private credit funds in shareholder letters issued Thursday. Over 70% of the companies Blue Owl lends to are in the software industry, as reported during a quarterly earnings call. The fund manager capped withdrawal requests at 5%, adding fresh concerns to the credit market.

Advertisement

Adding to the short-term bearish sentiment among traders was a surge in US continuing jobless claims, which rose to 1.84 million for the week ending March 21, up from 1.82 million the week prior. This data is not inherently negative for equities; however, as the global outplacement firm Challenger, Gray & Christmas noted, most layoffs originated from companies “shifting budgets toward AI investments at the expense of jobs.”

US federal gross debt, USD trillions (left) vs. percentage of GDP (right). Source: crfb.org

The odds of economic stimulus initiatives amid weakening economic activity could ultimately support Bitcoin’s price in the medium term. The US federal deficit is expected to reach a massive $1.9 trillion in 2026, leaving little room to maneuver other than injecting liquidity, which tends to benefit scarce assets.

An improvement in the risk perception of Bitcoin will be decisive for a potential rally above $75,000. There has been a considerable negative impact from net outflows from US-listed spot exchange-traded funds (ETFs), the liquidation of positions held by companies that previously focused on building corporate reserves, and the unwinding by publicly listed miners.

US-listed spot Bitcoin ETFs daily net flows, USD. Source: Farside Investors

US-listed Bitcoin ETFs have seen $450 million in net outflows since March 24, which serves as a proxy for weak institutional demand. Traders fear further selling pressure because the industry holds $88 billion in Bitcoin under management, with BlackRock’s iShares Bitcoin Trust (IBIT US) leading at $53.9 billion. However, these outflows should slow if Bitcoin continues to show strength near $66,000.

Related: Bitcoin hits weekly low on oil fears as analyst teases $10K BTC price target

MARA Holdings (MARA US) announced the sale of 15,133 BTC in March at a price far below the company’s estimated cost basis. Meanwhile, Riot Platforms (RIOT US) reportedly transferred 500 BTC for sale on Wednesday. Additionally, Nakamoto Holdings (NAKA US) disclosed a sale of 284 BTC, despite having previously announced its intention to continue accumulating the asset.

Advertisement

As long as companies such as Strategy (MSTR US) and Metaplanet (MTPLF US) continue to absorb some of this selling pressure, investors will likely recognize that Bitcoin serves as a safeguard against increasing money supply. Governments will do everything possible to avoid a recession, raising the odds that Bitcoin’s path to $75,000 stays firmly in play despite worsening macroeconomic conditions.