Description: The KittyVault::executeWhiskdrawal
function calls an external contract to transfer tokens before updating the state, which could lead to a reentrancy attack.
Impact: An attacker could drain funds or cause other unexpected behavior by reentering the contract.
Proof of Concept: An attacker could create a malicious contract that reenters the KittyVault contract:
Recommended Mitigation: Use the Checks-Effects-Interactions pattern to update the state before calling external contracts.
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.