There are certain smart contracts that do not support ERC721, using transfer_from() may result in the NFT being sent to such contracts.
inside bridge
contract in function withdraw_auto_from_l1
the contract use transfer_from
which it unsafe
OpenZeppelin’s documentation discourages the use of
transfer_from
WARNING: This method may lead to the loss of tokens if
to
is not aware of the ERC721
While unlikely because the recipient is the function caller, there is the potential loss of NFTs should the recipient is unable to handle the sent ERC721s.
Manual Review
Use safe_transfer_from
when sending out the NFT
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.