Reentrancy in the setPool function allows an attacker to drain the contract balance of any ERC777 tokens
In the setPool function, an attacker is able to re-enter and drain the contract balance of any ERC777 tokens by first creating a pool with a pool balance, then reducing the pool balance. when the contract tries to send the excess token the attacker reenters the setPool again untill the balance is empty
the attacker is able to drain the contract of any ERC777 token
Manuel Analysis
apply a reentrancy guard modifier to the setPool function
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.