Core Contracts

Regnum Aurum Acquisition Corp
HardhatReal World AssetsNFT
77,280 USDC
View results
Submission Details
Severity: high
Valid

BoostController::delegateBoost does not take into account delegated amount and allows to delegate more amount than the user owns

Summary

User can delegate boost of amount equal to the user's veRAACToken balance to several users. This leads to total boost amount exceeding the user's veRAACToken token balance.

Vulnerability Details

Function BoostController::delegateBoost checks that the delegation to to address does not exist. However, it does not check how much the user has already delegated to other users. This allows the scenario below:

  1. User has veRAACToken balance of 1000

  2. The user delegates 1000 to user B

  3. The user delegates 1000 to user C

  4. Now the user has delegated 2000, although the user's balance is only 1000

Impact

User can make total boost greater than it must be.

Tools Used

Manual review

Recommendations

Consider to count already delegated amount and check that users do not exceed their balance when delegate.

Updates

Lead Judging Commences

inallhonesty Lead Judge 7 months ago
Submission Judgement Published
Validated
Assigned finding tags:

BoostController::delegateBoost lacks total delegation tracking, allowing users to delegate the same veTokens multiple times to different pools for amplified influence and rewards

Support

FAQs

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

Give us feedback!