The _create
function does not validate that the recipient address is non-zero, which could potentially result in tokens being sent to the zero address if called incorrectly. While this would not lead to a direct loss of funds due to NFT minting restrictions, it represents a deviation from best practices and could cause issues with stream management.
The function validates that sender != address(0)
but has no equivalent check for the recipient
parameter.
Manual Review
Add a zero address check for the recipient parameter similar to the sender check:
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.