Double Typecasting Can Increase Code Complexity
EscrowFactory.computeEscrowAddress
can lead to unintended behaviour or potential exploit because of multiple typecaste while computing predictedAddress
.
predictedAddress
is being computed by using multiple typecastes, making it complex and potentially harder to understand. Typecasting data without appropriate checks can lead to data truncation, which may result in unintended consequences or even vulnerabilities.
Manual Review
A SafeCast library must be used everywhere a typecast is done.
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.