Hunt prep
Before you test Isomorph
What 22 disclosed reports say about Isomorph: 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 |
|---|---|---|---|---|---|
| Business logic lesson | 16 | 0 | – | – | $0 |
| Access control lesson | 2 | 0 | – | – | $0 |
| DoS lesson | 1 | 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.
-
Malicious user can DOS pool and avoid liquidation by creating secondary liquidity pool for Velodrome token pair
The pricing function was fixed to query the correct pool directly instead of using the router's best-price selection.
Disclosed
-
Users who deposit Lyra LP as collateral will lose OP vault rewards
The vault was fixed by adding a function to claim Lyra rewards, which are sent to the admin for later distribution to users.
Disclosed
-
Wrong constants for time delay
The constants were fixed to use the intended delays (2 days instead of 200 seconds), and the isoUSD token constant was confirmed correct in the actual code.
Disclosed
-
The protocol shouldn't charge interests when paused
The protocol was fixed so that users can close loans, add collateral, or be liquidated while paused, and interest continues to accrue only because those actions are possible.
Disclosed
-
DepositReceipt_Base.sol#L21 : HEARTBEAT_TIME gap is too huge
The fix made HEARTBEAT_TIME an immutable variable set by the deployer for each instance, allowing a shorter heartbeat per deployment.
Disclosed
-
Swapping 100 tokens in DepositReceipt_ETH and DepositReciept_USDC breaks usage of WBTC LP and other high value tokens
The swap amount was changed to an immutable variable set per token, with checks to ensure the swap yields a minimum USDC amount.
Disclosed
-
Bad debt may persist even after complete liquidation in Velo Vault due to truncation
The fix was to change _calculateProposedReturnedCapital to sum all pooled tokens before pricing, matching totalCollateralValue.
Disclosed
-
`latestRoundData()` has no check for round completeness
The code was fixed to validate round completeness by requiring answeredInRound >= roundID.
Disclosed
-
increaseCollateralAmount : User is not allowed to increase collateral freely
The liquidation margin check was removed when adding collateral, as confirmed by the fix.
Disclosed
-
User can steal rewards from other users by withdrawing their Velo Deposit NFTs from other users' depositors
The project fixed the issue by adding checks that validate any depositReceipt being withdrawn was originally minted by that Depositor contract.
Disclosed
-
Anyone can withdraw user's Velo Deposit NFT after approval is given to depositor
The function was fixed by adding a check that the caller owns the NFT before burning it and transferring the tokens.
Disclosed
-
All collateral in Velodrome vault will be permantly locked if either asset in liquidity pair stays outside of min/max price
The suggested change was to price the collateral only when debt remains, but the sponsor noted that later changes made this patch unworkable and closed the issue as won't fix.
Disclosed
-
User is unable to partially payback loan if they aren't able to post enough isoUSD to bring them back to minOpeningMargin
The fix changed the check to only apply when the user is both repaying debt and withdrawing collateral, allowing partial repayments without collateral withdrawal.
Disclosed
-
priceLiquidity() may not work if PriceFeed.aggregator() is updated
The issue was fixed by fetching the aggregator's min and max answers dynamically on every call instead of caching them at construction.
Disclosed
-
The calculation of ````totalUSDborrowed```` in ````openLoan()```` is not correct
The code was fixed to use isoUSDLoanAndInterest instead of isoUSDLoaned when calculating total borrowed USD.
Disclosed