Core Contracts

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

[H-02] emergencyRevoke() in RAACReleaseOrchestrator results in loss of user funds

Summary

The unreleasedAmount tokens in the vesting schedule are not sent to the beneficiary but kept in the contract itself.

Vulnerability Details

When unreleasedAmount is greater than 0, the amount of tokens allocated but unreleased to the beneficiary should be transferred to them, however it currently sends them to the RAACReleaseOrchestrator itself (moot transfer) while also deleting the vesting schedule of the user, making it impossible for them to retrieve the tokens in the future without another vesting.
The intended behaviour should be to send the unreleasedAmount to the beneficiary as also documented by the EmergencyWithdraw event.

Location

Impact

Loss of user funds that should be sent to them.

Tools Used

Manual review.

Recommendations

Substitute address(this) with beneficiary.

Updates

Lead Judging Commences

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

RAACReleaseOrchestrator::emergencyRevoke sends revoked tokens to contract address with no withdrawal mechanism, permanently locking funds

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

RAACReleaseOrchestrator::emergencyRevoke sends revoked tokens to contract address with no withdrawal mechanism, permanently locking funds

Support

FAQs

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

Give us feedback!