ApeChain exploit turned just 1 APE into roughly 268 million tokens through a balance flaw.

The attacker bridged 138 million unbacked APE to Ethereum, worth nearly $9.9 million.

Yuga Labs offered the attacker a 10% bounty for returning stolen funds, while APE coin dropped 22%.

ApeCoin (APE), a cryptocurrency tied to the Bored Ape Yacht Club (BAYC) ecosystem, has been hit by a major exploit after an attacker turned just one APE into roughly 268 million tokens on ApeChain.

The attack drained about $9.87 million, sending the APE token down 22% and forcing ApeChain to halt operations.

On December 2, an attacker found a bug in ApeChain’s native yield system. This system allows users to send the rewards from their tokens to another wallet.

The attacker started with just 1 APE and used a smart contract trick called CREATE2/SELFDESTRUCT to exploit the bug. Normally, when a contract destroys itself, the transaction should fail and reverse any changes.

But ApeChain’s balance system had a flaw that allowed the attacker to keep a copy of the balance. The attacker repeated this process 28 times, doubling the balance each time. As a result, 1 APE turned into roughly 268 million APE in a single transaction.

Recent findings suggest that #PeckShieldAlert #ApeCoin has been exploited, resulting in 138M $APE being minted ($9.89M). The exploiter has swapped the stolen $APE mainly for 4,432 $ETH ($7.3M) and is holding it at 0x6a3b55…46fCD.$APE has dropped 17.6%. https://t.co/YfpksnsX6S pic.twitter.com/seicW17L6d.

It has been revealed that this added a huge number of new tokens to the supply. ApeCoin’s circulating supply rose to around 1.26 billion, exceeding its fixed 1 billion supply cap.

It has been revealed that the attacker could not simply cash out all 268 million newly created tokens. Instead, they used the official LayerZero route to bridge 138 million APE from ApeChain to Ethereum.

Those $138 million tokens were worth roughly $9.89 million at the time.

Sources indicate that the attacker then began selling the real tokens on Ethereum. Pechshield reported that most of the stolen APE was swapped for about 4,432 ETH, worth roughly $7.3 million.

Yuga Labs VP of blockchain “Quit” said the team froze the remaining 130 million APE on ApeChain, but the 138 million already bridged to Ethereum could not be stopped.

Industry observers note that today an attacker exploited a bug in ApeChain’s native yield code to manipulate their own ApeCoin balance. ApeChain has been paused in response to the attack. The team was able to freeze 130M ApeCoin, but the attacker was able to bridge out the rest (138M ApeCoin) to Ethereum….

Following this incident, Yuga Labs paused ApeChain and began working with Caldera, SEAL911, exchanges, and other partners to patch the vulnerability.

ApeChain will not restart until the issue is fixed and verified.Yuga Labs CEO Michael Figge said the company’s treasury would cover the 138 million APE that reached Ethereum.

The team also offered the attacker a 10% bounty for returning the stolen assets or sale proceeds.

Sources indicate that the exploit quickly hit APE’s market price. The token fell nearly 22% in 24 hours, reaching around $0.0558, while its market capitalization dropped to roughly $55.84 million.

→ Read original article