The function MoneyShelf.sol::depositUSDC
allows transferFrom
an arbitrary address, allowing a user to take funds from any address with allowance to the contract.
A user can use the depositUSDC
function with any account
parameter. If this address holds a positive USDC balance and a positive allowance, the deposit will be executed by taking USDC from the given address. Thus, all USDC on accounts that have an open allowance are at risk of being deposited against the will oof their owner.
Users that have a positive USDC balance and a positive allowance to the contract can have their USDC deposited against their will.
Slither
Enforce deposits from msg.sender
.
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.