Insufficient input validation in the setUpdateExtraArgs() function
The setUpdateExtraArgs() function in the provided smart contract is responsible for setting the extra arguments used for sending updates to a specific chain. This function takes two parameters: _chainSelector and _updateExtraArgs. However, the function does not perform sufficient validation on these inputs.
The function does include an if statement that checks if the chain corresponding to _chainSelector has been added to the whitelist.
However, this check only confirms that the chain is present in the whitelist. It does not validate the _updateExtraArgs itself. If _updateExtraArgs is not a valid set of arguments, the function would still proceed with the update operation, potentially leading to unexpected behavior or vulnerabilities.
Add additional checks to ensure that _updateExtraArgs is a valid set of arguments.
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.