Possible reentrancy in method mintProfile
inside contract SoulboundProfileNFT
.
Abuse spam minting of SoulboundProfileNFT
NFTs thus the NFT collection loses its uniqueness.
Spamming mapping(uint256 => Profile) private _profiles;
with metadata which also results in method tokenURI
to return metadata also for the NFTs which were being minted in the reentrancy.
Spamming emitting event ProfileMinted
thus confusing off-chain dApps.
Inherit ReentrancyGuard
and add the nonReentrant
modifier to method mintProfile
OR apply the checks-effects-interactions pattern:
Likelihood: High, anyone can do it. Impact: Low, several profile will be minted, which is not allowed by the protocol, but only the last one will be stored in profileToToken and won't affect `likeUser` or `matchRewards`.
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.