Hunt prep
Before you test Firelight
What 184 disclosed reports say about Firelight: 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 13
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
Test rescue flag reuse on other compliance and admin sweep paths
Business logic Read the lesson
The rescueWithdrawFromBlocklisted flag collision is the dominant finding here, reported many times against the same function. Check whether other privileged sweep or recovery paths (payout allowlist handling, incident-manager driven transfers, any admin move of shares) reuse a terminal per-period or per-account flag that ordinary request paths still credit into. The repeated reports show the pattern of a shared boolean with two meanings is systemic, so look for the same conflation elsewhere.
Backed byStale withdrawal claim flag permanently freezes a new same perio... (2026) Incorrect claim-flag update in the rescueWithdrawFromBlocklisted... (2026) RescueWithdrawFromBlocklisted latches a withdrawal bucket that i... (2026)From the lessons: Reward accumulation updates in staking and vault contracts.
-
2
Probe period-boundary checkpoint writes from deposit and mint paths
Business logic Read the lesson
Most boundary reports focus on withdraw and redeem overwriting the period-start asset checkpoint. Test whether deposit, mint and direct token transfers in the boundary second also write or overwrite the checkpoint used for payout caps and capacity. The root cause is a timestamp-keyed checkpoint that overwrites on equal keys, so any state-changing path in that second is worth checking.
Backed byPeriod-open totalAssetsAt(P_start) is overwritten by any vault f... (2026) Exact period boundary deposits and withdrawals corrupt the openi... (2026) Period boundary checkpoint overwrite in firelightvault lets an u... (2026)From the lessons: Strategy allocation and deallocation functions in vaults.; Vault deposit, withdraw and redeem functions across yield and staking...
-
3
Check capacity snapshot staleness for first-loss buffer and oracle reads
Business logic Read the lesson
Several reports show cover capacity sized from a stale period-start vault snapshot while payouts mid-period are invisible. Test whether the first-loss buffer balance, oracle price and other capacity inputs are read live or snapshotted inconsistently, and whether a mid-period payout or buffer top-up leaves capacity overstated. Mixed clocks in one calculation are the recurring root cause.
Backed byStale collateral snapshot in _computeAvailableCapacity lets the... (2026) # [C-2] CoverOrderAllocator contract values collateral at a peri... (2026) _computeAvailableCapacity values the first-loss buffer live and... (2026)From the lessons: Price feeds, pool share weights and Curve or Balancer pool oracles use...; Check whether the oracle can return a stale price or a deprecated pool...
-
4
Test share pricing and deposit guards after a near-total payout
Business logic Read the lesson
Many reports cover dust deposits minting huge share counts after a payout drains assets while shares remain. Test the deposit, mint and redeem paths across partial-loss states, not just zero assets, and check whether the zero-share and zero-asset guards hold at each price level. Also check whether recovered assets or premiums can be captured by a late depositor.
Backed byA slash collapses the share price to near zero, and deposits reo... (2026) Once payout() drives totalAssets() to ~0 with shares still outst... (2026) Post slash deposit accounting in firelightvault leads to theft o... (2026)+2 more reports
From the lessons: Vault deposit, withdraw and redeem functions across yield and staking...; Mint or redeem shares and check whether the function enforces a minimu...
-
5
Test ERC-4626 max views against execution under varied rounding states
Business logic Read the lesson
The maxDeposit and maxMint mismatches recur across many reports, mostly after rewards or direct transfers shift the exchange rate. Test the views against deposit and mint across decimals variants, direct transfers, fee-on-transfer tokens and reward inflows to find states where the quoted maximum still reverts. The rounding asymmetry between floor and ceil is the pattern to vary.
Backed byFirelightVault.maxMint() returns a share count larger than mint(... (2026) Firelightvault can return positive erc 4626 entry maxima that ca... (2026) CR-01 fix bypass: maxMint() converts the absolute cap instead of... (2026)From the lessons: Check whether every swap, deposit or mint path enforces a user-supplie...; Test the protocol with several ERC20 variants (different decimals, no...
-
6
Check redeem zero-output guard across price and decimals combinations
Business logic Read the lesson
Several reports show redeem burning shares for zero assets when the price is below one. Test the redeem path with different asset decimals, virtual offsets and price levels to see whether the missing zero-asset guard appears in more states than the reported ones. Compare against the deposit path guard to confirm the asymmetry.
Backed byThe withdraw side of the share/asset conversion has no zero-outp... (2026) Missing assets==0 guard in FirelightVault.redeem() burns a user'... (2026) [FirelightVault] redeem() lacks the zero-output guard present in... (2026)From the lessons: Mint or redeem shares and check whether the function enforces a minimu...; Vault deposit, withdraw and redeem functions across yield and staking...
-
7
Test incident assessment approval binding to a specific round
Business logic Read the lesson
One report shows approval calldata commits only to the incident ID, letting a curator swap in a larger loss schedule after review. Test whether other privileged actions (payout, incident close, capacity config changes) bind to the exact reviewed state or can be replayed against a changed one. This is a governance and business-logic gap distinct from the checkpoint family.
From the lessons: Proposal creation and configuration functions that can be front-run.
-
8
Probe cross-period liability accounting in capacity and payout
Business logic Read the lesson
Reports show delayed previous-period claims can consume collateral backing new cover, and payouts executed in a later period are invisible to the snapshot. Test the interaction between pending previous-period liabilities, first-loss buffer drawdown and new capacity commitments across period rollovers. The gap is whether liabilities are reserved before capacity is sold.
Backed byDelayed previous period claims can leave current cover without c... (2026) A period-C payout executed during C+1 is invisible to CoverOrder... (2026) Protocol insolvency and lp fund drain via stale underwriting cap... (2026)From the lessons: Strategy allocation and deallocation functions in vaults.; Yield distribution and reward treasury contracts.
-
9
Test rescue function period bounds and closed-period checks
Business logic Read the lesson
Several reports note the rescue path lacks the closed-period check the normal claim path enforces. Test whether rescue can target unstarted or still-open periods, and whether any admin function can clear or reset the claimed flag. The invariant that a claim flag is only set after a period closes is worth probing across all rescue and claim entry points.
Backed byMissing period bound in rescueWithdrawFromBlocklisted flags an u... (2026) RescueWithdrawFromBlocklisted marks a not-yet-elapsed period as... (2026) Rescuewithdrawfromblocklisted can pre claim a live withdrawal bu... (2026)From the lessons: Two-step admin and ownership transfer functions.
-
10
Check reentrancy through cover NFT receiver callback during settlement
Smart contracts Read the lesson
One report shows a contract that is both shareholder and cover buyer withdrawing during the ERC-721 receiver callback at period start. Test settlement, mint and payout paths for external calls before state updates, especially callbacks that can trigger vault flows. This is a smart-contract reentrancy angle the reports only touch once.
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...
-
11
Test token variants against vault accounting and rescue paths
Smart contracts Read the lesson
The reports use a single asset type. Test the vault with fee-on-transfer, no-return-value and non-standard-approval tokens to see whether deposit accounting, capacity snapshots and rescue transfers break. The checkpoint and share math assume exact amounts received, which token variants can violate.
Backed byFirelightVault.maxMint() returns a share count larger than mint(... (2026) Stale collateral snapshot in _computeAvailableCapacity lets the... (2026) Delayed previous period claims can leave current cover without c... (2026)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...; Call every transfer and transferFrom path with a token that returns fa...; Use a token whose approve and transfer do not return a boolean and che...
-
12
Probe race conditions on withdrawal request and claim beyond boundary timing
Race condition Read the lesson
The boundary-second checkpoint overwrite is a timing race reported many times. Test other same-block orderings, such as request and claim in one block, rescue and request in one block, or commit and settle in one block, for state inconsistencies. The single-packet and limit-overrun techniques used here suggest widening the race window on other paired operations.
Backed byA period-start withdrawal can remove collateral already committe... (2026) Same-timestamp checkpoint corruption in withdraw() causes theft... (2026) Same block withdrawal rewrites committed period start assets and... (2026)From the lessons: Use a single-packet race technique to send many requests in one TCP pa...; Send many requests in one TCP packet to widen the race window beyond t...; Application-level checks without database constraints
-
13
Check capacity config and admin setters for missing validation
Business logic Read the lesson
Reports focus on user-facing flows, but admin setters for deposit limits, period duration and capacity config are less covered. Test whether changing these mid-period leaves snapshots, caps or pending withdrawals in inconsistent states, and whether setters validate bounds. The struct packing report hints admin config paths are lightly reviewed.
Backed byCapacityconfig field order wastes a full storage slot (2026) Multiple natspec inaccuracies across icoverorderallocator and ii... (2026) Period-open totalAssetsAt(P_start) is overwritten by any vault f... (2026)From the lessons: Initialise and setup functions on newly deployed contracts.; Two-step admin and ownership transfer functions.
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 | 177 | 0 | – | – | $0 |
| Race condition lesson | 3 | 0 | – | – | $0 |
| DoS lesson | 1 | 0 | – | – | $0 |
| Smart contracts 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.
-
Incorrect claim-flag update in the rescueWithdrawFromBlocklisted function leads to permanent freezing of restored users' funds
The rescue function should not write the isWithdrawClaimed flag; alternatively, removeFromBlocklist should reset the flag or claim eligibility should be derived from live entitlement.
Disclosed
-
FirelightVault.maxMint() returns a share count larger than mint() will accept, violating EIP-4626's "MUST NOT be higher than the actual maximum" — the standard mint(maxMint(u), u) in
It should be fixed by computing the answer in asset space, mirroring maxDeposit, for example converting the remaining headroom to shares.
Disclosed
-
Mutable period start exposure snapshot in firelightvault lets a redeeming lp retain slashable assets and underpays a valid cover claim
The exposure cap should be made immutable once the covered period has begun by reading the state strictly before the boundary, for example at the last instant of the preceding period.
Disclosed
-
A period-start withdrawal can remove collateral already committed to cover, causing a zero vault payout on a valid claim
The vault exposure used at commitment time should be stored and reused during payout, or the commitment should be invalidated or recomputed if a withdrawal changes that exposure before settlement.
Disclosed
-
Rescuewithdrawfromblocklisted permanently freezes later same period withdrawals for a reinstated account
The rescue function should not set the user-facing claim flag for the source account; it should use separate bookkeeping or clear the flag when appropriate.
Disclosed
-
Rescuewithdrawfromblocklisted marks the period claimed so a later self withdraw cannot be claimed
The withdrawal request should reject a booking when the period is already marked as claimed for the receiver, or the claim logic should account for new bookings made after a rescue.
Disclosed
-
Same-timestamp checkpoint corruption in withdraw() causes theft through underpaid settled cover
Both the capacity calculation and the payout should read a strictly-before-timestamp exposure getter so same-timestamp mutations cannot affect the period's cap.
Disclosed
-
Exact-boundary withdrawal overwrites opening exposure and underpays valid claims by 50% at launch leverage
The payout and allocation capacity should use a strict pre-boundary snapshot, querying the checkpoint at the period start minus one second, with regression tests at T-1, T and T+1.
Disclosed
-
RescueWithdrawFromBlocklisted latches a withdrawal bucket that is still accepting credits, freezing the account's next withdrawal permanently
Delete the line that sets the claimed flag in the rescue function, or add a guard in _requestWithdraw that rejects credits into a latched bucket.
Disclosed
-
Period-open totalAssetsAt(P_start) is overwritten by any vault flow in the boundary second, mis-sizing the payout cap and matching capacity
The report recommends recording the pre-flow total at the period-start key on the first flow of each period, or having both readers look up the timestamp one second before the period start, using the same rule for payout and capacity.
Disclosed
-
Firelightvault can return positive erc 4626 entry maxima that cannot be executed
Both maximums should be computed from the unused asset capacity, with maxDeposit returning zero when the remainder converts to zero shares and maxMint derived from that corrected maxDeposit.
Disclosed
-
MaxMint() can return an amount that reverts when passed to mint()
The report recommends calculating the remaining asset capacity first (depositLimit - totalAssets()) and then converting that amount to shares, rather than converting the global limit and subtracting total supply.
Disclosed
-
Once payout() drives totalAssets() to ~0 with shares still outstanding, share pricing degenerates: any address can mint (totalSupply+1) shares per wei of deposit, capturing
The share pricing should be changed so that a zero or near-zero totalAssets with outstanding shares cannot mint disproportionate shares, for example by handling that state explicitly rather than relying on the +1 offset.
Disclosed
-
Any staker can halve the protocol s maximum incident payout by landing a withdrawal on the exact period start timestamp
The report recommends materialising one immutable opening-exposure snapshot shared by the allocator and payout, or reading the exposure strictly before the boundary in both components; it does not state that a fix was deployed.
Disclosed
-
Missing period bound in rescueWithdrawFromBlocklisted flags an unstarted period as claimed, permanently freezing the account's next withdrawal
The flag write in the rescue loop should be removed, since zeroing withdrawSharesOf already removes the entitlement and the zero check blocks a second rescue.
Disclosed