Reentrancy earned its reputation by coming back. Everyone knew the pattern, every auditor checked for it, and it still kept shipping, because each new codebase found a slightly different way to call out before updating state.
I think the oracle adapter is that class now.
By "adapter" I mean the layer between a price source and the code that trusts it: the function that reads a vault's share price, multiplies two feeds together, inverts a rate, or checks (or doesn't check) that an answer is sane. The source is usually fine. The glue is where the money goes.
Here are five public incidents, each with its own postmortem, and the adapter mistake underneath each one.
Cream's oracle valued Yearn's yUSD vault shares using the vault's pricePerShare. The attacker shrank the vault's supply and then sent tokens directly to the vault without minting shares. Yearn's own disclosure records pricePerShare jumping from 1.000996 to 2.001993 in that transaction. Cream now saw the attacker's collateral as worth twice as much, and the loop drained its Ethereum v1 markets. Cream reported about $130M removed. Yearn estimated $119.9M.
The vault worked as designed. The adapter assumed a number anyone could move with a direct transfer was a market price.
Sources: Cream postmortem, Yearn disclosure
Chainlink's LUNA/USD aggregator had a minAnswer floor of $0.10. When LUNA fell below it, node reports stopped being accepted and the feed kept returning its last answer, about $0.107, while the market price was around $0.01. Venus kept accepting LUNA as collateral at the stale price. Its own update put the shortfall at about $14.2M after the initial tally. Blizz Finance lost about $8.3M the same way.
The feed behaved exactly as configured. What was missing was a check on the consuming side: an answer sitting at the feed's floor, or one that has stopped moving, should not be priced as collateral.
Sources: Venus incident update, Chainlink circuit breaker deep dive
Resupply priced ERC-4626 collateral with convertToAssets(1e18). A new pair went live with a $10M debt limit on top of a vault holding zero deposits. About an hour and a half later, the attacker donated 2,000 crvUSD and minted one wei of shares, so the oracle returned 2e36. The pair then computed 1e36 / price, which floors to 0 in integer math. An exchange rate of zero made every borrower's LTV zero, so the solvency check always passed. The postmortem records $10M of bad debt. It also notes that this code was in scope for multiple audits and nobody reported it.
Two adapter failures stacked: a manipulable share price in an empty vault, and no require(rate > 0) after an inversion.
Sources: Resupply postmortem, BlockSec analysis
Moonwell derived wrsETH's USD price by multiplying an ETH/USD feed by a wrsETH/ETH feed. The second feed briefly reported 1 wrsETH as 1,649,934.6 ETH, about $5.8B per token. The attack ran within 30 seconds of the first bad reading and left $3.7M of bad debt. Moonwell's fix was to move those markets to exchange-rate oracles.
A liquid staking token can't be worth over a million ETH. One upper bound in the adapter would have refused that answer.
Source: Moonwell forum incident report
KiloEx's price feed had a setPrices function reachable only through a chain of keeper contracts. The last link trusted any call from its forwarder, and the forwarder's inherited execute was left public. The attacker set a low price, opened a long, set a high price and closed it in one transaction. Losses were reported at about $7.5M, and the funds were later returned under a 10% bounty.
Not every adapter reads a price. Some write one, and the write path is part of the oracle.
Sources: KiloEx root cause analysis, Halborn explainer
Can anyone move this number with a transfer or a donation? Share prices, pool balances and
convertToAssetson a thin vault are not market prices.What happens when the feed hits its bounds or stops updating? Read
minAnswer,maxAnswerand the heartbeat, then check the code compares against them.Is there a division whose result can be zero, and is zero rejected? Inversions like
1e36 / priceare the usual suspect.When two feeds are combined, is the product bounded? A derivative that's normally near 1:1 with its base should never be allowed far outside that band.
Who can write a price, and through what path? Follow every forwarder, keeper and meta-transaction route to the setter.
Is the market new, empty or capped? Resupply's pair was exploited within two hours of deployment. Moonwell's own forum credited borrow caps with limiting earlier damage.
Because the pattern is known, the incidents are public, and it keeps happening anyway. It hides in code that looks too small to matter: one division, one multiplication, one missing bound. And it moves to every new collateral type that shows up, from vault shares to LSTs to whatever comes next.
It shows up in my own work too. My public rejection log has 7 rows in the oracle_bounds_or_staleness class. Finding the shape is easy. Proving that the bad price is reachable, and that it pays on that program, is the real job.
If you audit lending code, read the adapter before the protocol. That's usually where the protocol stops checking.
Written by Yuriy Khomenkov at khomdev.org. All incident figures are from the linked postmortems and analyses.

