Tokens transferred out of the contract during unstaking will be lost if the receiver does not support ERC721
The recipient could have logic in the onERC721Received() function, which is only triggered in the safeTransferFrom() function and not in transferFrom().
Ref: https://eips.ethereum.org/EIPS/eip-721
there is the potential loss of NFTs If the recipient is unable to handle the sent ERC721s.
Manual analysis
Use safeTransferFrom instead of transferFrom to check received address support for ERC721 implementation.
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.