Skip to content

Hunt prep

Before you test Vechain | Stargate Hayabusa

What 94 disclosed reports say about Vechain | Stargate Hayabusa: 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 12

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

    Check reward claim window boundary for off-by-one after exit

    Business logic Read the lesson

    Several reports show the claimable period calculation letting exited delegations claim past their end period. Re-test the boundary logic in the claim path on Stargate.sol with delegations that exit exactly on a period boundary, since the fix may not cover every exit ordering.

  2. 2

    Test effective stake accounting when validator and delegator exit in same period

    DoS Read the lesson

    The dominant finding here is double decrement of effective stake when a validator exits after a delegator. Probe the exit ordering variants in Stargate.sol, including re-delegation and unstake after both exits, to see whether any path still underflows or double-subtracts.

  3. 3

    Probe newly added levels for missing boost price initialisation

    Business logic Read the lesson

    Reports show levels added after deployment get no boost price, allowing free boosts and maturity skips. Test addLevels in StargateNFT.sol for other uninitialised per-level fields and whether a later setter can correct them.

  4. 4

    Check unstake access control and zero address validator handling

    Access control Read the lesson

    One report claims an access control bypass in unstake and another flags an unchecked zero address validator. Test unstake in Stargate.sol for caller restrictions and validator address validation, including whether a crafted validator argument changes accounting.

  5. 5
  6. 6

    Look for stale checkpoint state after level or supply changes

    Business logic Read the lesson

    One report describes stale checkpoints corrupting historical state and another notes missing supply update events. Test level additions and supply changes in StargateNFT.sol to see whether cached or checkpointed values diverge from live state and affect later claims.

  7. 7

    Check migration and token manager caller restrictions

    Access control Read the lesson

    A report flags inconsistent permitted callers in migrateTokenManager. Test the migration path and any privileged setters in Stargate.sol for missing or overly broad authorisation, including whether a non-owner can trigger state changes.

  8. 8

    Test boost and maturity logic for newly added levels

    Business logic Read the lesson

    Reports show a zero maturity or zero boost price on new levels lets users skip maturity and boost for free. Test the mint and boost paths in MintingLogic.sol and StargateNFT.sol for other per-level parameters that default to permissive values.

  9. 9

    Probe hasRequestedExit and exit period reporting consistency

    Business logic Read the lesson

    One report shows hasRequestedExit returning true for already exited delegations and another shows inconsistent exit period event values. Test the exit state queries and events in Stargate.sol for mismatches that could mislead integrators or gate later actions.

  10. 10

    Check first period reward loss for pending validators

    Business logic Read the lesson

    A report shows delegators losing their first reward period when delegating to pending validators. Test delegation to validators in different lifecycle states in Stargate.sol to see whether period indexing skips or double-counts the first period.

  11. 11

    Test reward claims after exit for continued accrual

    Business logic Read the lesson

    Many reports show exited delegators still accruing or claiming rewards. Re-test the claim path in Stargate.sol with delegations that exit and then wait several periods, checking whether per-user effective stake tracking prevents post-exit payouts.

  12. 12

    Look for arithmetic underflow in effective stake on unusual exit sequences

    DoS Read the lesson

    Reports repeatedly describe underflow in effective stake accounting causing permanent locks. Test exit sequences that mix delegator exit, validator exit and re-delegation in Stargate.sol, watching for subtraction paths that assume a non-zero prior balance.

Public bounties only; many reports disclose without the amount.

ClassReportsPaidMedianHighestIn all
Business logic lesson 64 0 – – $0
Smart contracts lesson 17 0 – – $0
DoS lesson 10 0 – – $0
Access control lesson 1 0 – – $0
Misconfiguration 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.