Name squatting
Creating profiles through the protocol's createProfile function costs nothing, so a whitelisted profile creator can register many desirable handles without needing them, intending to resell them later. This prevents legitimate high-profile users from obtaining their preferred handles.
Submitted by cmichel
Creating profiles through LensHub/PublishingLogic.createProfile does not cost anything and will therefore result in “name squatting”.
A whitelisted profile creator will create many handles that are in demand, even if they don’t need them, just to flip them for a profit later.
This ruins the experience for many high-profile users that can’t get their desired handle.
Recommended Mitigation Steps
Consider auctioning off handles to the highest bidder or at least taking a fee such that the cost of name squatting is not zero.
donosonaumczuk (Aave Lens) disputed
Declined. This is by design. Governance can allow contracts/addresses to mint. If governance allows a malicious actor that is the fault of governance. Governance can also allow contracts that implement auction or other functionality as well to manage the profile minting system.
The protocol should take no opinion on this by default.
0xleastwood (judge) decreased severity to Medium and commented:
I will mark this as
mediumrisk for the same reasons outlined in M-03 (Issue #26).
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the profile creation function has no cost or restriction beyond being whitelisted, allowing a whitelisted creator to register unlimited handles for free.
Impact
A whitelisted profile creator could register many desirable handles for free, preventing legitimate users from obtaining them; the protocol team disputed this as by design, and the judge rated it medium risk.
What the attacker needed
Whitelisted profile creator; no cost to create profiles
The fix
The report recommends auctioning handles to the highest bidder or charging a fee so that name squatting is not free; the protocol team declined, stating this is by design and governance can manage minting.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A handle is a unique username. Here, creating a profile costs nothing, so someone allowed to create profiles can take many good usernames and keep them, even if they do not use them, to sell later. This stops other people from getting the username they want.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.