The LikeRegistry contract lacks functionality to revoke or "unlike" a profile, creating significant risks for users who need to dissociate from malicious actors, impersonators, or simply change their mind. This limitation locks users into permanent associations and their 1 ETH deposits.
The contract only implements one-way liking functionality through likeUser():
Locked funds if match is undesirable
Users are permanently associated with potential impersonators
Vulnerability to social engineering attacks
Increased exposure to scams
Impersonator creates profile mimicking popular user
Victim likes impersonator's profile
Victim discovers deception but cannot unlike
Impersonator can force a match by liking back
Both users are permanently linked with no recourse
The following test demonstrates the inability to unlike and its associated risks:
Implement unlike functionality
Foundry Testing Framework
Manual Review
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.