The mintSoulmateToken
function in the Soulmate.sol contract allows attackers to mint tokens without a valid soulmate, leading to unauthorized token creation and potential manipulation of the soulmate system. This vulnerability could result in an inflated supply of NFTs and undermine the integrity of the Soulmate protocol.
Unauthorized minting allows attackers to create tokens without a valid soulmate, leading to an inflated supply of NFTs and potential manipulation of the Soulmate protocol. This could undermine the integrity of the Soulmate system and erode trust among users.
No specific tools were used for this analysis.
Implement proper access control mechanisms to ensure that only authorized users can mint tokens. Validate the relationship between soulmates before allowing token minting to prevent unauthorized creations. Consider incorporating role-based access control to restrict minting privileges to authorized individuals or entities.
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.