An attacker might claim several times with _claimPlenty()
.
In _claimPlenty()
, it deletes s.a[account].sop.plenty
after transfer the funds. If sopToken
has a hook, users can claim as much as they like using reentrancy.
Possible fund loss using _claimPlenty()
using reentrancy.
Manual Review
It should delete s.a[account].sop.plenty
first before starting the transfer.
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.