Not calling the initialize function in the deploy script can cause an attack to the contract
initialize function is a function that replaces the constructor which should be called in the same script that deploys the contract. the deploy script did not initialize the contract after deployment which can lead to an attacker frontrunning the Authourized owner to initialize the contract.
if known early, it can cause the protocol to re-dploy another contract wasting deployment cost
if liquidity provider have interacted with it, attacker can upgrade the contract to allow only owner to withdraw all funds causing loss of funds to liquidity provider.
Manual review, foundry
The initilize function should be called in the deploy script to avoid attackers front-running the the authorized admin.
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.