DatingDapp

First Flight #33
Beginner FriendlyFoundrySolidityNFT
100 EXP
View results
Submission Details
Severity: medium
Valid

SoulboundProfileNFT: Locked Funds Due to Profile Blocking

[High] SoulboundProfileNFT: Locked Funds Due to Profile Blocking

When a profile is blocked/burned, their funds in LikeRegistry become permanently locked. Need a mechanism to handle user funds when profiles are deleted. Also admin do not block the user only delete it.

Impact: Users permanently lose access to their funds when profiles are blocked/burned.

Proof of Concept:

function blockProfile(address blockAddress) external onlyOwner {
uint256 tokenId = profileToToken[blockAddress];
_burn(tokenId);
// User's funds in LikeRegistry remain locked
}

Recommended Mitigation: Implement a fund recovery mechanism for blocked/burned profiles.

Updates

Appeal created

n0kto Lead Judge 6 months ago
Submission Judgement Published
Validated
Assigned finding tags:

finding_blocking_or_burning_no_refund_balances_or_multisig

Likelihood: Low, burning with money in it would be a user mistake, and being blocked is Low. Impact: High, loss of funds

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.