- Check:
pess-ecrecover
- Severity:
High
- Confidence:
Medium
ecrecover
functions returns 0
on error. It is important to check the result for 0
.
- As for now, the detector might not work on asm level.
ecrecover_negative5
in test scenarios should be found since the result of the check is unused. However, currently such scenarious are not covered.
Check the result of ecrecover
or use OZ ECDSA library.