Hunt prep
Before you test Mimo DeFi contest
What 19 disclosed reports say about Mimo DeFi contest: what was found and paid, what was fixed, and where it may be worth looking next.
- with a public bounty
- 0
- median public bounty
- –
- highest public bounty
- –
Gaps worth testing
Not written yet for this program. The numbers below are up to date.
What was found and what it paid
Public bounties only; many reports disclose without the amount.
| Class | Reports | Paid | Median | Highest | In all |
|---|---|---|---|---|---|
| Access control lesson | 6 | 0 | – | – | $0 |
| Business logic lesson | 6 | 0 | – | – | $0 |
| DoS lesson | 2 | 0 | – | – | $0 |
| Race condition lesson | 2 | 0 | – | – | $0 |
| Smart contracts lesson | 2 | 0 | – | – | $0 |
What was fixed
All reportsThe newest fixes, in our words. A fixed bug is not worth re-reporting, but a sibling feature, an older API version or a regression may be.
-
Persisted msg.value in a loop of delegate calls can be used to drain ETH from your proxy
The batch function should be made non-payable to prevent reuse of msg.value.
Disclosed
-
ProxyFactory can circumvent ProxyRegistry
Access control was added so only the registry could call the factory's deploy function; later the registry was removed and registration moved into the factory, leaving a single deployment path.
Disclosed
-
Registry.sol fails to deliver expected functionality
The team removed the duplicate ownership state and registry, making the factory the single source of truth for ownership and routing all transfers through it.
Disclosed
-
Malicious targets can manipulate MIMOProxy permissions
The Mimo team removed all storage variables from MIMOProxy, moving owner, gas reserve, and permissions to separate contracts, so delegatecall cannot manipulate them.
Disclosed
-
MIMOEmptyVault.sol executeOperation() does not transfer the Vault leftover assets to the owner, it is locked in the MIMOEmptyVault
The Mimo team updated the contract to transfer only the flash loan repayment amount from the proxy, so excess collateral is never sent to the empty vault contract.
Disclosed
-
Incorrect implementation of access control in MIMOProxy:execute
The execute function was changed to read the first four bytes of the data parameter directly instead of extracting the selector from calldata, and a unit test covers the behaviour.
Disclosed
-
vaultOwner Can Front-Run rebalance() With setAutomation() To Lower Incentives
The project decided against fixing this, stating that a timelock would not be sufficient and might hurt legitimate use.
Disclosed
-
Malicious manipulation of gas reserve can deny access to MIMOProxy
The issue was fixed by moving the minimum gas reserve storage to the MIMOProxyFactory and adding an owner-only setMinGas function, so the value can no longer be manipulated via delegatecall.
Disclosed
-
SuperVault’s leverageSwap and emptyVaultOperation can become stuck
The contract should set the allowance to zero before approving a new amount, though the judge noted this alone may not work with USDT because its approve returns no value.
Disclosed
-
Decimal token underflow could produce loss of funds
The report recommends ensuring that tokens have fewer than 18 decimals.
Disclosed
-
Fund loss or theft by attacker with creating a flash loan and setting SuperVault as receiver so executeOperation() will be get called by lendingPool but with attackers specified params
The contract should track whether it initiated a flash loan with a state variable and only allow executeOperation() when that flag is set.
Disclosed
-
ABDKMath64 performs multiplication on results of division
The order of operations should be changed so multiplication happens before division.
Disclosed
-
Users can use updateBoost function to claim unfairly large rewards from liquidity mining contracts for themselves at cost of other users.
The updateBoost function should be removed so boost multipliers can only change when rewards are claimed and user accounting is updated.
Disclosed
-
Non-standard ERC20 Tokens are Not Supported
The report recommends using OpenZeppelin's safeApprove, which handles tokens that do not return a boolean.
Disclosed