The contract implements EIP-712 signature verification using a type hash for the SnowmanClaim struct, which is intended to allow users to claim tokens by presenting a valid off-chain signature.
However, the type string used to generate the MESSAGE_TYPEHASH contains a typo (addres instead of address), causing the on-chain type hash to differ from the one used off-chain. This results in all EIP-712 signature verifications failing, making the claim functionality unusable.
Likelihood:
This will occur whenever a user attempts to claim using a valid EIP-712 signature generated off-chain with the correct struct definition.
The issue will persist for all users and all claims, as the on-chain and off-chain type hashes will never match.
Impact:
All legitimate claims will fail signature verification, preventing users from claiming their tokens.
The airdrop or claim mechanism is effectively bricked, resulting in loss of trust and potential financial or reputational damage.
The on-chain and off-chain type hashes are different due to the typo, so any signature generated off-chain will never be valid on-chain.
Correct the typo in the type string to ensure the on-chain and off-chain type hashes match. This will restore proper EIP-712 signature verification and allow users to claim as intended.
A typo in the `MESSAGE_TYPEHASH` variable of the `SnowmanAirdrop` contract will prevent signature verification claims. Used `addres` instead of `address`
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.