https://github.com/Cyfrin/2024-08-fjord/blob/main/src/FjordAuctionFactory.sol
The contract lacks a mechanism to recover ERC20 tokens that are accidentally sent to its address, potentially resulting in permanent loss of funds.
If someone mistakenly sends ERC20 tokens to the contract address, there is no way to recover these tokens. This could lead to users losing their funds permanently without a recovery function.
Users who accidentally send tokens to the contract could suffer financial losses, as there is no mechanism to retrieve the tokens. This could result in user dissatisfaction and potential legal or reputational issues.
Manual Review
Implement a function that allows the contract owner to recover any ERC20 tokens sent to the contract by mistake. Ensure that only the owner can call this function to prevent unauthorized recoveries
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.