Attacker can send fake tokens to the treasury and DOS deposis.
The deposit function allow tokens to be deposited into the protocol
With the current implementation, attacker can create fake ERC20 token with high decimals then deposit
to overflow the _totalValue
, this will mean that no other tokens can be deposited again.
Deposits to the treasury can be DOS
Manual review
_totalValue
is a redundant variable consider removing it.
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.