The contract should validate that buyers and sellers are not zero addresses to prevent loss of funds
The createSellOrder
function doesn't validate that msg.sender
is not the zero address, and buyOrder
doesn't validate the buyer address
Likelihood:
High - No validation exists for zero addresses in critical functions
Orders can be created with zero address as seller theoretically
Impact:
Medium - Could lead to stuck funds if orders are created with invalid addresses
Potential for permanent loss of tokens in edge cases
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.