SoulboundProfileNFT.sol::mintProfile
reentrancy attackmintProfile function in this contract is vulnerable to reentrancy
mintProfile function in SoulboundProfileNFT
contract is vulnerable to reentrancy, as _safeMint() is called before updating the contract state (_profiles and profileToToken).
An attacker could mints multiple profiles, bypassing the restriction of one profile per address.
Manual Review + Slither
Following CEI (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.