Tree News

ApeCoin · 2026-12-03 21:59 UTC

ApeChain Incident Post-Mortem: December 2, 2026 ApeChain Incident Post-Mortem: December 2, 2026 On December 2, an attacker exploited a bug in ApeChain’s native yield implementation, created APE that never existed, and bridged 138,000,000 of it to Ethereum. ApeChain is paused and will stay that way until the fix is deployed. This post covers what happened, how it worked, what we’ve done, and what comes next. Timeline 16:12–16:19: A fresh wallet, 0x4846…3DB7, is funded with ~2,723 APE on ApeChain. 18:03:27: The attacker deploys an unverified contract. 18:03:34: One transaction. The attacker sends in 1 APE, the contract doubles its balance 28 times, and it ends up with 268,435,456 APE. 138M is sent to Ethereum through the APE LayerZero bridge in the same transaction. 18:04:59: On Ethereum, the APE bridge adapter withdraws 138M APE from staking and releases it to the attacker. The adapter now holds zero. 18:05–20:30: The attacker sells ~132M APE through DEX aggregators across 531 transfers and consolidates the proceeds, 4,431.84 ETH, into 0x6a3b…6fCD. ~18:29:04: ApeChain is paused. Outbound bridging is halted with LayerZero. 19:25: Yuga Labs sends an onchain bounty offer from its multisig. Dec 3, 07:45–08:14: A secondary wallet sells its remaining 849k APE for ~29.5k USDT and moves the USDT onward. How it Worked ApeChain has native yield. An account can earn yield on its APE, or delegate that yield to another address. Under the hood, a delegated account’s balance is tracked as two numbers: a fixed amount, and a matching debt that cancels it out. The account’s spendable balance is fixed minus debt. Like every EVM chain, ApeChain records each state change in a journal. If a call fails and reverts, the journal is used to undo everything that call did. When a yield delegate self-destructed, the code reset its debt to zero without writing that change to the journal. It then journaled the balance change, but that journal entry only knew how to restore the fixed amount and shares. It had no field for debt. So the attacker: 1. Pointed their yield at a contract address 2. Had that contract self-destruct inside a call 3. Deliberately reverted the call The revert restored the fixed amount but left the debt at zero. The delegate’s spendable balance was now equal to the attacker’s entire balance, and the attacker could pull it back. Each round doubled the balance, and 28 rounds turned 1 APE into ~268M. Then they bridged it. LayerZero’s verifiers worked as expected and confirmed what was a valid message from the ApeChain bridge contract. We reproduced the exploit against pre-exploit chain state to confirm the cause. @SEAL_911 independently pinpointed the same underlying code blocks responsible. Thank you to them for their responsiveness and assistance. The bug was live since at least April of 2026, and possibly since the launch of ApeChain in October of 2024. We will be working backwards to identify exactly when it was introduced, but the priority now is ensuring that it is properly patched. We attribute it being found to the recent increase in the capability of frontier and opensource AI models. What was and wasn’t affected Affected: • The Ethereum APE bridge adapter, which backed APE bridged from ApeChain to Ethereum. It was drained of 138M APE. This will be replenished in full from the Yuga Treasury. • ApeChain state, since ~130.4M created APE still sits in the attacker’s ApeChain wallet. This will be removed via governance. Not affected: • The ApeCoin ERC20 contract on Ethereum. APE held on Ethereum, on exchanges or in your own wallet was never at risk from this bug. • LayerZero message verification, which worked as designed. • Other APE deployments (BNB, Avalanche, Arbitrum, HyperEVM, Monad, Robinhood Chain). What we’ve done • Paused ApeChain until the fix is verified. • Halted bridging out of ApeChain on every destination chain. • Flagged the attacker to major exchanges, bridges, stablecoin issuers, and law enforcement with a full incident report. • Persistent monitoring of every attacker wallet. • Proposed a bounty to the attacker: return all sale proceeds to Yuga Labs by Dec 4, 18:00 UTC. In exchange, 10% of the value returned is paid in USDC. The fix The fix is small: record the debt change in the journal before clearing it, and restore it on revert. We are also auditing the yield code for any other state writes that skip the journal What you should do Nothing right now. Your APE on Ethereum, ApeChain, any other chain, or exchanges is safe. Don’t interact with anyone claiming to offer recovery or refunds. Attackers will use this opportunity to try to run additional scams. All updates will come from this account. Attacker addresses: • 0x484651FFAcF3f43fC4861b4190b880a4e15f3DB7 • 0x6a3b551196998e97A83c7e318F723Ed2Be546fCD (4,431.84 ETH) • 0x11206becccff37c6a36a995d21708f6af0bc7529 • 0x234a0b88c6f8b703fefe5feae837e24df40d3f06 Key transactions: • Exploit (ApeChain): 0xee4ab556e8073393ee779d7381fed7528e520bf47f3e4145d56f643ac6cde949 • Drain (Ethereum): 0xc3b927a9aa06fb89b865edc21848f3bc9bab878a416326bb7d7c91dcec8de5f6 We’ll post again when the patch is verified and before anything restarts.

Loading the story on Tree News…