Reproduced Exploit

Kinetiq deactivateValidator leaves 1,000 HYPE on the validator

deactivateValidator stores a rebalance request for the validator's balance and sets active to false. It never calls processValidatorWithdrawals. After deactivating a validator that holds 1,000 HYPE, the validator still holds 1,000 and the staking manager holds 0. The control calls the withdraw in t…

Feb 2025•Ethereum•dos•3 min read

Loss

1,000 HYPE stays on the validator. The control pays 1,000 to the staking manager

Chain

Ethereum

Category

dos

Date

Feb 2025

Source

AuditVault

EVM Playground

Source-level debugger — step opcodes and Solidity in sync

evm-hack-analyzer

The attack is replayed in an in-browser EVM preloaded with the exact dumped fork state. The execution tree shows every call; step by Solidity line or by opcode across all depths — source, Stack, Memory, Storage, Balances (native / ERC-20 / NFT), Transient storage and Return value stay in sync. Click a tree node, opcode, or source line to jump. No backend, no live RPC.

Loading fork state…

Source & credit. Reproduction of a public audit finding curated by AuditVault — the original finding: 58610-h-02-validatormanager-missing-fund-withdrawal-from-validator. Standalone Foundry PoC and full write-up: 58610-h-02-validatormanager-missing-fund-withdrawal-from-validator_exp in the evm-hack-registry mirror.


Vulnerability classes: vuln/dos/frozen-funds · vuln/logic/missing-check

Key info#

FieldValue
Loss1,000 HYPE stays on the validator. The control pays 1,000 to the staking manager
Vulnerable contractStakingManager.deactivateValidator
Attacker EOA0x1111111111111111111111111111111111111111
Attack contractExploit
Attack txExploit.run()
Chain / block / dateEthereum model · block 0 · 2025-02
Compilersolc 0.8.27, cancun, via IR
Bug classDeactivate records a request and never withdraws

TL;DR#

deactivateValidator stores a rebalance request for the validator's balance and sets active to false. It never calls processValidatorWithdrawals. After deactivating a validator that holds 1,000 HYPE, the validator still holds 1,000 and the staking manager holds 0. The control calls the withdraw in the same function and the manager receives 1,000.

The vulnerable code#

SOLIDITY
if (bal > 0) {
    // @> VULN: a rebalance request is stored and the validator balance is never withdrawn.
    requested = bal;
}
active = false;

The control then calls processValidatorWithdrawals, which pushes the balance to the manager.

Root cause#

The withdrawal request is only an accounting record. The HYPE sits on the validator account. Later closes of that request need the tokens to already be in the staking manager, and they revert because the manager balance is still zero.

Attack walkthrough#

  1. The validator is funded with 1,000 HYPE.
  2. deactivateValidator sets requested to 1,000 and clears active.
  3. No transfer runs. The validator balance is still 1,000. The manager balance is 0.
  4. The control manager deactivates and calls processValidatorWithdrawals.
  5. The control validator pushes 1,000 HYPE to its manager and ends at 0.

Diagrams#

flowchart TD A["Validator holds 1000 HYPE"] --> B["deactivateValidator stores a request"] B --> C["active is set false"] C --> D["No withdraw runs"] D --> E["1000 HYPE stays on the validator"] E --> F["Control processValidatorWithdrawals pays 1000 to the manager"]

Impact#

1,000 HYPE is stuck on the deactivated validator. The staking manager cannot complete the rebalance it just recorded. The control path delivers that 1,000 to the manager.

PoC#

BASH
cd 58610-h-02-validatormanager-missing-fund-withdrawal-from-validator_exp
forge test -vv

test_exploit_deactivate_leaves_1000 asserts the validator still holds 1,000e18, the manager received 0, and the control manager received 1,000e18.

Sources#


Sources & further analysis#

Reproductions & code

Alerts & third-party analyses

  • Web3Sec X hacked database: search.
  • Rekt leaderboard: search.
  • Solodit incident search: search.

These dashboards index community alerts tweets, post-mortems, and independent write-ups. Reach them through the protocol name above to cross-check this reproduction against other analyses.