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

typographical error in event name leads to potential developer confusion

Summary

A typographical error in the event name could lead to confusion for developers interacting with or integrating the contract. Proper naming conventions and clarity are essential for ensuring smooth development and integration processes.

Vulnerability Details

The event intended to notify when a new password is set is named SetNetPassword. Given the context, it's likely that the intended name was SetNewPassword. The typo “Net” instead of “New” can lead to misunderstandings.

Impact

While this typo does not pose a direct security risk, it can cause confusion for developers, leading to potential integration issues or misinterpretations of the contract's events. It may also give an impression of lack of attention to detail in the contract's development.

Tools Used

Manual code review

Recommendations

- event SetNetPassword();
+ event SetNewPassword();
- emit SetNetPassword();
+ emit SetNewPassword();
Updates

Lead Judging Commences

inallhonesty Lead Judge
almost 2 years ago
inallhonesty Lead Judge almost 2 years ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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