All reports
Medium

Babylon Incorrect FP inactive accounting in costaking creates “phantom stake” that earns rewards after BTC unbond

Affected versions

Version ranges need review.

Affected versions
*
Fixed version
Not reported
Affected versions
<= 2.3.2
Fixed version
Not reported
Affected versions
<= 3.0.0-snapshot.250805a
Fixed version
Not reported
Affected versions
*
Fixed version
Not reported
Affected versions
< 4.2.0
Fixed version
4.2.0
Affected versions
<4.2.0
Fixed version
4.2.0
Affected versions
*
Fixed version
Not reported
Affected versions
<= 1.1.0
Fixed version
Not reported

Description

Summary

A state consistency bug in x/costaking can leave a BTC delegator with non-zero ActiveSatoshis (Phatom Stake) even after they have fully unbonded their BTC delegation, if their Finality Provider (FP) drops out of the active set in the exact same babylon block height. This creates a “phantom stake”: the delegator’s BTC capital is withdrawn, the FP is inactive, but costaking continues to treat the delegation as active BTC stake allowing ongoing rewards accrual without backing BTC.

Impact

An address can keep earning costaking rewards with zero BTC staked.

Reported by @BottyBott.

Links