The meowintKittyCoin
function uses the mint function to mint new KittyCoin tokens. This approach can lead to potential vulnerabilities, as the mint function does not perform safety checks that are included in the safeMint function.
The meowintKittyCoin
function uses mint
instead of safeMint. The mint function does not perform safety checks to ensure that the recipient address can handle ERC20 tokens, which can lead to issues if tokens are minted to smart contracts that do not support ERC20 tokens.
If tokens are minted to a smart contract that does not support ERC20 tokens, the tokens could be permanently lost or locked in the contract, making them inaccessible to the intended recipient.
Manual Review
Use safeMint
nstead of mint
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.