The function LiquidationPoolManager::runLiquidation() doesn't have access controls which means anyone can call runLiquidation()
anytime.
It has to have an owner or admin or manager control to run the said function as intended and not ruin the workings of the whole protocol.
Looking at said function runLiquidation()
anybody can pass a valid _tokenId
and liquidate it anytime.
It will ruin the mechanism of the liquidation system which is one of the core systems of the protocol.
Manual Review
Add onlyOwner
modifier to the function.
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.