token may be lost on starknet
the mint_from_bridge
function use unsafe method _mint
to mint token to an address , however in OpenZeppelin document there is a warning
WARNING: This method may lead to the loss of tokens if
to
is not aware of the ERC721 protocol.
https://github.com/OpenZeppelin/cairo-contracts/blob/3d5bdc523935e8cb378672810ab468f652263642/packages/token/src/erc721/erc721.cairo#L533C13-L534C22
This method may lead to the loss of tokens if to
is not aware of the ERC721
Manual Review
use safe_mint method
Please, do not suppose impacts, think about the real impact of the bug and check the CodeHawks documentation to confirm: https://docs.codehawks.com/hawks-auditors/how-to-determine-a-finding-validity A PoC always helps to understand the real impact possible.
Please, do not suppose impacts, think about the real impact of the bug and check the CodeHawks documentation to confirm: https://docs.codehawks.com/hawks-auditors/how-to-determine-a-finding-validity A PoC always helps to understand the real impact possible.
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.