Hack Database

ApeChain: A Bug Turned 1 APE Into 268 Million, and the Attacker Took $9.87M of Real Tokens

An attacker doubled one ApeCoin into 268 million on ApeChain, bridged out 138 million real tokens and sold most of them. The chain is switched off.

ApeChain was switched off after 138 million real APE were bridged out.

Key numbers

  • ~$9.87M (138M APE)

    Stolen

  • ~$7.3M (4,432 ETH)

    Sold for

  • 138M APE (~$9.87M at the time)

    Real APE released

  • 268M APE

    Fake APE created

  • ~130M APE

    Frozen by the team

At 18:04 UTC on 2 December 2026, a single transaction on Ethereum released 138 million ApeCoin from the contract that holds staked tokens. It looked like an ordinary bridge payout. The coins had not come from anyone's wallet. They had been paid out against a balance on a different blockchain that, a few moments earlier, had not existed.

ApeCoin (APE) is the token of the Bored Ape Yacht Club world. It is run by the ApeCoin DAO, a members' vote that works like a shareholder meeting for the token, with Yuga Labs, the company behind the cartoon apes, as its best-known builder. ApeChain is the separate blockchain, a private motorway beside Ethereum, where APE is used to pay fees. The attacker turned one APE on ApeChain into roughly 268 million, then cashed out half of it on Ethereum.

Blockaid, the security firm that sounded the alarm, valued the 138 million real tokens taken at $9.87 million. Selling them fast into a falling market got the attacker less: about $7.3 million, for 136.8 million APE swapped into 4,432 ether, according to the on-chain tracker Lookonchain. APE lost more than a fifth of its price within a day. ApeChain has been switched off since the evening of 2 December, and the game launch it was meant to carry, Otherside, was six days away.

How one coin became 268 million

The flaw sat in ApeChain's "native yield" feature, code that has been part of the chain since it opened in October 2024. Yield here means a share of rewards that an account can hand to another address, a bit like signing your dividends over to a friend.

Yuga's vice president of blockchain, who posts as Quit, described the trick in a thread at 20:20 UTC. The attacker pointed their yield at a smart contract, a small program that lives on the blockchain and runs by itself, and made that contract delete itself inside the same transaction. A transaction is a batch of instructions meant to succeed or fail as a whole. Normally this combination should have cancelled everything. Instead, Quit wrote, "a bug caused it to leave behind a copy of the attacker's balance". Each round doubled the balance. Twenty-eight rounds took 1 APE to about 268 million, all in one transaction. Two to the power of 28 is 268,435,456, so the figure is exactly what repeated doubling gives.

Blockaid named the two tools involved: CREATE2 and SELFDESTRUCT. SELFDESTRUCT is an instruction that lets a contract erase itself. CREATE2 lets a developer build a contract at an address that can be worked out in advance, so a deleted contract can be put back at the very same address. In bank terms, imagine an account that closes itself and reopens under the same number while the clerk tracking the yield still counts the old and the new versions as two. That is a simplified picture. Yuga has not yet published a code-level account, so exactly how the copy was left behind is still to be confirmed.

The bug was not in the token or the bridge. "This was not a bug within the token or the bridge contracts, but the chain itself," Quit wrote.

138 million real coins

Fake balances on ApeChain would be worth little if they stayed there. The attacker needed a way out, and the official bridge was it. The bridge, built on a system called LayerZero, works as a lock and release machine: real APE is locked up on Ethereum and the same amount appears on ApeChain, and the reverse when someone leaves. If a hole lets someone create APE on ApeChain from nothing, the bridge dutifully releases real, locked APE on Ethereum for it.

The Ethereum record shows exactly that. Transaction 0xc3b927a9aa06fb89b865edc21848f3bc9bab878a416326bb7d7c91dcec8de5f6, in block 26,544,111 at 18:04:59 UTC, moved 138,000,000 APE from the contract Blockaid names as ApeCoin Staking to the bridge adapter at 0x5182fede730b31a9cf7f49c5781214b4a99f2370, and on to the receiving address 0x484651ffacf3f43fc4861b4190b880a4e15f3db7. Real stakers' tokens, in other words, backed the invented ones. The 138 million equals 13.8 per cent of the token's published supply of one billion, a point the news site Cryptometer made.

The next two and a half hours

Reports said only that the attacker "sold" the coins. The Ethereum record shows how fast. Counting every APE transfer out of the receiving address from the moment of the bridge-out, there are 531 of them between 18:07 and 20:37 UTC, adding up to just over 138 million APE. One receiving contract took 92.5 million of it and another 23.5 million; neither carries a public label we could find. About 1 million APE, around $60,000, went to Gate and KuCoin, according to the Chinese-language site ChainCatcher.

