The protocol allows arbitrary-length name and profileImage strings during profile creation.
No upper bounds are enforced on user-controlled metadata fields.
Malicious users can submit extremely large strings, causing unnecessary permanent storage growth and increased gas costs.
Although the attacker pays deployment gas, the bloated storage remains permanently on-chain.
Likelihood:
Any user can provide arbitrarily large string inputs.
Permanent on-chain storage is written for every profile mint.
Impact:
Excessive and unnecessary state growth increases long-term protocol costs.
Large metadata values may negatively affect indexers and frontends.
User transactions become unnecessarily gas-expensive.
The following test demonstrates that extremely large metadata strings can be stored successfully.
Restrict metadata lengths during minting.
The contest is live. Earn rewards by submitting a finding.
Submissions are being reviewed by our AI judge. Results will be available in a few minutes.
View all submissionsThe contest is complete and the rewards are being distributed.