GMX Paid A Hefty Prize As a result of Of This Flaw

GMX, a decentralized change, awarded Collider Analysis a $1 million bug bounty in 2022. This payout was in recognition of their discovery of a crucial bug in GMX’s sensible contracts that straight affected how the protocol tracks excellent debt.

The Bug Affecting GMX And GLP

GMX has not offered extra info on how the bug was patched and when. Nevertheless, the DEX operator stated the bug negatively impacted GMX v1 liquidity suppliers (LPs) because the code led to inaccuracies in quotes associated to “the truthful worth of tokens.” Particularly, the bug affected the World Liquidity Pool (GLP), inflicting it to deviate from its truthful worth. 

Since GMX helps as much as 50X leverage, a system tracks debt borrowed by merchants and the way it’s repaid. It’s sensible contract-driven, and the dealer enters into debt for each leveraged place. If costs transfer in opposition to them, they’re liquidated, and the margin securing the leveraged place is transferred to the protocol.

Any disruption to this mechanism can severely have an effect on GMX, impacting income and disincentivizing liquidity suppliers from participating.

In September 2022, a flaw affecting GLP and impacting the DEX’s “minimal price” and “zero worth impression” options noticed an unidentified exploiter make approach with over $570,000 from the AVAX/USD market. 

AVAX price on September 29. Last year this pair was exploited after a flaw in GMX| Source: AVAXUSDT on Binance, TradingView
AVAX worth on September 29| Supply: AVAXUSDT on Binance, TradingView

By deploying on Arbitrum, a layer-2, and Avalanche, a excessive throughput and low-fee blockchain, the protocol helps low-fee swapping powered by GLP, a liquidity pool holding all belongings traded on GMX. From the GLP, liquidity suppliers who may have been considerably impacted can earn charges from swap charges, spreads from leverage buying and selling, and every time there may be asset rebalancing.

Bounty Program Can Reward Up To $5 Million

Additional particulars show that GMX’s bug bounty program focuses on guaranteeing their sensible contracts and utility operate as designed with out weak point, contemplating the trustless nature of swaps. The objective is to forestall theft of person funds via numerous means, together with unauthorized transfers, worth manipulation of GLP, freezing, and different menace vectors.

Each time there’s a flaw, and the white hacker identifies it, the GMX bug bounty program will distribute rewards relying on the flaw’s severity. Nevertheless, any submission should accompany a report demonstrating how the code error impacts the protocol earlier than being reviewed and the reward distributed.

Even so, in GMX, all crucial sensible contract vulnerabilities are topic to a ten% cap on the potential harm it will have prompted. The utmost bounty paid to builders who pick crucial code flaws is $5 million.

Function picture from Canva, chart from TradingView

Leave a Reply

Your email address will not be published. Required fields are marked *