Dria

Swan
NFTHardhat
21,000 USDC
View results
Submission Details
Severity: low
Invalid

while listing Assets for a BuyerAgent, Its possible that BuyerAgent not active in this system

Summary

Vulnerability Details

Its always possible that a BuyerAgent could exist the system or became Idle

In that case there is no checks that ensure BuyerAgent active or deactive in the system

In that case Sellers listing their assets for them only ending by paying fees to a idle agent and platform

https://github.com/Cyfrin/2024-10-swan-dria/blob/main/contracts/swan/Swan.sol#L157

Impact

Tools Used

Recommendations

One proper check here buying tracking `BuyersAgent.amountPerRound` if its 0 then BuyerAgent is inactive in this system or completly withdrawn his funds

Updates

Lead Judging Commences

inallhonesty Lead Judge 8 months ago
Submission Judgement Published
Invalidated
Reason: Too generic

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.