Maya Protocol Halts Network After Six-Bug Exploit Drains $1.7 Million, CACAO Plunges 88.7%

3 min read
Maya Protocol Halts Network After Six-Bug Exploit Drains $1.7 Million, CACAO Plunges 88.7%
PrimeXBT Editorial Team
Reviewed by PrimeXBT

Topics in article

Maya Protocol halted its MAYAChain network after an attacker chained six software flaws together to drain about $1.7 million in bitcoin and other assets. The exploit also triggered a CACAO selloff and arbitrage activity that dragged the total decline in Maya's liquidity pools to an estimated $10.9 million. The team says it hopes the attacker returns the funds for a bug bounty and will otherwise replace the stolen bitcoin.

Maya Protocol halted MAYAChain, its cross-chain trading network, after an attacker exploited six linked software flaws to steal an estimated $1.7 million in bitcoin and other assets. Founder Aalux said on X that the attacker took 20 BTC, worth about $1.4 million, plus roughly $300,000 of other assets, before the protocol activated a global halt to stop further losses.

Six bugs opened the door

A preliminary technical reconstruction found the attack depended on six flaws working together rather than a single vulnerability. MAYAChain first mistakenly flagged an outgoing transaction as stolen and triggered code meant to compensate a liquidity pool for the loss, but that mechanism miscalculated the payout and added roughly 49 million CACAO to a small pool even though MAYAChain's reserve held only about 168,000 CACAO. The transfer failed, but the inflated balance had already been saved, so the network kept treating the pool as if it held the extra tokens.

The attacker then deposited a small amount into the distorted pool, ended up owning more than 99% of it, and withdrew 48.87 million CACAO tokens from Maya's Asgard module using a single cross-chain transaction containing 23 messages. From there, the attacker swapped the tokens for bitcoin, ether and other assets sitting in MAYAChain's pools.

CACAO collapses as the attacker sells

CACAO traded around $0.115 before the exploit and fell as low as $0.013, a drop of nearly 89%, before recovering to around $0.03. As the token plunged, arbitrage traders bought the cheap CACAO and swapped it for bitcoin, ether, stablecoins and other assets in Maya's pools, deepening the damage beyond what the attacker took directly.

The reconstruction estimated the attacker personally extracted about $1.65 million, while roughly $6.4 million of the $10.9 million pool decline came from CACAO's devaluation and another $2.9 million from arbitrage. Separately, about $1.36 million in assets moved to external blockchains, while another $291,000 remained under the attacker's control.

Maya weighs a bug bounty and BTC replacement

According to Aalux's post on X: "Will work to fix and recover in full. We carry on." MAYAChain said it hopes the attacker will return the funds in exchange for a bug bounty and, if not, will work to replace the roughly 20 BTC through investments in Aztec Chain and other means. Repairing the software will not by itself restore the pools, since much of the CACAO created through the exploit is now mixed with tokens belonging to ordinary liquidity providers.

Sources: CoinDesk, crypto.news

Trading involves risk.

Most traded markets

XAU / USD
-0.9% 4,127.61
BRENT
+1.35% 73.620
BTC / USD
+0.7% 63,151.2
EUR / USD
-0.12% 1.14269
USTEC
-0.91% 29,428.7
XAU / USD.24
-0.9% 4,127.61
View all markets

Author

PrimeXBT
Our Editorial Team consists of leading experts with a proven record in the fields of trading, cryptocurrencies, blockchain and finance. We thoroughly research the sources of information in order to provide readers with quality content that serves edu...
Read author’s articles
Alert Triangle Risk Disclaimer
Disclaimer: Some past publications may be outdated. We recommend following our news to stay up to date with the latest information. For any questions, feel free to contact our support team via the chat below.
The content provided here is for informational purposes only. It is not intended as personal investment advice and does not constitute a solicitation or invitation to engage in any financial transactions, investments, or related activities. Past performance is not a reliable indicator of future results.
The financial products offered by the Company are complex and come with a high risk of losing money rapidly due to leverage. These products may not be suitable for all investors. Before engaging, you should consider whether you understand how these leveraged products work and whether you can afford the high risk of losing your money.
The Company does not accept clients from the Restricted Jurisdictions as indicated in our website/ T&C. Some services or products may not be available in your jurisdiction.
The applicable legal entity and its respective products and services depend on the client’s country of residence and the entity with which the client has established a contractual relationship during registration.

Today in markets

Browse Crypto News

Register Now

Trading involves risk

Get started in minutes

Our clients love how fast and simple our sign-up is. It takes just a few minutes to get started!

Get Started Get Started
Get started in minutes

Need Help?

Risk Warning:
Trading in leveraged products carries a high level of risk and may not be suitable for all investors.