Core Contracts

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

RAACNFT contract will cause tokens to be stuck due to lack of rescue mechanism

Summary

The RAACNFT contract allows end users to purchase NFTs by transferring a specified token. However, there is no token rescue mechanism implemented in the RAACNFT contract, meaning tokens will be stuck there permanently.

Vulnerability Details

When users purchase an NFT, they need to transfer the corresponding amount of token to RAACNFT contract:

token.safeTransferFrom(msg.sender, address(this), _amount);

However, there is no withdrawal method implemented in the contract. As a result, all paid tokens will be stuck in the RAACNFT contract indefinitely.

Impact

All tokens will be stuck at the NFT contract.

Tools Used

Manual Review

Recommendations

Implement a token rescue mechanism

Updates

Lead Judging Commences

inallhonesty Lead Judge about 2 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 about 2 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.