Core Contracts

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

Funds for minting RAAC NFT are stuck in RAACNFT contract

Summary

Funds for minting RAAC NFT are stuck in RAACNFT contract.

Vulnerability Details

To mint a RAAC NFT, funds are transferred from user to RAACNFT contract.

RAACNFT::mint():

// transfer erc20 from user to contract - requires pre-approval from user
token.safeTransferFrom(msg.sender, address(this), _amount);

However, RAACNFT provides no functionality for withdrawing the funds, as a result, the funds are stuck inRAACNFT contract.

Impact

Funds are stuck in RAACNFT contract.

Tools Used

Manual Review

Recommendations

Implement functionalities to withdraw funds from RAACNFT contract.

Updates

Lead Judging Commences

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

RAACNFT collects payment for NFT minting but lacks withdrawal functionality, permanently locking all tokens in the contract

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

RAACNFT collects payment for NFT minting but lacks withdrawal functionality, permanently locking all tokens in the contract

Support

FAQs

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