📢 Flash
SlowMist Yu Xian: The root cause of the ApeChain attack lies in a flaw in the native yield-state rollback logic of the underlying nodes.
On December 3, SlowMist founder Yu Xian published an analysis stating that the root cause of the ApeChain attack lies in a flaw in the state rollback mechanism for its native yield functionality. Specifically, the attacker first used the precompiled contract’s `configureDelegateYield(address)` function to delegate yield from a target account to a CREATE2 address under their control. Then, within a sub-call, they deployed that address and immediately executed `SELFDESTRUCT`, triggering an explicit `revert` (i.e., a “scoped” rollback). Because the underlying StateDB failed to correctly roll back the associated yield and balance states during this process, the original account’s balance was not zeroed out, while the target address retained an additional, equivalent amount of APE tokens—thereby violating the core invariant that the native token’s total supply must remain constant.