Oddbean new post about | logout

Notes by af35c90f | export

 If you have worked with Solidity, you are familiar with the ecrecover function. If signature is n... 
 If you have worked with Solidity, you are familiar with the ecrecover function. If signature is not valid, this function returns signing address or 0. Therefore, the output of this function should always be checked.

You can easily write a rule for this pattern with the @semgrep tool and find all the cases that are not like this. nostr.fmt.wiz.biz