The blockProfile function in SoulboundProfileNFT
only burns the NFT and clears profile data, but fails to handle associated user data in the LikeRegistry
contract. When a user is blocked, their likes, matches, and associated ETH balances remain in the system, creating inconsistency between profile existence and interaction data.
Blocked users' likes remain active in the system
ETH from blocked users remains locked in the contract
Matched users might still have connections to blocked profiles
Creates data inconsistency across contracts
Implement a cross-contract blocking mechanism
Implement balance handling strategy for blocked users
Likelihood: Low, burning with money in it would be a user mistake, and being blocked is Low. Impact: High, loss of funds
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.