Core Contracts

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

Delegation of boost does not take into account current boost expiration

Summary

Delegation of boost requires carefully calculating the expiry of the delegatee's boost. If a boost expires in less than a year, booster could manipulate that by setting the boost.expiry of the delegatee to the max which is 1 year, hence gaming the protocol from the boost mechanic. This could allow delegatee to hold boost longer than supposed.

Vulnerability Details

Schematic poc:

  1. Alice delegates her boost that expires in 1 day due to her veToken unlocking

  2. She delegates for the max period of delegation (1 year) to Bob

  3. 1 day later her boost expires, but Bob still has 1 year worth of boost even though nothing is locked in the vest

Impact

Delegatee could farm larger rewards even though no tokens are vested from the delegator.

Tools Used

Manual review

Recommendations

Before setting the expiryDate of the delegatee' boost, compare it with the delegator's unvest date.

Updates

Lead Judging Commences

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

BoostController delegations remain valid even when users withdraw their veRAAC tokens, allowing boost "double-spending" and undermining the economic model requiring locked tokens

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

BoostController delegations remain valid even when users withdraw their veRAAC tokens, allowing boost "double-spending" and undermining the economic model requiring locked tokens

Support

FAQs

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