PHyperLPoolSwapInside::_swapWithCustomData() checks price manipulation for pool, but the router used may route through another pool
Description
PHyperLPoolSwapInside::_swapWithCustomData() checks price manipulation for pool; however, the router chosen may route through a different pool, rendering the price manipulation useless and leading to MEV.
Recommendation
Either enforce that the router used routes through the pool or do the price manipulation check for the pool that the router routed through.
Status
Acknowledged