Certain ERC-20 tokens with non-standard implementations can potentially break the protocol. These tokens may not adhere to the expected behavior of standard ERC-20 tokens, leading to unexpected and potentially harmful interactions within the protocol.
There are many weird ERC-20 tokens that won't work correctly in this protocol.
A simple example is shown below:
Not every ERC-20 token returns a boolean on success (e.g., USDT), which can lead to failures in the protocol.
The contract may malfunction for certain tokens, causing transaction failures and potential loss of funds.
Manual Review
Implement Token Whitelisting: Only allow interaction with well-known, standard ERC-20 tokens to prevent the protocol from engaging with "weird" tokens.
Invalid, low level call will always return true as long as the call succeeds without reverting, so this has no impact described, given approvals can only fail when some weird tokens do not allow a uint256.max approval, which is not described in any of the issues below.
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.