DittoETH

Ditto
DeFiFoundryOracle
55,000 USDC
View results
Submission Details
Severity: medium
Invalid

Possible Integer Overflow

Summary

Mathematical operations using uint could overflow without checks.

Vulnerability Details

Several parts perform math on uint types without overflow validation, such as:

uint amount = totalAmount * percentage / BASIS_POINTS;

This could overflow if totalAmount * percentage exceeds type(uint).max.

Impact

Incorrect values leading to improper trades or accounting. Possible locking of funds.

Tools Used

Manual

Recommendations

Use SafeMath libraries or add overflow checks manually.

Updates

Lead Judging Commences

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

Support

FAQs

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