Description: The absence of validation checks for addresses and amounts in the KittyCoin::mint
and KittyCoin::burn
functions could allow the KittyPool contract to mint tokens to or burn tokens from unintended or zero addresses, leading to potential token mismanagement or loss.
Impact: Token mismanagement, potential loss or locking of tokens in zero addresses.
Proof of Concept: An attacker could potentially call these functions with zero addresses, leading to loss of tokens:
Recommended Mitigation: Add validation checks to ensure that addresses are non-zero and amounts are greater than zero.
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.