Dria

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

External Buyers Can Also Be Used

Summary

In the current implementation of Swan::createBuyer, the underlying logic creates buyer using the assigned BuyerFactory. The problem is that during list and reslit, the protocol doesn't check whether this buyer is created by the given factory.

Impact

Without restricting buyers to those created by the factory, unauthorised or external buyers could exploit the system by bypassing checks or validations enforced by the protocol’s BuyerFactory. This opens up the potential for malicious actions that could affect system stability or security.

Tools Used

Manual Review

Recommendations

Introduce Validation Checks: Modify Swan::list and Swan::relist to verify that buyers were instantiated via the protocol’s BuyerFactory.

Updates

Lead Judging Commences

inallhonesty Lead Judge
12 months ago
inallhonesty Lead Judge 12 months ago
Submission Judgement Published
Invalidated
Reason: Known issue

Support

FAQs

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