← Back to Home News · GLOBAL

Maya Protocol suffers $1.7M loss in six bug exploit

Make RegTech.com preferred on Google
Maya Protocol suffers $1.7M loss in six bug exploit
MAYAChain was drained in an exploit that chained six bugs in its deposit and outbound-handling code, taking about $1.7 million and crashing the CACAO token 88.7 percent.
AI Summary
  • MAYAChain, the cross-chain liquidity protocol, has been drained in an exploit that chained six separate bugs in its deposit and outbound-handling code. The attacker took roughly $1.7 million in assets, and the network’s native token, CACAO, fell 88.7 percent as the attack played out.
  • According to an on-chain forensic reconstruction verified against MAYAChain’s node data, the attacker triggered a false theft detection, used it to inflate a near-empty ARB.LINK pool, gained 99.93 percent ownership of that pool through a zero-asset liquidity add, and then withdrew 48.87 million CACAO from the protocol’s vault. Around $1.36 million in hard assets left the protocol, led by roughly 20.8 bitcoin.
  • MAYAChain halted the network, said it intends to make users whole, and offered the attacker a bounty to return the funds. Counting CACAO value destroyed alongside the assets extracted, the report puts the total impact at about $11 million.

MAYAChain, a cross-chain liquidity protocol, was drained in a sophisticated exploit that chained together six separate bugs in its own code. The attacker walked away with roughly $1.7 million in assets, and the network’s native token, CACAO, collapsed by 88.7 percent as the attack played out. An on-chain forensic reconstruction of the incident, verified against MAYAChain’s node data, lays out exactly how a single actor turned a set of code flaws into near-total control of one of the protocol’s pools.

How the attack unfolded

This was not a single mistake but a chain of them. The attacker linked six distinct bugs across MAYAChain’s deposit and outbound-handling code, using each to set up the next. The sequence ran roughly as follows:

  • The attacker triggered a false theft detection in the protocol, causing it to misread a legitimate action as a loss.
  • That false signal was used to inflate a near-empty ARB.LINK liquidity pool, distorting the pool’s accounting.
  • With the pool distorted, the attacker added liquidity that contained no real assets and, through the bug chain, was credited with 99.93 percent ownership of the pool.
  • Holding almost the entire pool, the attacker then withdrew 48.87 million CACAO from Asgard, the protocol’s vault.

The forensic report traces the flaws to specific files in MAYAChain’s open-source node code, including its deposit handler, common outbound handler, shared helper functions, and observed transaction outbound logic. Because the bugs were chained, none of them alone would have been enough; the combination let the attacker manufacture ownership out of nothing.

What left the protocol

Beyond the CACAO, the attacker moved real value off MAYAChain. Around $1.36 million in hard assets left the protocol, led by roughly 20.8 bitcoin worth about $1.34 million, together with smaller amounts on Arbitrum:

  • Approximately 20.8 BTC, valued at around $1.34 million, was sent to an attacker-controlled Bitcoin address.
  • 6.03 ARB.ETH and 98.82 ARB.LINK, the latter worth about $1,384, on Arbitrum.

Counting the CACAO the attacker still holds, the total take comes to roughly $1.7 million. The damage to the wider network was larger. CACAO fell from about $0.115 to a low near $0.013, down 88.7 percent, over roughly 153 blocks. Factoring in both the assets extracted and the collapse in CACAO’s value, the report puts the total impact on the protocol at around $11 million.

MAYAChain’s response

MAYAChain halted the network after identifying the exploit, cutting off further outflows. The team has said it intends to make affected users whole, and it has offered the attacker a bounty in exchange for returning the funds, a route that several protocols have used to recover assets after similar incidents. The protocol’s co-founder, Aaluxx (@AaluxxMyth), acknowledged the incident publicly:

Maya Protocol co-founder Aaluxx statement on the MAYAChain exploit, posted via @AaluxxMyth on X, describing the loss, a global network halt and a bug-bounty appeal to the attacker
Maya co-founder Aaluxx’s own account of the exploit, posted via @AaluxxMyth on X: a global halt, an appeal to the attacker to return the funds through a bug bounty, and a plan to make CACAO holders whole. Source: @AaluxxMyth on X.

Why it matters

The MAYAChain exploit reminds us that in cross-chain DeFi, the most dangerous failures are rarely a single obvious hole. Here, six individually smaller bugs combined into a path that gave one actor 99.93 percent ownership of a pool with no genuine capital at stake. For protocols that hold pooled user funds across multiple chains, the episode underlines how much rests on the correctness of deposit and outbound accounting, and how a false internal signal, once triggered, can cascade through the rest of the system. 

Security researchers including PeckShield flagged the incident as it unfolded.

Link copied to clipboard
AI Bot
AI Bot
Hi! I'm the RegTech.com assistant. How can I help you today?
Ask me anything — top trending news, latest regulatory changes in the EU, or simply search for topics.