Hunt prep
Before you test VeChain Hayabusa Upgrade
What 26 disclosed reports say about VeChain Hayabusa Upgrade: 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 | 13 | 0 | – | – | $0 |
| DoS lesson | 9 | 0 | – | – | $0 |
| Smart contracts lesson | 3 | 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.
-
There is an issue about zero vtho generation during hayabusa transition period
The code should call StopEnergyGrowth() only when DPoS becomes active after the transition period, not at the fork block.
Disclosed
-
During the call to native_totalSupply, there's missing gas charges
The gas charge in the native wrapper should be increased to account for the additional storage reads, for example by charging for three storage reads instead of one.
Disclosed
-
The code comparing two big.In pointers for equality, not their numeric values
The comparison should compare the numeric values of the two big integers rather than their pointers.
Disclosed
-
The check for integer overflow in the function staker.go#checkStake() is incorrect
The carry should also be checked after the first addition and the function should revert if it is set.
Disclosed
-
Inactive validator scheduling bypass in vechain thor pos consensus mechanism
The scheduler should reject or exclude the node master when it is not active, as the function's own comment already says an error should be returned.
Disclosed
-
There is an issue in Mapping Gas Undercharge and is Enables ≥30% Extra Node Work Per Unit Gas
The Mapping should bill at least one SloadGas for every read and at least one SstoreResetGas for any storage reset, regardless of encoded byte size, by using transition-type based billing.
Disclosed
-
Trivial renewalList Bloat Attack Exploits Unmetered Database Writes to Increase Block Processing Time, Risking BFT Disruption
The withdrawal logic should remove validators from the renewalList when net pending changes drop to zero, and Renew functions should avoid unconditional database writes; the text does not state that a fix was applied.
Disclosed
-
Remote P2P Crash During Sync (Thor default configuration)
The conditional should check the decode error and return early, with an added nil-header guard and optional peer scoring for malformed payloads.
Disclosed
-
There is a problem in the dpos threshold switch undercounts votes at hayabusa activation
The report suggests upgrading existing zero-weight first-seen votes once proof-of-stake becomes active, or delaying the stake-weighted threshold until all signer weights for the round are known; it does not state that a fix was applied.
Disclosed
-
During addValidation if PoS not active, Authority.Native(env.State()).Get() should consume double the gas
The fix should reintroduce the gas charge before the call or make the Get call charge gas internally.
Disclosed
-
Brittle, Hardcoded Gas Metering Model
The older built-in contracts should be refactored to accept a gas charger object so gas is consumed dynamically as storage operations occur, removing the hardcoded calls.
Disclosed
-
TotalSupply() overstates circulating VTHO
TotalSupply() should subtract the net burned amount (TotalBurned()) from the sum of grown supply and issued tokens.
Disclosed
-
Underpriced supply queries enable cheap cpu dos
The gas schedule should charge for each underlying storage fetch and add a fixed compute premium for the big-integer math in both getters.
Disclosed
-
Critical: Missing Input Validation in Governance Parameter Allows Malicious Underflow, Leading to Permanent Freeze of All DPoS Rewards
Input validation should be added to the params Set function so the validator reward percentage is rejected unless it is between 0 and 100.
Disclosed
-
Redundant gas charge in native addvalidation function leads to unnecessary gas costs
The explicit charger.Charge(thor.SloadGas) in the if !isPoSActive block should be removed and the metered Authority.Native.Get() call relied upon to account for storage access gas.
Disclosed