Santa Token use poisoned ERC20 dependency
Import @solmate/src/tokens/ERC20.sol
actually uses repo patrickalphac/solmate-bad
where token transferFrom
is poisoned
Address 0x815F577F1c1bcE213c012f166744937C889DAF17
can withdraw any tokens from any balances
Use not poisoned ERC20 base contract
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.