Skip to content

Hunt prep

Before you test Astaria

What 63 disclosed reports say about Astaria: 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 14

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

    Test buyout paths for stale payee and epoch counters

    Business logic Read the lesson

    Buyouts have produced several distinct accounting faults here, including a payee that is not reset and epoch lien counters that are not updated. Exercise buyoutLien with a changed payee, a duration that crosses into a later epoch, and a subsequent payment or liquidation, and check that the new owner receives funds and that counters stay consistent.

    From the lessons: Liquidation, repayment and debt takeover flows where front-running can...; Reward accumulation updates in staking and vault contracts.

  2. 2

    Probe payment loops for index and amount handling

    Business logic Read the lesson

    Several reports show bulk payments misallocating funds or reverting because liens are stored in a shrinking array and the full amount is passed to the first lien. Test makePayment and _payment with multiple liens of differing sizes, partial repayments and a front-run repayment, and check that each lien is credited only what it is owed.

    From the lessons: Liquidation and force repay paths.; Liquidation, repayment and debt takeover flows where front-running can...

  3. 3

    Check interest and slope maths after partial repayment

    Business logic Read the lesson

    Interest and slope calculations have repeatedly been wrong, with block.timestamp used instead of the supplied timestamp and interest counted twice after partial payment. Test partial repayments followed by slope recalculation and epoch processing, and compare the vault's implied value against expected interest.

    From the lessons: Reward accumulation updates in staking and vault contracts.; Vault deposit, withdraw and redeem functions across yield and staking...

  4. 4

    Test auction timing and extension boundaries

    Business logic Read the lesson

    Auction timing has produced underflows, early endings and over-long extensions around the time buffer and max duration. Exercise bids placed at the very start, within the final buffer and after extension, and check that duration caps and finalAuctionEnd timestamps behave as intended.

    From the lessons: Liquidation, repayment and debt takeover flows where front-running can...

  5. 5

    Review liquidation accountant claim access and timing

    Access control Read the lesson

    The claim function has had missing access control and a finalAuctionEnd set to a duration rather than a timestamp, letting anyone claim early or repeatedly. Test claim before, during and after an auction, from arbitrary callers, and check yIntercept and vault accounting after each call.

    From the lessons: Liquidation and force repay paths.; Initialise and setup functions on newly deployed contracts.

  6. 6

    Test zero-address signer and signature validation

    Access control Read the lesson

    A vault without a delegate was drainable because ecrecover returns the zero address for invalid signatures. Test commitment validation with missing or zero strategist and delegate values, malformed signatures and operator approvals, and check that invalid signers are rejected.

    From the lessons: Initialise and setup functions on newly deployed contracts.; Two-step admin and ownership transfer functions.

  7. 7

    Probe ERC4626 share maths with donations and fee tokens

    Business logic Read the lesson

    Share pricing has been wrong for the first depositor, for fee-on-transfer tokens and before the first payment. Test deposit and mint with a direct donation, a fee-on-transfer token and a non-18-decimal token, and check that shares issued match assets actually received.

    From the lessons: Test the protocol with several ERC20 variants (different decimals, no...; Use a fee-on-transfer token as the asset or collateral and check wheth...; Mint or redeem shares and check whether the function enforces a minimu...

  8. 8

    Check withdraw proxy deposit and mint exposure

    Access control Read the lesson

    The WithdrawProxy inherited public deposit and mint functions, letting anyone capture distributed yield and block processEpoch. Test direct deposits and mints into a withdraw proxy around yield distribution and epoch processing, and check that only intended paths can mint shares.

    From the lessons: Vault deposit, withdraw and redeem functions across yield and staking...; Trigger an internal outflow and check whether deposited share counters...

  9. 9

    Test pause and access modifiers across vault entry points

    Access control Read the lesson

    Mint lacked the whenNotPaused modifier that deposit had, and transferWithdrawReserve had no access control. Compare modifiers across deposit, mint, redeem and reserve transfer functions, and check whether pausing or repeated calls leave state consistent.

    From the lessons: Initialise and setup functions on newly deployed contracts.; Two-step admin and ownership transfer functions.

  10. 10

    Exercise lien creation limits and debt caps

    Business logic Read the lesson

    Several reports show maxPotentialDebt checks that ignore the new lien or use inflated formulas, plus duration limits that are not enforced. Test createLien across multiple collateral tokens and durations beyond the next epoch, and check that the combined debt and duration limits hold.

    From the lessons: Liquidation and force repay paths.; Liquidation, repayment and debt takeover flows where front-running can...

  11. 11

    Probe liquidation timing and no-bid auction outcomes

    Business logic Read the lesson

    Liquidations could be triggered before the auction window, and a no-bid auction handed collateral to the initiator rather than lenders. Test liquidate and endAuction at boundary times and with zero bids, and check that lien counts, accountants and collateral ownership end up correct.

    From the lessons: Liquidation and force repay paths.; Liquidation, repayment and debt takeover flows where front-running can...

  12. 12

    Test reentrancy through auction end and token callbacks

    Race condition Read the lesson

    A malicious lien owner re-entered endAuction to cancel and take a new loan whose lien was then deleted. Test endAuction, buyout and payment paths with a contract owner that calls back into the protocol, and check that state is updated before external calls.

    From the lessons: Functions that make external calls to tokens, native currency or NFTs...; Re-enter a redemption or swap function through a callback and check wh...; Re-enter through a token callback or a read-only call rather than the...

  13. 13

    Check fee calculations and denominators

    Business logic Read the lesson

    Fee maths has been wrong in several places, including basis-point division, uninitialised denominators and fees charged on the full transfer amount. Test protocol fee, initiator fee and vault fee paths with fees enabled and with overpayment, and check that charged amounts match the intended basis points.

    From the lessons: Reward accumulation updates in staking and vault contracts.; Initialise and setup functions on newly deployed contracts.

  14. 14

    Review refinance validation logic

    Business logic Read the lesson

    isValidRefinance used an inverted comparison and required both conditions instead of either. Test refinance with higher and lower rates and with duration changes, and check that only genuinely improved terms are accepted.

    From the lessons: Liquidation, repayment and debt takeover flows where front-running can...

Public bounties only; many reports disclose without the amount.

ClassReportsPaidMedianHighestIn all
Business logic lesson 45 0 – – $0
DoS lesson 8 0 – – $0
Access control lesson 6 0 – – $0
Smart contracts lesson 4 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.