TL;DR
On December 2, 2026, at 18:03:34 UTC, one transaction on ApeChain turned 1 APE into 268,435,456 APE. Blockaid flagged it as a CREATE2/SELFDESTRUCT loop. Yuga Labs' Quit traced it to ApeChain's native yield code: the attacker delegated yield to a contract, self-destructed that contract in the same transaction, and a bug left behind a copy of the attacker's balance, doubling it each round for 28 rounds. The same transaction sent 138,000,000 APE over the LayerZero OFT bridge to Ethereum. Eighty-five seconds later, the Ethereum adapter pulled 138 million real APE out of ApeCoin Staking and handed it over. Blockaid's $9.87M figure is that APE at its pre-attack price; the attacker's realized take was closer to $7.3M. ApeChain has been halted since 18:29 UTC that day. Yuga says it froze about 130M APE on ApeChain and will back the 138M from its own treasury. No postmortem has been published as of December 4. Our reading: the bug lived in the chain, but the loss was sized by the lockbox, which would release any amount the remote chain vouched for.
What Happened on ApeChain?
ApeChain is an Arbitrum Orbit chain that uses APE as its gas token. APE reaches it over LayerZero from Ethereum, where the bridge adapter keeps the locked APE staked in ApeCoin Staking.
At 18:03:34 UTC on December 2, a contract at 0x6c2e…c60c, called by the externally owned account 0x4846…3DB7 with 1 APE attached, ran 28 rounds of the same routine. The on-chain trace holds 56 CREATE2 frames and 56 SELFDESTRUCT frames over 28 addresses, and each address paid the attacker exactly twice what the previous one did: 1, 2, 4, 8, up to 134,217,728 APE. We pulled the same trace from ApeChain's public RPC and got the same counts, plus 28 reverted calls, one per round.
The same transaction then emitted an OFTSent event for 138,000,000 APE to LayerZero endpoint 30101, which is Ethereum. The rest, about 130.4 million APE, went to the attacker's own account on ApeChain, where it still sits at the halted chain head.
Quit, Yuga Labs' VP of Blockchain, was direct about where the bug was: "This was not a bug within the token or the bridge contracts, but the chain itself." True, and less reassuring than it sounds: the bridge contracts are where 138 million real tokens left.
What Is ApeChain's Native Yield, and Where Did It Break?
Native yield means your gas-token balance grows on its own, with no claiming. To make that work, ApeChain changed the account model itself. ApeChain's native yield documentation says five fields were added to the StateAccount object (flags, fixed, shares, debt and delegate), and a balance is computed as shares * sharePrice + fixed - debt. Accounts sit in one of three modes: automatic (yield accrues, the default for EOAs), void (no yield, the default for contracts) or delegate (the account keeps a fixed balance and its yield goes to another address). A contract switches modes by calling a system contract built into the chain at 0x...0065, with configureDelegateYield(address delegate) being one of three functions, and only the account itself can change its own mode.
An APE balance on ApeChain is therefore derived from bookkeeping the chain's own client code maintains. Every rule the EVM guarantees about balances (reverts undo changes, a destroyed account is gone) has to hold for those extra fields too, and nothing in upstream Ethereum code knows they exist.
SELFDESTRUCT is where that got tested. Under EIP-6780, SELFDESTRUCT only deletes an account when it runs in the same transaction that created the contract; otherwise it just sends the balance. The attacker deliberately stayed in the deleting case: every self-destructing address in this transaction was created earlier in the same transaction.
Quit said the attacker pointed their yield at a contract and destroyed it 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 trace fits that description exactly. Each round's payout equals the attacker contract's balance at that moment: 1 APE held, 1 copied out, 2 held. Twenty-eight doublings later the contract held 2^28, which is 268,435,456 APE.
How Did One Round of the Loop Work?
The trace shows three calls per round, in the same order every time:
- Point the yield. The attacker contract calls
configureDelegateYieldon the0x65system contract, naming as its delegate an address that does not exist yet: the next CREATE2 address it is about to deploy. - The scoped probe. The contract calls itself through a function that deploys that CREATE2 address, self-destructs it (moving nothing), and then reverts on purpose with the reason string
scoped. - The payout. The contract calls itself again, deploys the same bytecode to the same address, and self-destructs it again. This time the self-destruct sends APE to the attacker contract, equal to the attacker contract's balance at that point.
Which frame leaves the copy behind is not in the public record: no postmortem, no published patch. The shape points at the revert path: a reverted frame should roll back every account change it made, and an account created and destroyed inside it should leave nothing. A delegate field or derived balance that survives that rollback would produce precisely this pattern. Treat that as our inference from the trace, not as the confirmed root cause.
(The revert reason scoped is the attacker's own label. It reads like someone who knew exactly which boundary they were testing.)
The Attack, Step by Step
| Time (UTC, Dec 2) | Chain | Step | Evidence |
|---|---|---|---|
| 16:12 | Ethereum | The attacker address bridges 1,736.63 APE to ApeChain through Relay, then a second, smaller deposit | Relay deposit tx |
| 18:03:34 | ApeChain | One transaction runs 28 delegate-yield and SELFDESTRUCT rounds: 1 APE becomes 268,435,456 APE | Trace, block 56,533,726 |
| 18:03:34 | ApeChain | Same transaction sends 138,000,000 APE to Ethereum through the OFT adapter | OFTSent, endpoint 30101 |
| 18:04:59 | Ethereum | Adapter receives the message and withdraws 138M APE from ApeCoin Staking to the attacker | Delivery tx, block 26,544,111 |
| 18:07:35 | Ethereum | First sale: 1,000,000 APE swapped through 0x | First sale tx |
| 18:29:04 | ApeChain | Last block produced; the chain is still halted at block 56,535,991 | ApeChain RPC |
| 18:48 | Public | Blockaid's alert goes out | Blockaid on X |
| 20:20 | Public | Quit's explanation of the bug | Quit on X |
| 20:37:35 | Ethereum | Last APE leaves the attacker address; one minute later the last of 4,431.84 ETH moves to a second address | Last sale tx |
| 23:51 | Public | Yuga CEO's update, timed 3:40pm PT, says the attacker is out of APE to sell | Michael Figge on X |
Why Did the Ethereum Lockbox Pay Out 138 Million Real APE?
Because nothing in it asked whether 138 million was a reasonable number. The Ethereum side of the bridge is ApeOFTAdapter, a LayerZero OFT adapter whose lockbox is ApeCoin Staking. When APE leaves Ethereum, the adapter stakes it. When APE comes back, the adapter claims rewards and withdraws whatever it is short of the amount owed. By our read of the verified adapter source, that path has no per-message cap, no rate window and no pause function.
Per the dev.to trace, an archive read of ApeCoin Staking's APE balance shows about 156.3 million before the delivery block and about 18.3 million after it. Our own archive read matches. One LayerZero message took 88.3% of the APE behind the bridge.
An OFT lockbox trusts the remote chain completely. If the remote chain says 138 million tokens were sent, the lockbox releases 138 million. Its security is the security of the remote chain's accounting, which here included a balance model one transaction could inflate 268 million times over.
We wrote the same thing two weeks ago. On November 21, a forged message minted unbacked CYBER on Solana, and the Ethereum lockbox paid out the matching real tokens. A stolen verifier key caused that one and a client bug caused this one; the lockbox behaved the same way both times. LayerZero publishes a rate limit pattern for capping how many tokens an OApp moves in a window, and the adapter did not use one. ApeCoin had also announced in November that it was moving APE to Chainlink CCIP, where, per crypto.news, issuers can configure limits for individual routes. That migration was announced, not live, when the attacker used the LayerZero route (a month's notice, as it turned out, was a month too long).
How Much Was Actually Lost?
Three numbers are in circulation, and they describe different things.
- $9.87M is Blockaid's value for the 138 million APE released on Ethereum, which crypto.news works out to roughly 7.15 cents per APE. It is a pre-sale mark, and it is the figure most coverage headlines.
- About $7.3M is what the attacker realized. Specter's investigation puts the swap proceeds at $7.3 million, and EconoTimes, as summarized by Hacked.com, reported the 138 million APE sold for about 4,432 ETH. Selling 138 million tokens into a falling market moves the price against you.
- 138 million APE is the cost to the system, whatever the price. That is the hole in the bridge backing, and it is the number Yuga has said it will fill from its treasury.
We trust the third number most, because it is on-chain to the token, and treat $7.3M as the best estimate of what the attacker walked away with. One more correction: Figge's update says "~130M APE" was bridged to mainnet, and later in the same post that 138M will be backed. The chain is unambiguous. OFTSent and OFTReceived both carry 138,000,000, and the roughly 130 million figure is what stayed frozen on ApeChain.
On cost, Etherscan values the first Relay deposit at $92.09, and the exploit itself needed 1 APE of seed. A few hundred dollars of APE and gas returned about $7.3 million.
What Did the Attacker's Playbook Look Like?
Preparation was small and same-day. The attacker address bridged APE from Ethereum to ApeChain through Relay about two hours before the exploit. On ApeChain it held 2,723 APE just before the attack block, by our RPC read. That was enough for gas and the 1 APE seed.
The size of the bridge-out was a choice. The loop minted 268 million APE but the transaction bridged 138 million. Nothing public explains why; exit liquidity on Ethereum is a plausible reason, and it is only that.
The exit ran for two and a half hours. By our count of the address's APE transfer history, the attacker made 529 outgoing APE transfers between 18:07:35 and 20:37:35, through 0x, CoW Protocol, LI.FI and a handful of unlabeled routers, about 137.6 million APE in total. About 10.6 million of it had left by the time ApeChain stopped producing blocks at 18:29, and about 38.1 million by Blockaid's public alert. The remaining ~99.5 million went after the alert, while Yuga was pulling exchange liquidity. Figge listed the response: sequencer stopped, CeX and DEX liquidity pulled on five chains, Binance deposits stopped, LI.FI and Chainlink CCIP bridges shut off, the LayerZero route rate limited, a 10% bounty offered. "Despite our efforts, the attacker was still able to find enough paired liquidity on Mainnet to sell into."
The proceeds have not moved. Between 20:32 and 20:38 UTC the attacker sent 4,431.84 ETH, in three transfers, to a second address that Etherscan now labels ApeCoin Exploiter 2. As of December 4 it still holds 4,431.84 ETH and has never sent a transaction: no mixer, no bridge, no exchange deposit yet. That is the figure behind EconoTimes' 4,432 ETH, and it is the pile Yuga's 10% bounty is aimed at. By our read of the sale wallet's token history, it is now a target too: fake "ETH" token transfers to lookalike addresses beginning 0x6a3b, the proceeds wallet's prefix, are being planted in it, waiting for a careless copy-paste.
It may not have been the attacker's first chain that day. Specter attributes an earlier attack to the same actor: CTC Chain disclosed that an attacker took 17.73 million CTC from its launchpad auction at 01:19 UTC on December 2 and minted 1 billion unbacked USD1 at 06:11 UTC, using "a weakness in upstream open-source components we build on, as configured in our runtime," not a contract bug. CTC Chain recovered the CTC and is withholding the mechanism until other affected projects patch. We have not independently linked the two attacks on-chain. If Specter's attribution holds, one actor spent December 2 hunting chain-level accounting bugs on two different chains.
Why This Matters Beyond ApeChain
Chains that customize their execution layer carry execution-layer risk where contract audits never look. Native yield, gas-token rebasing and custom precompiles all add state next to the balance geth already tracks, and each addition has to survive reverts, nested reverts, CREATE2 redeployment to the same address and same-transaction SELFDESTRUCT. Those edge cases cost an attacker almost nothing to try.
The audit-complacency trap has two halves. A clean audit of the token and the adapter would have been accurate, and the bug was not in either. The chain's yield code did not size the loss either. The lockbox did, by converting a bug on ApeChain into a release against the real backing on Ethereum.
A lockbox should assume the remote chain can be wrong, and bound what any single message, or any hour of messages, can take.
What Should Operators Do Now?
- Cap release per message and per window on every lockbox. A release of 88.3% of backing in one message should be impossible by construction. Use LayerZero's rate limit pattern or an equivalent per-route limit, sized to normal traffic, with an owner-controlled override for large legitimate moves.
- Give the lockbox a pause that a narrow role can call.
ApeOFTAdapterhad no pause on the release path, so stopping deliveries meant changing LayerZero configuration under the owner key. A pause-only role is the cheapest circuit you can add. - Test custom account fields against every revert and destroy path. If your chain adds state to
StateAccount, write differential tests for: change then revert, create then destroy in one transaction, create, destroy, recreate at the same CREATE2 address, and all of those nested. Assert that total supply is invariant across each. - Run a supply invariant on the native token. Total native balance on the chain should move only by bridge-in, bridge-out and accrued yield. A one-block jump of 268 million is detectable with a single query per block.
- Pre-stage the liquidity response. Yuga's list was the right list, and it still ran behind the sales. Know in advance who pulls liquidity on which venue, and how fast.
Could Monitoring Have Stopped It?
The ApeChain leg could not be stopped by anything watching it: the inflation and the bridge send happened inside one transaction. The Ethereum release is a different story, and it had an 85-second gap between send and delivery. A monitor on the Ethereum lockbox would have seen a single message withdrawing 138 million of the 156.3 million APE held in ApeCoin Staking, an 88.3% drop in backing in one transaction, after an OFTSent on ApeChain 85 seconds earlier for the same amount. The adapter as deployed had no pause function, so no monitor could have halted that delivery. Tripwire checks rules about contract state, such as how much may leave in one transaction, against every block and pending transaction, and pauses a contract through a pause-only role once a team enables that response. With a pause hook on the lockbox, a rule like "no single release above 5% of staked backing" fires on this delivery, and the 85 seconds become a window the defender can use.
The deeper fix sits before deployment. A bridge audit reads every release path in the adapter, which is where the missing cap and the missing pause both live. An L1 and execution-layer audit tests a chain's custom account state against the EVM's revert and SELFDESTRUCT semantics, which is where this bug lived. We do both, and on a chain with a native-yield client, both are in scope.
Frequently Asked Questions
Was the ApeChain exploit a bug in the bridge?
No. Yuga Labs says the bug was in ApeChain's native yield code, in the chain itself, not in the token or the bridge contracts. The bridge did what it was built to do: release on Ethereum whatever ApeChain said was sent. Its lack of a release cap is why one chain bug became a 138 million APE withdrawal.
How did 1 APE become 268 million?
The attacker delegated their yield to a contract address, created and self-destructed that contract in the same transaction, and a bug left behind a copy of their balance, which the next self-destruct paid to the attacker. That doubled the balance each round. Twenty-eight rounds of doubling turn 1 APE into 268,435,456.
How much did the ApeChain attacker actually make?
About $7.3 million. The headline $9.87M is Blockaid's pre-sale value of the 138 million APE released on Ethereum. Specter puts the swap proceeds at $7.3 million, and EconoTimes reported about 4,432 ETH.
Are APE holders on Ethereum affected?
No, not their balances. No Ethereum holder's tokens moved, though ApeCoin Staking lost 138 million APE of bridge backing and the price fell sharply during the sell-off. Yuga says it will back those 138 million APE from its treasury and remove the roughly 130 million frozen APE from supply. Neither step has been independently confirmed.
Is ApeChain back online?
Not yet. The last ApeChain block was produced at 18:29:04 UTC on December 2, and it was still the chain head when we checked on December 4. Yuga says the sequencer stays off until the bug is fixed.
Sources / References
- Blockaid on X, initial alert
- Quit (Yuga Labs) on X, bug explanation
- Michael Figge (Yuga Labs) on X, 3:40pm PT update
- crypto.news, "ApeCoin staking released $9.87 million in APE after exploit"
- Hacked.com, "ApeChain Paused After Attacker Turns 1 ApeCoin Into Millions"
- DEV Community, "A chain bug turned 1 APE into 268 million. Tracing it across ApeChain and Ethereum in plain Node.js"
- Etherscan, LayerZero delivery transaction (138,000,000 APE from ApeCoin Staking)
- Etherscan, ApeOFTAdapter verified source
- Etherscan, attacker's Relay deposit to ApeChain
- Etherscan, first sale
- Etherscan, last sale
- ApeChain Docs (archived), "Native Yield on ApeChain"
- EIP-6780, "SELFDESTRUCT only in same transaction"
- LayerZero, "Design Patterns & Extensions" (rate limit)
- Specter investigation, Telegram
- CTC Chain on X, security incident disclosure
- SigIntZero, Cyber $1.1M bridge exploit



