If an auction concludes without any bids, the auction tokens are transferred to the owner address, which is set to the FjordAuctionFactory contract. This can result in tokens becoming permanently locked in the factory contract, as there is no mechanism to retrieve them.
In FjordAuction.sol, the contract's owner is set to the msg.sender in the constructor, which is the FjordAuctionFactory contract:
If the auction ends with no bids, all auction tokens are transferred to the owner address:
The FjordAuctionFactory contract lacks functionality to withdraw or redistribute these tokens, effectively locking them in the contract permanently.
This vulnerability can lead to permanent loss of tokens for project creators if their auction receives no bids.
Manual
Add a beneficiary parameter to the createAuction function in FjordAuctionFactory.
Pass this beneficiary address to the FjordAuction constructor.
Update the FjordAuction contract to use this beneficiary address instead of owner when transferring tokens in case of no bids.
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
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.