The SoulboundProfileNFT
contract, the mintProfile
function accepts profile names without any length or character validation, allowing users to store arbitrarily long strings or inappropriate content in their profile names.
Blockchain bloat from unnecessary data
Increased storage costs for platform
Excessive gas costs for oversized names
Add a modifier to validate profile names.
Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelihood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.
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.