stake.link

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

Absence of Value Bounds in Critical Function Parameters

Vulnerability Details

Multiple functions are lacking checks for minimum and maximum permissible values. This absence of bounds validation allows for the setting of arbitrary values, including potentially harmful or non-sensical ones:

  • SDLPoolCCIPController::setMaxLINKFee()

  • LinearBoostController::constructor(uint64 _maxLockingDuration, uint64 _maxBoost)

  • LinearBoostController::setMaxLockingDuration()

  • LinearBoostController::setMaxBoost()

Recommendations

Implement validation checks for all critical function parameters that can potentially be set to arbitrary values.

Updates

Lead Judging Commences

0kage Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Known issue

Support

FAQs

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