DatingDapp

First Flight #33
Beginner FriendlyFoundrySolidityNFT
100 EXP
View results
Submission Details
Severity: low
Invalid

No validation present to check the value submitted to Transaction

Summary

There should be a validation present inside submitTransaction'' to check that the requested amount should be less than or equal to the account balance.

Impact

Currently any amount can be put here even if it exceeds the balance, fund draining can happen.

Tools Used

Recommendations

Put a condition check such that value <= accountBalance

Updates

Appeal created

n0kto Lead Judge 7 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

Users mistake, only impacting themselves.

Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelihood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.

Support

FAQs

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