Reentrancy attack in Dussehra::withdraw
function.
The function Dussehra::withdraw
does not follow CEI (checks, effects, interactions).
The function Dussehra::withdraw
does not follow CEI (checks, effects, interactions).
Static analysis
Follow CEI
The `withdraw` function sends the given amount to Ram. If the attacker calls the `withdraw` function again before the state variable is changed, the function will revert because there are no more funds in the contract. This reentrancy has no impact for the protocol. It is recommended to follow the CEI pattern, but this is informational.
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.