Submitted by pkqs90
Note: This is based on the 2024-07 Loopfi audit M-35 issue. This protocol team applied a fix, but the fix is incomplete.
Only the bug in the _onDeposit() was fixed, but not the one in _onWithdraw(). PositionAction4626.sol#_onWithdraw does not withdraw from the correct position, it should withdraw from position instead of address(this).
amarcu (LoopFi) confirmed
