https://github.com/Cyfrin/2024-07-zaros/blob/main/src/external/chainlink/keepers/liquidation/LiquidationKeeper.sol#L100-L106
The performUpkeep
function is protected by the onlyForwarder
modifier, but if the forwarder address is compromised or improperly set, unauthorized users could trigger liquidations.
Lack of Strict Access Control: The function relies on an external entity (forwarder) to control access, which might not be sufficient if the forwarder is not well-secured or if there is an issue in the onlyForwarder
modifier implementation.
Unauthorized Liquidations: Malicious actors could liquidate accounts without proper authorization.
Manual
Strict Access Control: Ensure the onlyForwarder
modifier is implemented correctly and consider adding additional layers of access control.
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.