Core Contracts

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

An adress can delegate boost to an infinty of adresses

Summary

The delegateBoost method doesn't memorize the number of boosts realized

Vulnerability Details

The boost controler allows an user to delegate a boost to other users.

The delegation variable stores the msg.sender and the receipt adress( to).

UserBoost storage delegation = userBoosts[msg.sender][to];

It allows multiple delagations as there is no check that the msg.sender already delegate once.

Impact

Medium Impact : There's some level of disruption to the protocol's functionality or availability.

High likelihood : Only need to possess tokens to be able to delegate to an infinty of wallets.

Tools Used

Manual review

Recommendations

Add a memory of delegated amounts or make the user boost a one dimensionnal array.

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!