The createAuction
function could be exploited through reentrancy, particularly since it calls an external transferFrom
function after deploying the FjordAuction
contract.
After deploying the FjordAuction
contract, the function calls the transferFrom
method of the auctionToken
contract. This external call could potentially be exploited in a reentrancy attack, where an attacker reenters the function before the state changes are completed.
Reentrancy Attack: An attacker could exploit this vulnerability to reenter the function and manipulate the auction process, potentially leading to loss of funds or other unexpected behavior.
##POC
Manual Code Review
Use Reentrancy Guard: Implement a reentrancy guard to prevent reentrancy attacks. This can be done by using OpenZeppelin’s ReentrancyGuard
or implementing a custom solution.
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.