In depositTheCrimeMoneyInATM function, the address deposit USDC is account instead of msg.sender. So the one who call this function don't need to be the actual one who spend USDC. They can call depositTheCrimeMoneyInATM with account address is the one who has already deposited money, the to address is their address. The amount of CrimeMoney will mint to their address. Then they call withdrawMoney to take USDC.
Any gang member who called depositTheCrimeMoneyInATM function could lost all of their money.
Add the following test to ./test/Laundrette.t.sol
Test pass, even God Father is stolen.
Manual review and Foundry.
Use msg.sender instead of account in depositTheCrimeMoneyInATM
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.