ChainlinkOracle hardcodes the Data Streams verification fee to zero and never implements an ERC20 fee payment path, so any pusher submitting an otherwise valid paid report will have VerifierProxy.verify() revert before _store() refreshes the feed. This causes Chainlink-backed oracle updates to fail on paid Data Streams deployments, breaking swaps that depend on the feed once the previous report becomes stale.
The PriceVelocityGuardExtension overwrites its stored reference price and block on every swap before checking the velocity limit, so multiple same-block swaps each get a fresh full maxChange budget. A swapper can therefore move the pool price by roughly N times maxChange within one block, amplifying oracle-shock losses for liquidity providers.
In synthetic mode the price provider divides two 8-decimal USD oracle prices and floors the result to an integer, so for pairs where the base token is much cheaper than the quote token the cross price is truncated by up to about half. The pool then builds its whole liquidity band on that wrong mid, letting any arbitrageur buy the base token far below fair value in one swap and drain roughly half of the base-side reserves from liquidity providers.
The oracle normaliser floored low-priced feed values to eight decimals and computed the uncertainty band from the unrounded price, so the stored midpoint could sit further below the true signed price than the whole spread. A permissionless swapper could then buy the affected asset from the pool below its correct value, leaving liquidity providers with a small principal loss.
The exact-input swap functions in the pool's swap maths library can return a moved bin cursor while computing zero output, zero input and zero fee, because a small position step floors the output to zero but the selected target position is still kept. A permissionless attacker can repeat these free steps to shift the active cursor away from the bin reserves, let a liquidity provider deposit at the unchanged reserves, then trade back through the artificial price interval to take part of that provider's principal.
The cursor bounds added to addLiquidityWeighted() only check the bin and position, not the bin's actual token composition, so a depositor can still be sandwiched when the bin is imbalanced. An attacker can manipulate the bin's token ratio through rounding or an oracle shock, then arbitrage the victim's deposit even though the cursor check passes.
The addLiquidityExactShares function lacks cursor bounds, so an attacker can empty a bin, reset its share price, move the cursor, and let a victim deposit at a different composition than expected, then arbitrage the victim's deposit. The victim loses funds because their maximum token amounts were calculated using the old bin state.
The stop-loss extension floors token-denominated values to six decimals, so a 5% stop-loss check can pass even when the true protected value has fallen by more than 10%. An attacker can exploit this rounding to complete a swap cycle that reduces the LP's principal.
The price provider truncates the confidence-derived half-spread to a whole E8 unit before converting to Q64.64, so on low-priced assets a nonzero confidence component becomes zero. This makes the executable bid too high and ask too low, causing swaps to pay less than the configured fee.
ME
Metric
Medium
Instant results are busy. Press Enter to search every report.
No direct matches. Search every report above, or try a bug class like IDOR or SSRF.