The contract appears to deploy new contracts using the new
keyword.
In a re-org attack scenario, such deployments can be exploited by a malicious actor who might deploy the contract at an expected address.
VSCode
Consider deploying the contract via CREATE2
opcode with a specific salt that includes msg.sender
and the existing contract address.
This will ensure a predictable contract address, reducing the chances of such an attack.
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.