Core Contracts

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

incorrect authorization modifier in RAACToken contract

Summary

RAACToken contract functions such as mint/burn/setFeecollector/setSwapTaxRate/setBurnRaxRate shold have modifier "onlyMinter" instead of "onlyOwner"

Vulnerability Details

RAACToken contract functions such as mint/burn/setFeecollector/setSwapTaxRate/setBurnRaxRate are intended to call from minter role. Therefore these functions should utlize "onlyMinter" as modifies instead of "onlyOwner"

Impact

If minter and owner are set to different identity, minter will not be able to call functions such as mint/burn/setFeecollector/setSwapTaxRate/setBurnRaxRate to make appropriate changes.

Tools Used

manual

Recommendations

consider change onlyOwner to onlyMinter in above specified function.

Updates

Lead Judging Commences

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

RAACMinter lacks critical ownership transfer functionality and parameter management after receiving RAACToken ownership, causing permanent protocol rigidity

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

RAACMinter lacks critical ownership transfer functionality and parameter management after receiving RAACToken ownership, causing permanent protocol rigidity

Support

FAQs

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