DeFiFoundry
20,000 USDC
View results
Submission Details
Severity: medium
Valid

Unintended Token Lockup: User can't withdraw auctionToken from FjordAuctionFactory

Summary

Owner can create a new auction contract by using createAuction function in the FjordAuctionFactory.
In this case, the owner of the FjordAuction is the address of the FjordAuctionFactory.
When the auction ends and totalBids is 0, the auctionToken will be transferred to the FjordAuctionFactory.
However, the FjordAuctionFactory contract does not have a function to withdraw the auctionToken from the contract.

Vulnerability Details

auctionEnd

Impact

The owner of the FjordAuctionFactory contract cannot withdraw the auctionToken from the contract.

Tools Used

Manual review

Recommendations

It's recommended that a function be added to withdraw the auction token from the FjordAuctionFactory contract.

Updates

Lead Judging Commences

inallhonesty Lead Judge 10 months ago
Submission Judgement Published
Validated
Assigned finding tags:

If no bids are placed during the auction, the `auctionToken` will be permanently locked within the `AuctionFactory`

An auction with 0 bids will get the `totalTokens` stuck inside the contract. Impact: High - Tokens are forever lost Likelihood - Low - Super small chances of happening, but not impossible

Support

FAQs

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