ERC20 functions may not behave as expected. For example: return values are not always meaningful. It is recommended to use OpenZeppelin's SafeERC20 library. While this is no problem right now, remember that USDC is a proxy contract and can be upgraded at any time, so it's best practice to be prepared for this case.
Several tokens do not revert in case of failure and return false,transfer/transferFrom will not revert if the transfer fails, and an attacker can call these for free.
Found in MoneyShelf.sol
Found in MoneyShelf.sol
Found in src/modules/MoneyVault.sol
An attacker can call these for free, resulting in free tokens for the attacker and a loss for the protocol.
aderyn
slither
manual review
Use Openzeppelins SafeERC20
, or ensure that the transfer/transferFrom return value is checked.
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.