Beginner FriendlyFoundryDeFiOracle
100 EXP
View results
Submission Details
Severity: low
Invalid

Deposit functions lack input validation

Summary

in both v1 and v2 of thunderLoan.sol, the deposit function lacks input validation

Vulnerability Details

Add input validation to check for zero balances.
In ThunderLoan.sol v1 : Ln 147
In thunderLoan.sol v2 : Ln 146

Impact

Low impact, but follow solidity best practices and add input validation for undesired behaviors

Tools Used

Manual inspection

Recommendations

Add input validation for deposit ()

Updates

Lead Judging Commences

0xnevi Lead Judge
almost 2 years ago
0xnevi Lead Judge almost 2 years ago
Submission Judgement Published
Invalidated
Reason: Vague generalities

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.