In the 'KittyBridge.sol::_ccipReceive' function, the incoming any2EvmMessage.sender will not be received correctly.
As per the Chainlink CCIP documentation, the sender address is in bytes format and will need to be decoded from bytes to an Ethereum address. Therefore, it will need to be abi.decoded from the incoming any2EvmMessage.
Below is the missing line as per the CCIP documentation
The 'KittyBridge.sol::_ccipReceive' function does not correctly receive the any2EvmMessage.sender. This could cause a failure of reading the address and confirming that it is an allowed address, thus reverting the call.
--Foundry
It is recommended to change the below line to properly receive the senders address.
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.