Several functions across the contracts lack zero-address validation, potentially leading to locked funds or unusable profiles.
Examples of missing validations:
Potential for users to like address(0)
Possibility of creating profiles with empty/invalid data
Risk of burning tokens to address(0)
MythX and custom Semgrep rules were effective in finding missing validations
Add zero-address validation:
2. Add string validation in mintProfile:
3. Consider implementing a library for common validation functions
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.