The RAACNFT.sol contract allows the owner to change baseURI to a non-decentralized domain, posing risks like DNS hijacking or domain expiration. To ensure NFT security and permanence, it's recommended to enforce IPFS or Arweave as the only valid storage options.
In the RAACNFT.sol contract, the owner has the ability to change the baseURI value using the setBaseUri function to something other than decentralized IPFS, such as the domain test.xyz. This introduces additional risks, including:
Domain takeover attacks (DNS hijacking) – If the domain is compromised, an attacker could replace the linked NFT assets.
Domain expiration – If the domain expires, users may lose access to their NFTs, or the content could be redirected to unauthorized sources.
If the domain expires or is lost, NFT image becomes inaccessible.
If the domain is compromised through DNS hijacking, all NFT image could be maliciously altered.
Manual Review
It is recommended to restrict the ability to modify baseURI or enforce the use of only decentralized solutions like IPFS to ensure the permanence and security of NFT assets.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.