In-depth lesson · Price oracle manipulation
Year by year: 2024
What the disclosed Price oracle manipulation reports of each year show, newest first: what first appeared, what kept working and what turned up less.
2024
8 pointsNew this year2
Adding a large imbalanced amount of liquidity in one block and removing it in the next without updating the pool oracle, then checking whether the reported price stayed skewed for many blocks and blocked redemptions, appears in the disclosed reports.
Seen in 1 report
Swap hooks that price pending fees from the current pool price appear as a distinct target in the disclosed reports.
Seen in 1 report
Kept working6
Hunters examined oracle adapters and price guards that consume external feeds.
They checked whether any price, share or redemption calculation read Uniswap pair reserves at the current instant and whether a large swap in one transaction moved the value enough to profit.
Seen in 1 report
In a beforeSwap hook that priced pending fees, they pushed the pool price down, swapped the pending fees at the discount, then bought back and checked the profit.
Seen in 1 report
They submitted two different oracle price updates in one transaction and settled two orders at different prices, for example opening and closing a leveraged position.
Seen in 1 report
They checked how the protocol processed Pyth price feed updates and whether a wrong feed or stale update led to an incorrect collateral value.
Seen in 1 report
They checked whether a lending oracle adapter accepted spot prices from a single liquidity pool without sanity checks, then inflated a token price with a flash loan and borrowed against a tiny collateral deposit.
Seen in 1 report