L2MessageReceiver::_nonblockingLzReceive doesnt have checks to prevent minting to zero address assuming this check will be performed by rewardToken, however some tokens dont perform this check leading to token burning
L2MessageReceiver::_nonblockingLzReceive doesnt check for user != zero address, so, if some token like DAI is used as rewardToken then will lead to token burning
Dai minting code:
Leading to token burning
Token burning
Bad balance accounting
Manual review
Implement a zero address check on user parameter
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.