MEV can be performed when initializing the Vaults
MEV bot can see that a manager contract is set through a public initVault function resulting in that contract being approved for transfering of the vault tokens. It can call this function and set a malicious manager contract.
Here is a code snippet to help visualize it.
NOTE: this is just a code example in the setup for the tests to hep visualize the attack, not how the MEV bot actually performs the attack.
High. MEV is a big problem in the ethereum network, very advanced bots might be able to detect the approval for the managerContract and jump in to attack this vulnerability.
Manual analysis
Vaults can be initialized in the constructor of the airdrop and staking contracts. At that point we already have everything we need to do this.
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.