Core Contracts

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

`MIN_VOTE_DELAY` not used in `vote()` function enabling unrestricted vote spamming

Summary

The GuageController:vote() function doesn't enforce MIN_VOTE_DELAY

Vulnerability Details

The contract defines MIN_VOTE_DELAY(10 days) but fails to enforce it in the contract.

uint256 public constant MIN_VOTE_DELAY = 1 days;

The vote function contains no checks against lastUpdatedTime[msg.sender], allowing unlimited voting frequency. Attackers can manipulate gauge weights through rapid vote spamming and negligible micro-votes, destabilizing reward distributions

Impact

  • DOS legitimate voters through gas price wars for vote inclusion

    Skew RWA/RAAC reward ratios to make yield farming unsustainable

Tools Used

Manual review

Recommendations

Enforce MIN_VOTE_DELAY

Updates

Lead Judging Commences

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

GaugeController::vote never enforces VOTE_DELAY or updates lastVoteTime, allowing users to spam votes and manipulate gauge weights without waiting

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

GaugeController::vote never enforces VOTE_DELAY or updates lastVoteTime, allowing users to spam votes and manipulate gauge weights without waiting

Support

FAQs

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

Give us feedback!