Core Contracts

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

Lack of check supported pool in BoostController#removeBoostDelegation()

Summary

Unsupported pool can call this function to remove boost.

Vulnerability Details

Once the pool's status is modified by modifySupportedPool(), this pool can't work.

In removeBoostDelegation(), there's missing supportedPools[msg.sender] validation. So unspported pool can call removeBoostDelegation(), allowing them to revoke delegations unfairly.

Impact

Logic error

Tools Used

manual

Recommendations

Add a validation check at the beginning of removeBoostDelegation():

if (!supportedPools[msg.sender]) revert PoolNotSupported();
Updates

Lead Judging Commences

inallhonesty Lead Judge 7 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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

Give us feedback!