Function RaiseBoxFaucet::burnFaucetTokens transfers all contract balance to the owner when it burns amountToBurn tokens. But this is not correct. It must transfer amountToBurn tokens. If amountToBurn is less than the contract balance, then all tokens from the contract balance are transferred to the owner and the contract's balance becomes 0.
Likelihood: High
Every time function burnFaucetTokens is called, all contract balance is transferred to the owner.
Impact: Medium
There is no loss of tokens, they just transferred to the owner and can be transferred back again.
Transfer amount of tokens that is required to be burnt:
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.