Core Contracts

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

Missing access control on IndexToken mint

Summary

Everyone can mint any amount of IndexToken.

Vulnerability Details

Method mint (link) of IndexToken contract has no access control, so attacker can mint up to type(unit259).max value and NFTLiquidator::liquidateNFT method will throw overflow error on IndexToken's minting (link) because IndexToken._totalSupply reached max value.

Impact

DOS of the NFTLiquidator

Tools Used

Manual code review

Recommendations

Add access control to the IndexToken::mint method.

Updates

Lead Judging Commences

inallhonesty Lead Judge 4 months ago
Submission Judgement Published
Invalidated
Reason: Out of scope

Support

FAQs

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