The Standard

The Standard
DeFiHardhat
20,000 USDC
View results
Submission Details
Severity: low
Invalid

No zero address check

Summary

The _to address is arbitrary parameter and lacks zero address check.

Vulnerability Details

The arbitrary parameter can lead to sending ETH to the wrong address, like the zero address.

Impact

This may not be intended but will lead to loss of funds.

Tools Used

Manual Review

Recommendations

Implement the following check:

require(_to != address(0), "Transfer to address zero is forbidden.")
Updates

Lead Judging Commences

hrishibhat Lead Judge almost 2 years ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

informational/invalid

Support

FAQs

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

Give us feedback!