Open code423n4 opened 1 year ago
Picodes marked the issue as grade-b
If someone accidentally sends ERC20 / ETH to the LooksRareAggregator contract, the next user using the aggregator will be given these token - invalid, it's free for all LooksRareAggregator may be used to sell NFTs / mass accept offers instead of buying them in the future. Expose a risk for a hacker to steal approved NFTs in case the governance key got compromised - invalid, there is no code to sell NFT in this contract
0xhiroshi marked the issue as sponsor disputed
The second one is valid to me has any allowance to LooksRareAggregator
or ERC20EnabledLooksRareAggregator
could be exploited by a malicious owner: you just need to addFunction
.
@Picodes ERC20EnabledLooksRareAggregator has no owner, and if we want to add a function to sell NFTs, we will follow a similar architecture as ERC20EnabledLooksRareAggregator, which does not grant NFT approvals to LooksRareAggregator so even if LooksRareAggregator is compromised the attacker cannot transfer NFTs out of users' wallets.
You are right, my bad
See the markdown file with the details of this report here.