The current liquidation implementation  allows for a full liquidation of a position, even if repaying a little debt puts the position back afloat.
https://github.com/code-423n4/2024-07-loopfi/blob/57871f64bdea450c1f04c9a53dc1a78223719164/src/CDPVault.sol#L528-L533
The liquidator provides a repayAmount that covers any amount of debt, which then means that a position that just gets liquidatable even by 1% can be fully liquidated if the liquidator can provide to cover the full amount of collateral via the repayAmount var.
Borderline low/medium. Borrowers of the protocol may be unfairly liquidated due to minor movements in the market when taking out the max loan. Considering the crypto market is very volatile, in the worst case scenario, a user could be subject to a forced liquidation by the attacker by trying to exploit the spot prices returned from either uniswap/pendle.
Consider giving some sort of buffer like other protocols can be use here to mitigate this issue; e.g, AAVE. They implement a 50% liquidation if health factor is between 0.9 to 1 and then after 0.9 full liquidation so user will have some buffer time to respond.
