Skip to main content
ApeChain Halts After a Yield Bug Unlocks 138 Million APE
Security
5 min read137 views

ApeChain Halts After a Yield Bug Unlocks 138 Million APE

On 2 December at 18:03:34 UTC, one ApeChain transaction inflated a native balance that began with 1 APE, then the official bridge released 138 million real APE from ApeCoin Staking on Ethereum. The sequencer has been paused.

We confirmed both legs of the incident on public RPCs.

What happened#

Native yield on ApeChain lets an account point the yield it earns at another address. Yuga Labs' vice president of blockchain, Quit, said an attacker pointed that yield at a contract and destroyed the contract in the same transaction. "Typically this would revert the entire transaction, but in this case a bug caused it to leave behind a copy of the attacker's balance." The balance doubled 28 times, from 1 APE to about 268 million APE. Quit said this was "not a bug within the token or the bridge contracts, but the chain itself."

We read the ApeChain transaction, 0xee4ab556…de949, in block 56,533,726 at 18:03:34 UTC. It succeeded. The sender, 0x484651FF…5f3DB7, paid 1 APE to a contract at 0x6C2e749E…ebc60C. In the same transaction, 138,000,000 APE was minted to that contract and burned, matching a LayerZero OFT send to Ethereum. Eighty-five seconds later, at 18:04:59 UTC in Ethereum block 26,544,111, transaction 0xc3b927a9…de5f6 released the same 138,000,000 APE from the ApeCoin Staking contract, 0x5954aB96…2afBb9, through the ApeOFTAdapter, 0x5182fede…9F2370, to that address.

The sender's ApeChain balance rose from 2,723.22 APE before the exploit block to 130,438,140.53 APE afterwards, still at that figure on 3 December, with the chain tip at block 56,535,991 (18:29:04 UTC, 2 December). Quit said the remaining ~130 million APE had been frozen. On Ethereum the address sent 531 APE transfers between 18:07:35 and 20:37:35 UTC, totalling 138,004,209.88 APE, and now holds 0 APE and about 0.0034 ETH. Allium reported 4,432 ETH of proceeds ($7.39 million) and valued the 138 million APE at $9.89 million before the incident; Blockaid put the Ethereum release at about $9.87 million.

Quit said the team was working with Caldera on a patch and had offered a 10% bounty for a return of the funds. CEO Michael Figge wrote that the sequencer would stay off until the issues were resolved, that the frozen 130 million APE would be removed from supply, and that the 138 million released on Ethereum would be backed from Yuga's treasury. He described circulating supply as 1.26 billion ApeCoin, "268M of which isn't backed." Quit wrote that a full post-mortem would follow once more details were available; none has been published as of this morning.

What is known and what is not#

  • Mechanism. Confirmed: the ApeChain transaction, the official OFT burn of 138 million APE, and the Ethereum release from staking. The core team's account is a bug in native-yield accounting, not in the token or bridge contracts. We did not re-execute the 28 internal steps or inspect the node code.
  • Amounts. The token amounts above were read on public RPCs. The dollar figures and the 4,432 ETH total are from published reconstructions. A single final loss figure has not been established by us.
  • Freeze and remediation. The remaining ~130.4 million native APE is still on the attacker's ApeChain address, and the chain tip is unchanged. Figge's supply and treasury plans are statements of intent; we have not verified either step on-chain. Who controls the attacking address, and whether the bounty will be accepted, is not established here.

Our analysis#

The Ethereum withdrawal was paid by a bridge that behaved as designed. ApeChain sent a message that 138 million APE had been burned; the adapter released 138 million real APE from the staking contract that held the reserves. Nothing in the adapter could have known that the balance behind that message had been inflated by a chain-level feature.

Native yield and other balance accounting that live in the node are as consequential as a contract that holds reserves: a break in that accounting is what the bridge will later treat as a valid burn. A per-message limit on what the adapter can release would not have removed the bug, but it is the kind of control that could cap how much a single forged burn can unlock.

The 138 million tokens on Ethereum came from the staking contract, not a new mint. The ApeChain tip has not moved since 18:29 UTC on 2 December. Quit's advice in the announcement was to rely on official channels for updates.

Sources#

Share this article

Related Articles