This is the blockProfile
method used by the protocol owner to block a user address. However, all this does is delete the user from the protocol, similar to burnProfile
. The user can simply mint a new profile again, making the intended functionality of this function ineffective.
A blocked user can just create a new profile and continue using the protocol, bypassing the restriction. Which hinders the intended working of the protocol.
Manual Review
To permanently ban a user's address, add a mapping(address => bool) isBlocked;
and ensure that mintProfile
checks if the address is blocked before allowing minting.
This ensures that once an address is blocked, it can never mint a new profile again.
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.