In LiquidationPool::decreasePosition there is a change of state after external call and the function has no nonReentrant modifier.
User might manipulate LiquidationPool::decreasePosition function inside the transfer hook. With the current TST token, there is no impact as it doesn't have any hook but it's recommended to add a nonReentrant modifier to decreasePosition function and to make the change of the state before the safeTransfer call.
Manual Review
Add a nonReentrant modifier to decreasePosition function and perform the change of the state before the safeTransfer call.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.