https://github.com/Cyfrin/2024-07-zaros/blob/main/src/external/chainlink/keepers/liquidation/LiquidationKeeper.sol#L44-L88
The checkUpkeep
function decodes checkData
and validates bounds, but it does not limit the size of the data being processed. Large checkData
inputs could lead to excessive gas consumption.
Unchecked Input Size: There is no limit on the size of checkData
, potentially leading to high gas usage.
Denial of Service: Large inputs could cause the transaction to revert due to out-of-gas errors, leading to service disruption.
Manual
Input Size Limits: Implement checks to limit the size of checkData
to ensure it stays within reasonable bounds.
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.