Babylon Incorrect FP inactive accounting in costaking creates “phantom stake” that earns rewards after BTC unbond
Moderate severity
GitHub Reviewed
Published
Dec 8, 2025
in
babylonlabs-io/babylon
•
Updated Dec 9, 2025
Package
Affected versions
<= 1.1.0
Patched versions
None
Description
Published to the GitHub Advisory Database
Dec 9, 2025
Reviewed
Dec 9, 2025
Last updated
Dec 9, 2025
Summary
A state consistency bug in
x/costakingcan leave a BTC delegator with non-zeroActiveSatoshis(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.
References