Moonwell
Why it happened
Attack class: Oracle manipulationDirect MAMO transfers inflated the exchange rate while thin-market buying pushed the price feed up, so illiquid collateral backed liquid loans.
What would have stopped it
- Cap collateral exposure for thin tokens to what the market can absorb
- Smooth the collateral price with a time-weighted average and a deviation limit
What the score saw
Our pre-hack assessment of Moonwell rated its price-feed design and economics as middling but did not call out thinly traded collateral or the direct-transfer route into a market's accounting. That is the gap this attack used.
Score dimensions
- Oracle integritymissed
- Economic soundnessmissed
- Adversarial resiliencemissed
On August 27, 2026 an attacker used the thinly traded MAMO token to borrow about $11 million of cbBTC, ETH, USDC and wstETH from Moonwell on Base, leaving about $8.7 million of lasting damage per DeFiLlama and press reports. They sent tens of millions of MAMO straight into the market to inflate their collateral and bought MAMO on a shallow market to push its price up about forty times. Liquidators recovered part of the debt, and Moonwell's post-mortem puts the remaining borrower obligations near $9.1 million at its evidence cutoff, an estimate rather than a confirmed loss. The proceeds were moved to Ethereum as DAI, and Moonwell froze new borrowing the same morning.
An attacker-linked account funding wallet moved capital to Base and passed MAMO and USDC to a principal account. The principal account used the MAMO collateral market, sent MAMO to it directly in one transfer and another, and borrowed liquid assets against the inflated collateral. The proceeds left Base in two CCTP burns, the first and the second, and were swapped to DAI in this transaction.
Attack flow
All 6 on-chain stepsThe attack in 3 steps. Step 1, Inflated collateral: mMAMO collateral market (source). Step 2, Drain: Principal account (hub), about $11.03M reached this step. Step 3, Exit: Ethereum DAI (exit), about $8.73M reached this step.
Step 1: Inflated collateral
- SourcemMAMO collateral market53.39M MAMO sent directlyexchange rate up about 3.7x
Step 2: Drain
- HubPrincipal accountborrows cbBTC, WETH, USDC, wstETH~ $11.03M gross0x719eae70...be919d
Step 3: Exit
- ExitEthereum DAIabout 8.73M DAIafter CCTP and swap0xd71dd9b6...38c384
Why each step worked
- Thin MAMO marketprice pushed from $0.0106 to $0.431
- Direct transfers inflated the ratebypassed the supply cap
- No collateral cap tied to depthmissing controlilliquid token backed liquid loans
- No averaged pricemissing controlspot-driven feed accepted
- Caps lowered after 80 minutesmissing controlno automatic borrow limit
Full forensic detail
Step-by-step reconstruction, root cause, counterfactuals, remediation, and disclosure timeline.
Exploit anatomy
Root cause
Moonwell let a thinly traded token, MAMO, back large loans of liquid assets, and the lending market trusted two numbers the attacker could move. Per the Moonwell post-mortem on its governance forum, the incident combined collateral-accounting inflation with price manipulation. Sending MAMO straight to the mMAMO market contract, with no minting, raised the exchange rate that converts the attacker's mMAMO into MAMO, and that route did not consume the market's supply cap. At the same time, buying MAMO on a shallow on-chain market pushed the price feed the lending market reads from about one cent to about 43 cents. Together they inflated the collateral value, and the attacker borrowed cbBTC, WETH, USDC and wstETH against it. No key was stolen and no contract was broken in the usual sense: the market valued collateral using inputs that were cheap to move relative to the loans they released. The attacker spent roughly $2 million of initial capital and about $7.5 million of gross MAMO purchases, much of it recycled borrowed funds, to take $11 million of gross borrows, per the post-mortem.
Prevention analysis
A supply cap tied to real market depth, enforced on every path into the market including direct transfers, would have limited the value that MAMO could back.
A price that cannot move from one cent to forty-three cents inside a few minutes would have kept borrowing power flat while the pump happened.
About two and a half hours of steady borrowing passed before caps were lowered. An automatic per-market borrow limit would have halted it much sooner.
Similar incidents
A thinly traded governance token was pumped and used as collateral to borrow far more liquid assets from the lending markets.
An illiquid token's price in a shallow pool was fed into the lending market and borrowed against.
A low-liquidity asset's price was pushed up and used as collateral to drain the lending pool.
Remediation
Timeline
Get your protocol scored across 12 dimensions, or request ongoing coverage.