
ApeCoin has fallen roughly 18% over 24 hours after an attacker exploited a vulnerability in ApeChain to extract about 138 million APE tokens worth $9.87 million.
Blockchain security firm Blockaid first reported the attack, saying the attacker exploited a vulnerability to artificially inflate their native APE balance on ApeChain. The attacker then used the official LayerZero bridge to withdraw about 138 million existing APE tokens held on Ethereum.
Yuga Labs’ vice president of blockchain, known as “Quit” on X, said the chain has been paused in response to the attack, adding: “We are actively working with Caldera and all possible parties to patch the issue and unpause the chain.”
ApeCoin is an ERC-20 token used in the Bored Ape Yacht Club ecosystem. The amount withdrawn on Ethereum was equivalent to nearly 14% of ApeCoin’s fixed supply of 1 billion tokens.
According to the article, the hacker doubled their APE 28 times in one bundled transaction exploiting ApeChain's native yield ledger by delegating yield to a contract and destroying it within the same transaction, the ledger got confused and refunded the delegated APE back to hacker even though when the contract is destroyed the APE is already refunded to the hacker. This created a copy of the hacker's APE therefore inflated the total supply.
The hacker did it only by looping 28 times and 1 APE become 268 million APE, that's the the power of exponential doubling 2
28 even 1 APE could become 268 million APE in no time. I wonder why the hacker only stopped at the 28th loop though. The worse thing is,
this isn't flaw on smart contract code but flaw on the blockchain itself. As a result, the blockchain is currently paused and every transaction including stablecoins, defi, and so on are all frozen.
With AI not only protocol get exploited, even the blockchain itself got exploited, things will only get worse, what do you think?