It is recommended to use safeTransferFrom() instead of transferFrom() when transferring ERC721s out of the vault. There is the potential loss of NFTs should the recipient is unable to handle the sent ERC721s.
Proof of Concept
It helps ensure that the recipient is indeed capable of handling ERC721s.
Lines of code
https://github.com/code-423n4/2023-09-delegate/blob/main/src/DelegateToken.sol#L369
Vulnerability details
Impact
It is recommended to use safeTransferFrom() instead of transferFrom() when transferring ERC721s out of the vault. There is the potential loss of NFTs should the recipient is unable to handle the sent ERC721s.
Proof of Concept
It helps ensure that the recipient is indeed capable of handling ERC721s.
Tools Used
None
Recommended Mitigation Steps
use safeTransferFrom() whenever possible.
Assessed type
Token-Transfer