Did you spot the vulnerability in the code below?
Scroll down if you're ready for the answer 👇
The function _swapNFTsForToken() of LSSVMRouter calls safe-
TransferFrom(), which then calls ERC721Received of assetRecipient.
A malicious assetRecipient could manipulate its NFT balance by buying additional NFTs via the Pair and sending or selling them back to the Pair, enabling
Questions about security? Connect with our team:
From Twitter
Disclaimer: The content above is only the author's opinion which does not represent any position of Followin, and is not intended as, and shall not be understood or construed as, investment advice from Followin.
Like
Add to Favorites
Comments
Share