stake.link

stake.link
DeFiHardhatBridge
27,500 USDC
View results
Submission Details
Severity: low
Invalid

Unsafe downcast

Summary

Vulnerability Details

When a type is downcast to a smaller type, the higher order bits are truncated, effectively applying a modulo to the original value.

Impact

Without any other checks, this wrapping will lead to unexpected behavior and bugs

Tools Used

Manual Review

Recommendations

use higher Type

Updates

Lead Judging Commences

0kage Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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