Core Contracts

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

Documentation-Specified Security Features Missing From Implementation

Summary

The RAACMinter.sol and RAACToken.sol contracts lack several security features that are explicitly specified in the protocol documentation, including delayed ownership transfers with execution windows and address exemptions for emergency shutdowns. While these contracts maintain basic security through OpenZeppelin's Ownable and Pausable patterns, the absence of the documented security measures reduces the protocol's defense-in-depth approach.

Vulnerability Details

The documentation specifies three security features that are not present in the implementation:

  1. 24-hour Window for Ownership Transfer:

// Current implementation in RAACMinter.sol - Uses basic Ownable
contract RAACMinter is IRAACMinter, Ownable, ReentrancyGuard, Pausable, AccessControl {
// No delayed transfer mechanism
}

The contract lacks a time window mechanism that would allow ownership transfer to be cancelled if not completed within 24 hours of the delay period.

  1. Emergency Shutdown Address Exemptions:

function emergencyShutdown(bool updateLastBlock, uint256 newLastUpdateBlock) external onlyRole(DEFAULT_ADMIN_ROLE) {
emissionRate = 0;
_pause();
// No mechanism for address exemptions
}

The emergency shutdown affects all addresses uniformly, contrary to documentation stating certain addresses could be exempted.

  1. 7-day Delay for RAACToken Ownership Transfer:

// RAACToken.sol
contract RAACToken is ERC20, Ownable, IRAACToken {
// No delayed ownership transfer implementation
}

The delay mechanism meant to provide additional security for ownership transfers is not implemented.

Impact

Low - Contract is still implementating standard OZ security features but has not implemented additional in-house features documentation specifies.

Recommendations

Either:

  • Update the documentation to reflect the current implementation

  • Implement the security features as documented to provide the intended security guarantees

Updates

Lead Judging Commences

inallhonesty Lead Judge 7 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
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!