When a new FjordAuction is created, owner is set to msg.sender . When creating auctions through AuctionFactory, owner will be the factory itself. If no bids are made during the time of the auction, calling auctionEnd will transfer all auction tokens to the factory, causing them to be stuck in the contract.
Proof of concept
Add following test to the auction.t.sol:
Auction tokens are stuck inside AuctionFactory.
Manual review.
Consider adding owner as constructor parameter inside FjordAuction contract.
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.