Skip to content

Hunt prep

Before you test Perennial V2 Update #1

What 58 disclosed reports say about Perennial V2 Update #1: 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 15

Ideas drawn from this program's disclosed reports and our class lessons. None of them is a known bug: each is a place to look, and the reports linked under it are why. Check the current scope before testing anything.

  1. 1

    Recheck uint40 truncation on other stored fee and amount fields

    Business logic Read the lesson

    The interface fee truncation shows the codebase stores validated values in narrower types than it checks. Audit every fee, magnitude and amount that is validated against one width and cast to a smaller one, especially in the market and vault fee paths, and test boundary values just above the storage maximum.

    From the lessons: Solidity lending and commitment pool contracts with maturity borrows,...

  2. 2

    Compare MultiInvoker closable logic against Market across all paths

    Business logic Read the lesson

    Several reports show MultiInvoker's closable amount diverging from Market's for pending, invalid and current oracle versions. Build a matrix of position states (settled, pending, invalidated, zeroed) and compare the two implementations for each, since the same copy divergence keeps recurring.

    From the lessons: The liquidation routine that seizes collateral, deducts a liquidator f...

  3. 3

    Test settlement fee charging for retired and zero weight markets

    Business logic Read the lesson

    The vault charges settlement fees for markets whose weight is zero and cannot remove them. Check whether other per-market loops (rebalancing, reward claiming, asset accounting) also iterate retired markets and whether a zero weight market can still affect user claims.

    From the lessons: ERC-4626 style vaults with period-based withdrawal buckets, blocklist...

  4. 4

    Probe vault collateral accounting for excluded pending fees

    Business logic Read the lesson

    The vault collateral calculation omits pending keeper and position fees that the market includes. Test other vault views and health checks (max redeem, max deposit, epoch asset snapshots) for the same omission, since a mismatch between vault and market accounting appears repeatedly.

    From the lessons: Junior LP redemption and deposit pricing at epoch boundaries.; Recapitalisation, reconcile and high-water mark logic for Senior and J...

  5. 5

    Recheck deposit cap arithmetic with claimable and pending assets

    Business logic Read the lesson

    The max deposit calculation added claimable assets instead of subtracting them. Exercise the cap with combinations of unclaimed redemptions, pending deposits and multiple users in the same epoch to see whether other cap or limit formulas mix claimable and collateral amounts.

    From the lessons: ERC-4626 style vaults with period-based withdrawal buckets, blocklist...

  6. 6

    Test keeper and oracle loops for single-market revert propagation

    Business logic Read the lesson

    KeeperOracle commit reverts for all markets when one market update fails, and request records only the first market per version. Check other batch loops over markets and callbacks (settle, update, reward claim) for the same lack of per-item error handling or early return placement.

    From the lessons: Cross-chain operator contracts with job execution, bonding and gas che...

  7. 7

    Exercise invalid oracle version handling across market and vault

    Business logic Read the lesson

    Invalid oracle versions repeatedly cause position limit bypass, global and local desync, and vault over-sizing. Test every path that settles or invalidates pending positions (maker limit checks, vault strategy sizing, liquidation) with an invalid version to find further places that skip adjustment or limit checks.

    From the lessons: Leveraged lending positions, Uniswap strategy tick ranges, fee collect...

  8. 8

    Check self-liquidation and margin invariant bypass variants

    Business logic Read the lesson

    Reports show positions can be opened and self-liquidated in one transaction to bypass efficiency and liquidity limits, and that close paths skip the maintenance invariant. Test other order types and modifiers (taker invariant, utilisation buffer, close paths) for the same gap between open and close enforcement.

    From the lessons: Open and close virtual price impact charges and rebates, including ref...; Virtual price impact charged on skew-increasing opens and refunded as...

  9. 9

    Test liquidation position direction and fee accounting invariants

    Business logic Read the lesson

    Liquidators could increase positions because only closable zero was checked, and fee calculation used stale collateral. Test liquidation paths for missing direction checks, fee underflow and stale balance reads, including bad debt socialisation and negative collateral outcomes.

    From the lessons: The liquidation routine that seizes collateral, deducts a liquidator f...

  10. 10

    Probe keeper fee payment paths for empty or zero input abuse

    Business logic Read the lesson

    KeeperFactory settle paid a fee for empty arrays, and vault update with zero amounts inflated checkpoint counts. Test every keep modifier and fee-paying entry point with empty, zero and repeated calls to see whether fees are paid without work or shared unfairly.

    From the lessons: Cross-chain operator contracts with job execution, bonding and gas che...

  11. 11
  12. 12

    Test oracle price exponent and rounding handling

    Business logic Read the lesson

    Negative exponents were mishandled and rounding in vault share maths allowed first-depositor manipulation. Check other price conversion and share calculation paths for sign handling and rounding direction, especially where small deposits or donations change exchange rates.

    From the lessons: Junior LP redemption and deposit pricing at epoch boundaries.

  13. 13

    Probe access control on settle, claim and factory update functions

    Access control Read the lesson

    Settling the zero address disrupted accounting, claim could be forced on another account, and factory update had wrong privilege checks. Test permissionless functions that take an account or address parameter for missing ownership checks and zero address handling.

  14. 14

    Test vault redeem and claim under market failure and zero values

    Business logic Read the lesson

    Redeem reverts when one market fails and claim can underflow when epoch assets are zero. Test emergency and edge paths (zero price payoff, zero amount positions, failed market) for reverts that lock funds, and check whether any bypass exists.

    From the lessons: ERC-4626 style vaults with period-based withdrawal buckets, blocklist...

  15. 15

    Check rebalancing fee accounting and settlement flywheel sync

    Business logic Read the lesson

    Repeated rebalancing with asymmetric maker fees drains the vault, and user and global settlement flywheels can desync. Test rebalance and settlement ordering across epochs, including small deposits that push pending epochs, for fee leakage and share misallocation.

    From the lessons: Junior LP redemption and deposit pricing at epoch boundaries.; Recapitalisation, reconcile and high-water mark logic for Senior and J...

Public bounties only; many reports disclose without the amount.

ClassReportsPaidMedianHighestIn all
Business logic lesson 45 0 – – $0
DoS lesson 9 0 – – $0
Access control lesson 1 0 – – $0
Smart contracts lesson 1 0 – – $0

What was fixed

All reports

The 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.