Describe the normal behavior in one or more sentences
Explain the specific issue or problem in one or more sentences
The MockUSDC contract is a testnet ERC20 token implementation simulating USDC (6 decimals). It contains four critical design flaws that violate ERC20 standard best practices, break permission controls, and break realistic token economics. These flaws are present in the core functions of the contract:
Unrestricted Minting: The mint function has no access controls, allowing any external address to mint unlimited tokens.
Missing Burn Functionality: No implementation of burn/burnFrom functions, which are core to real stablecoin logic (redemption/value destruction).
Uncapped Total Supply: No maximum supply limit, enabling infinite token minting even if access controls are added.
Unsafe Approval Logic: No override of the approve function to mitigate front-running/approval replay attacks, a known vulnerability in ERC20 implementations.
Likelihood:
Certain: The unrestricted mint function is callable by any address, making exploitation trivial (no special conditions required).
High: Missing burn functionality breaks all testing flows requiring token destruction (e.g., staking withdrawal fees, tax mechanisms).
Impact:
Critical Economic Damage: Attackers can mint unlimited mUSDC, devaluing the token and breaking all testnet/staging environment economics (e.g., breaking staking reward calculations in dependent protocols).
Testing Invalidation: All test cases relying on realistic stablecoin supply dynamics (e.g., mint/burn parity) will produce invalid, misleading results.
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.
The contest is complete and the rewards are being distributed.