The return value of an external transfer/transferFrom call is not checked
Several tokens do not revert in case of failure and return false. If the transfer fails, an attacker can call deposit for free or users can lose their tokens if transfer fails in withdraw.
While the token used (USDC) reverts on transfer failed, it is behind a proxy so in the future it can be upgraded to not revert on transfer.
it is aslo a good practice to check the return value of an external transfer/transferFrom call.
Found in src/modules/MoneyShelf.sol Line: 27
Found in src/modules/MoneyShelf.sol Line: 34
Found in src/modules/MoneyVault.sol Line: 34
Static Analysis (slither)
It is recommended to use OpenZeppelin's SafeERC20 library.
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.