In OperatorVCS contract, a vault can be removed through 2 steps, queueVaultRemoval and removeVault.
In queueVaultRemoval function, if the vault is in claim period, it immediately removes the vault by calling removeVault.
However, removeVault is open to public and does not check additional check, so the vault can be removed even though it's not in claim period.
Here's a code snippet of queueVaultRemoval function:
As shown above, removeVault is only called when the vault is in claim period.
However, removeVault function can be called by anyone and anytime to remove a vault queued.
The vault can be removed even though it's not in claim period.
Manual Review
removeVault function should have additional check for claim period so that the vault can only be removed during claim period.
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.