The FjordAuctionFactory
contract uses create2
to deploy new FjordAuction
contracts:
FjordAuctionFactory.sol#L58-L60
It's a well-known issue that create2
can fail if the deployment operation fails and return address(0)
if so: https://solodit.xyz/issues/antepoolfactory-does-not-validate-create2-return-addresses-trailofbits-ante-protocol-pdf
The FjordAuctionFactory
contract does not check if create2
returns address(0)
, and sends the auctionToken
in the same transaction as the create2
operation:
FjordAuctionFactory.sol#L62-L63
Thus, if create2
fails and returns address(0)
, the auctionToken
will be lost.
The auctionToken
will be lost if create2
fails and returns address(0)
.
Ensure that create2
returns a non-zero address before sending the auctionToken
:
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.