35 C
Delhi
Tuesday, June 24, 2025
HomeMarketsMarket AnalysisAttackers loot $5M from Osmosis in LP exploit, $2M returned soon after

Attackers loot $5M from Osmosis in LP exploit, $2M returned soon after



Cointelegraph By Tom Mitchelhill

Osmosis, a decentralized exchange (DEX) built on the Cosmos network, was halted just before 3:00 am EST on Wednesday after attackers exploited a liquidity provider (LP) bug to the tune of roughly $5 million.

The bug was firstĀ identifiedĀ in a Reddit post on the official Cosmos Network page. The user, Straight-Hat3855, brought attention to a ā€œserious problemā€ with Osmosis (OSMO) that allowed users to arbitrarily grow LPs by 50% simply by adding and removing liquidity.Ā The Reddit post was quickly removed, but not before malicious actors took advantage of the bug, which saw approximately $5 million removed from liquidity pools on the Osmosis exchange.

Following the exploit and the identification of the LP bug, the Osmosis exchange was halted at a block height of 4,713,064, according to an announcement from Osmosis block explorer Mintscan.

Explaining how the bug worked in a series of posts in the Osmosis Discord was project moderator RoboMcGobo, who detailed how the flaw allowed attackers to add liquidity to any Osmosis LP and then immediately withdraw it for a 150% return on their initial deposit: ā€œEssentially, the function would give 50% too many LP shares for a join,ā€ RoboMcGobo wrote just after 4:00 pm on Wednesday, adding: ā€œIf one should have gotten 10 LP shares, 15 would be achieved out.ā€

RoboMcGobo explained that the bug was ā€œexploited intentionally by a small number of usersā€ and ā€œseemingly unintentionally by a few others.ā€Ā According to a Twitter thread from Osmosis, four attackers were responsible for 95% of the total exploit amount, with two of the attackers voluntarily stepping forward to return stolen funds.

Roughly one hour following Osmosis’ tweet concerning the attack, FireStake, a validator in the Cosmos ecosystem, posted a Twitter thread admitting that ā€œa temporary lapse in good judgmentā€ saw two members of its team exploit the bug to the extent of roughly $2 million.

Firestake told their 1,700 Twitter followers that they were ā€œthinking about [their] family’s futureā€ when they continued to exploit the bug. However, after admitting to ā€œstressing through the nightā€ about the event, they decided to voluntarily return the funds and ā€œset things straight.ā€

According to a post from Osmosis co-founder Sunny Aggarwal, the other two hackers responsible for the theft made a series of transactions to centralized exchanges, which Aggarwal believes will make it easier to track them down.

RoboMcGobo echoed Aggarwal’s words in the project’s Discord, ā€œFunds have been linked to CEX accounts. Law enforcement has been notified… we’re hopeful that the exploiters will do the right thing here so that aggressive action will not be necessary.ā€