The initVault()
function is publicly accessible, which means that anyone can call it.
The initVault()
function is publicly accessible, which means that anyone can call it.
This poses a security risk because once the vault contracts are deployed, unauthorized actors could potentially deploy and initialize their own malicious airdrop or staking contracts.
Manual review
To mitigate this risk, the function should be restricted to only the contract owner or a designated role that has the authority to initialize the vault.
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.