The Hayabusa fork calls StopEnergyGrowth() immediately, freezing passive VTHO generation, while DPoS block rewards only start after a transition period of up to 14 days. During this window no VTHO is generated network-wide, contradicting the VIPs that say the change happens with DPoS adoption.
The native wrapper for totalSupply charges gas for only one storage read, but the underlying TotalSupply function now performs three storage reads after a protocol change. An attacker could call totalSupply at a lower gas cost than intended, causing gas accounting inconsistencies.
A malicious node can send a block header with a malformed VRF proof (valid gamma but zeroed c and s) that causes the receiving node to crash during header validation. This allows an attacker to crash peers and potentially shut down the network.
The node code compared two big integer pointers for equality instead of their numeric values, so the check almost never matched. As a result the node would always try to pack a privileged parameter-setting transaction on startup, needlessly mutating chain parameters and consuming resources.
The checkStake function in the staker code adds three unsigned 64-bit values and tries to detect overflow, but it fails to check the carry flag after the first addition. An overflow in that first addition could go unnoticed and the function could return a wrong total, although the report says all inputs are bounded so this cannot happen in current code paths.
The scheduler includes the node master in the block production sequence even when that validator is marked inactive, while other inactive validators are excluded. This lets an offline validator's weight affect consensus calculations and scheduling, causing delays and inconsistencies.
The Mapping storage layer charges gas based on the encoded byte size of values rather than the storage transition type, so clearing a non-zero slot to zero and reading an empty slot are billed zero gas. An attacker could craft transactions with many such cheap operations to increase node resource consumption by at least 30% per unit gas.
A flaw in the delegation withdrawal logic leaves validators on a renewal list even after their pending stake is withdrawn, allowing an attacker to bloat the list with cheap transactions. During epoch transitions, this forces unmetered database writes and Merkle trie recalculations, increasing block processing time and potentially disrupting BFT consensus.
A Thor node's sync code checks the wrong error variable after decoding a block, so a malformed block from a peer is not rejected and the code then dereferences a nil header. Any peer able to reach the public P2P port could crash a validator or full node, and repeated attacks could take many nodes offline.
The native_issuance call reads storage through CalculateRewards without first charging the storage-read gas, so the call is undercharged. An attacker could call the exposed issuance() function and pay less gas than the protocol's intended accounting for those reads.
The native_isEndorsed function undercharges gas because it does not account for the storage reads performed by GetValidation after the HAYABUSA fork. An attacker could repeatedly trigger this undercharge to save gas, potentially causing economic depletion and a network shutdown.
At the Hayabusa proof-of-stake activation boundary, votes cast at or below the activation height are recorded with zero weight even though the round already uses a stake-weighted two-thirds threshold. Because the justifier keeps only the first vote per signer, an epoch with enough real stake can fail to justify or commit until extra weighted votes arrive, temporarily delaying finality.
A code change on the release branch removed a gas charge before a call to Authority.Native(..).Get() in the staker native contract, so that code path consumes less gas than intended. An attacker could exploit this to pay less gas than the protocol expects when adding a validator while proof-of-stake is inactive.
The BFT finality logic in the Summarize() function uses a strict greater-than comparison instead of greater-than-or-equal when checking if two-thirds of validators participated. This means that when participation is exactly two-thirds, the epoch is not justified or committed, so finality stalls and new transactions cannot be confirmed.
The report argues that native contract wrappers charge gas through manually pre-calculated hardcoded calls rather than dynamic metering, so a refactor of the underlying storage logic could leave operations mis-priced. The author claims this could open a gas-based denial-of-service vector, but no exploit is demonstrated.
The transaction pool sorts executable transactions by priority fee and truncates the list to a fixed limit, so lower-fee transactions are dropped. An attacker who fills that capped list with transactions that each nearly fill a block can cause the packer to skip them all after a small seed transaction executes, leaving blocks mostly empty and censoring honest users.
The TotalSupply() function in the energy module returns the initial grown supply plus cumulative issuance but never subtracts burned amounts, so it overstates the circulating supply. An attacker could not directly steal funds, but downstream contracts relying on totalSupply() may misbehave due to the inflated figure.
The native energy contract charges only one storage-read gas fee for totalSupply and totalBurned, even though each call performs several storage decodes and big-integer arithmetic. An attacker could loop these calls cheaply to consume most of a block's CPU and delay block production.
The governance parameter setter in the params built-in contract accepts any value for the validator reward percentage without checking it. If a governance transaction sets it above 100, the reward distribution calculation underflows and all DPoS rewards for validators and delegators become zero.
The native_addValidation function charges an extra storage-read gas fee before calling a function that already charges for its own storage access, so users pay more gas than necessary when the chain is not in its Proof-of-Stake phase. An attacker does not gain anything; the issue is a small, persistent overcharge for every affected transaction.
A delegation submitted in the same staking period just before a validator signals exit becomes permanently frozen. When the delegator later tries to withdraw, the transaction reverts because an internal pending-stake counter was already reset to zero during the exit, causing an underflow.
The transaction submission endpoint did not check whether the parsed JSON body was null, so a null body left the transaction pointer empty and the next call dereferenced it. An attacker could send such a request to crash the HTTP handler and drop the connection, causing an outage for clients relying on the RPC.
The native_isEndorsed function reads the global ProposerEndorsement parameter from storage on every call, causing a redundant cold SLOAD when invoked multiple times in one transaction. An attacker could not exploit this; it is a gas inefficiency that wastes about 2100 gas per additional call.
The transaction pool caches each transaction's priority gas price and cost the first time it becomes executable, and never refreshes them. When the base fee later rises, the cached priority stays high while the real tip drops, so the packer keeps preferring a transaction that now pays almost nothing, reducing proposer rewards and delaying honest users.
VH
VeChain Hayabusa Upgrade
Low
Instant results are busy. Press Enter to search every report.
No direct matches. Search every report above, or try a bug class like IDOR or SSRF.