The TempleGoldStaking
contract is vulnerable to Denial of Service attacks... Which can stop the contract.
Here is the staking function in the said contract:
This contract can be DoSed from two standpoints:
a threat actor can keep sending 0 amount, or similarly minute amount, so much to the contract. The contract can lag or stop functioning when it can no longer handle such dusty or minute amounts, secondly
a zero address can keep spamming the contract
Possibly, a threat actor can leverage these two standpoints by continuously sending 0 amounts with millions of zero addresses. Ultimately, this will lead to a DoS attack for the contract.
Denial of Service.
Manual Review.
check against zero addresses and 0 amounts.
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.