Normal behavior:
Signature verification should ensure cryptographic uniqueness and resistance to tampering, using standardized formats such as EIP-712.
Issue:
The contract performs signature verification using raw ecrecover without enforcing EIP-712 typed data standards. This allows for malleable signatures, where the same message can be verified using multiple valid signature formats. An attacker can manipulate a valid signature into an alternate form (changing s to n - s) and reuse it to claim unauthorized rewards.
Likelihood:
Medium — Signature malleability is a well-documented cryptographic property of ECDSA.
Reproducibility: Exploit is reliable once a valid signature is known.
Ease of exploitation: Requires understanding of s malleability and access to one valid signature.
Impact:
Replay attacks with altered signature formats.
Unauthorized NFT minting or token claiming.
User allocation theft if an attacker can reuse or intercept claim data.
Loss of protocol trust and value dilution.
Explanation:
A valid ECDSA signature can be modified (s ↔ n-s) and still pass verification.
Because the contract uses raw signature recovery, both original and modified forms are accepted.
A malicious actor can forge duplicates and bypass unique claim protections.
Implement EIP-712 signature standardization using typed structured data and domain separation. This prevents replay and signature malleability vulnerabilities.
Explanation:
Solution: Applies EIP-712 hashing to generate unique digest using domain separator.
Security: Prevents malleable signature formats and replay attacks.
Scalability: Standard approach across the Ethereum ecosystem.
Gas impact: Minimal additional cost for _hashTypedDataV4.
This is a medium to high-severity vulnerability depending on the attack context. While the bug requires some technical skill, its implications on trust, claim validation, and allocation control are serious.
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.