Timing matters. Blockaid's public alert on X came at 18:48 UTC. By the block mined at that minute, 40.1 million APE had already left the attacker's address, about 29 per cent. By the time Quit posted his thread at 20:20 UTC, roughly 119.9 million, or 87 per cent, was gone. That is CMZ's own count from the chain, with the 20:20 cutoff estimated from block times of about twelve seconds. It suggests an alert or a freeze had little left to catch.

At last look the receiving address held no APE and 0.0034 ether. The ether the sales earned has gone somewhere else, and the public reports do not say where.

What the team did, and what does not add up

At 21:22 UTC the ApeCoin account said ApeChain had been paused. Yuga chief executive Michael Figge posted a longer update at 23:51 UTC. The team had stopped the chain's sequencer, the machine that orders its transactions, pulled liquidity from centralised exchanges and from decentralised ones on Ethereum, BNB Chain, Solana, Arbitrum and HyperEVM, halted deposits on Binance, shut off the Li.Fi and Chainlink CCIP bridges, and limited LayerZero. It sent the attacker an offer of 10 per cent of the stolen value, about $987,000 on Blockaid's figure, for returning the coins or the proceeds.

"Despite our efforts," Figge wrote, "the attacker was still able to find enough paired liquidity on Mainnet to sell into." He said the attacker was now out of coins to sell, that circulating supply stood at 1.26 billion APE with 268 million of it unbacked, that the 130 million frozen on ApeChain would be removed from supply, and that the 138 million bridged out would be backed with 138 million APE from Yuga's own treasury.

Two things stand out. Figge's post says "about half" of the new coins, "~130M", was bridged. The chain says 138 million went out, and 130 million is what was frozen; Quit's earlier thread has it the right way round. And as of 3 December neither Yuga nor the ApeChain team had shown a transaction carrying out the treasury promise, or given a date for restarting the chain.

Was it audited?

Nobody has said. ApeChain was built as a layer-three network on Arbitrum with the rollup provider Caldera, under a plan the ApeCoin DAO approved in 2024 from Horizen Labs and Offchain Labs. None of the reports we found says whether the native yield code was reviewed by an outside auditor, or by whom. Quit says it has been there since the beginning. So it was missed, or never examined, or sat in a part of the chain that reviews of the token and bridge contracts did not cover. That is the question Yuga's promised postmortem has to answer.

The pattern: coins made from nothing

This is the sixth case this year in CMZ's archive where tokens were created or inflated and then cashed out through a market that took them at face value. In March, Resolv's stablecoin minted itself far beyond its backing and about $25 million was taken. In May, a stolen admin key printed $77 million of fake bitcoin on Echo Protocol and the thief realised $822,000, while at StakeDAO someone minted 5.4 trillion tokens and got $91,000. In June, TesseraDAO lost $2.5 million to 99 million printed tokens. On 29 November, a minting key created 1 billion IBS tokens at POTS Money and drained $5.71 million from its pool. The sums our pages list for those five come to about $34 million. ApeChain's $9.87 million, counted at what was taken as CMZ does for every hack, takes the list to about $44 million.

The shape repeats. The fake supply is huge and the real money small, because the thief can only take what a pool or a bridge holds. At ApeChain the ceiling was the 138 million real APE locked on Ethereum. Earlier this year Liquid Network lost $319 million because a bridge paid out against bitcoin that never existed, which shows how bad the same flaw gets when the locked amount is large.

The aftermath

Holders of APE on Ethereum can still trade it. APE on ApeChain cannot move while the chain is paused. Yuga says it will cover the 138 million bridged tokens from its treasury, but that is a promise, not yet a visible transaction. Anyone offered a "claim" or "recovery" page by email or social media should treat it as a scam and use only the official ApeCoin and Yuga channels for updates.

The money trail is open. The receiving address held no APE at the last check and no public acceptance of the bounty has been reported. Yuga says exchanges are on notice to preserve records and to freeze withdrawals from related accounts. The full postmortem has not been published, and nobody has been named.

Editor's view, Usman Saif Cheema: "A chain that holds other people's money should be able to show who checked its code. If nobody can, users should treat it as unchecked."

What this teaches

  • A bridge is only as safe as the chain on its other end: it will pay out real money against a balance that buggy code invented.
  • Speed beats alerts. By the time the exploit was public, nearly a third of the real tokens had already left the attacker's address.
  • Yield and delegation code on a new chain needs its own audit, separate from the token and bridge contracts.
Sources