Core Contracts

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

Ineffective `whenNotPaused` Modifier Due to Missing `Pause` Functionality

Summary

The veRAACToken.sol contract includes the whenNotPaused modifier in all functions, suggesting that the contract supports a pausable mechanism. However, the contract lacks _pause and _unpause functions, rendering the paused state immutable and always returning false. As a result, the contract can never be paused, defeating the purpose of the whenNotPaused modifier.

Vulnerability Details

Impact

  • The pausable mechanism is completely non-functional, leading to a false sense of security for developers and users who assume that the contract can be paused during emergencies.

  • If the contract needs to be paused due to a security issue or maintenance, there is no way to stop operations, which could lead to financial losses or exploitation.

Tools Used

Manual Review

Recommendations

Implement _pause and _unpause functions to allow authorized roles (e.g., an admin or governance contract) to toggle the paused state.

Updates

Lead Judging Commences

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

veRAACToken lacks the ability to configure `paused` variable

Support

FAQs

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

Give us feedback!