Address 0x815F577F1c1bcE213c012f166744937C889DAF17
has been given powers to steal anyone's Santa Tokens inside transferFrom().
The following PoC shows the exploit:
Nobody's funds(santa tokens) are safe as no approval step is required for this attack vector.
Foundry
Use the standard version of Solmate from https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol
Some sneaky elf has changed this library to a corrupted one where his wallet address skips all the approval checks for SantaToken! Shenanigans here - https://github.com/PatrickAlphaC/solmate-bad/blob/c3877e5571461c61293503f45fc00959fff4ebba/src/tokens/ERC20.sol#L88
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.