Core Contracts

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

`StabilityPool` is not upgrade safe

Summary

Looking at the code in StabilityPool we can see that it is meant to be upgradeable, however, it uses the basic ReentrancyGuard contract instead of the upgradeable one. What is more, it does not invoke the disableInitializers function in the constructor.

Impact

Potential storage collision and also introduces a severe risk, allowing potential attackers to initialize the implementation contract itself.

Tools Used

Manual review

Recommendations

Use ReentrancyGuardUpgradeable and invoke disableInitializers in the constructor of the StabilityPool.

Updates

Lead Judging Commences

inallhonesty Lead Judge 4 months ago
Submission Judgement Published
Invalidated
Reason: Known issue

Support

FAQs

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