The SoulboundProfileNFT contract fails to emit events for several critical state changes, making it difficult to track off-chain and potentially causing issues with frontend synchronization.
In the blockProfile function:
Missing events for:
Profile metadata updates
Admin actions
Profile state changes
Difficulty in tracking admin actions
Frontend synchronization issues
Limited ability to monitor contract state changes
Reduced transparency for users
Slither was particularly useful for identifying immutable variables that might need future updates
MythX and custom Semgrep rules were effective in finding missing validations
Coverage analysis tools helped identify gaps in validation logic
Add specific events for admin actions:
2. Emit events for all state changes:
Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelyhood 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.