There is a PDA check, but the code is missing a canonical bump seed check. Users should be able to specify the bump as an argument to ensure that its the correct one:
src/processor/liquidate.rs#L54-L64
Another similar issue can be found also in the borrow_collateral (src/processor/swapback.rs#L113-L124) function.
