The Standard

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

adding deferent tokens whit same symbol

Summary

Vulnerability Details:

In the whole contracts, there is no check whether two different tokens with the same symbol are added or not, and as a result, since the comparison in the function is based on the symbol, it always finds the first token with a similar symbol and return it as output, and as a result, wrong information may be sent to the user or other functions.

Impact

Tools Used

Manual

Recommendations

Using another method to find tokens or preventing adding token with same symbol.

Updates

Lead Judging Commences

hrishibhat Lead Judge over 1 year 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.