The fees in SDLPoolCCIPController can be set arbitrarily high or no fee at all as there exists no restriction in setMaxLINKFee .
setMaxLINKFee does not have any check to prevent setting zero value or a very high fee for the protocol which can lead to loss for protocol and user in either case.
The owner can set a huge fee for sending CCIP message so that a user will be charged very high for sending a CCIP message in return or set the zero value in which protocol get nothing and cause loss to protocol and user in above considered scenario.
Manual review
The recommendation is made to have check in function to prevent setting value to zero as well as have a max fee limit i.e.; 5 or 10 link when fees are set for sending CCIP message.
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.