Is the second sentence sentence missing some words? Or is there something specific about Mango that makes this make sense? If 483mm units were bought for $0.0382 per unit (is that the average price, a fixed price?), why did the spot price suddenly increase 30x, was there that big of a spread in the order book? Also how does that add up to $5mm USDC? Isn't $0.0382 x 483mm = $18.4506mm?
Hackers drain $100M off Solana-based DeFi platform Mango Markets
41–50 of 105 posts
Re: Hackers drain $100M off Solana-based DeFi platform Mango Markets
#42Hate to be that guy, but someone has to say it... In this case the code worked as expected and the "attacker" played within the rules of the game. Except they "won" too much. That's not supposed to happen.
Obtaining someone elses tokens because code had flaw = Hack
Re: Hackers drain $100M off Solana-based DeFi platform Mango Markets
#43Earlier quoted context omitted.
Many of the recent bridge hacks were easily preventable. Unfortunately when the dev himself is the hacker, no amount of active development would fix these issues
I'm not sure if this has much specific relation to the Mango hack, but you raise an interesting point mentioning the possibility of a developer hacking his own network (who would be more qualified to do so?) - my broader point is this: there is a lot of incentive to get these platforms up and running, and not always a lot to build them safely and even less to truly audit them. Often the developers make their money up…
You know, to provide assurance that automated protocols are written strongly, and legal recourse against bad actors.
Re: Hackers drain $100M off Solana-based DeFi platform Mango Markets
#44"According to Lim, the hacker funded the main account (account A) and offered 483mm units of $MNGO perps on the order book. The attacker then funded a second account (account B) with 5mm $USDC collateral. Then, he/she used the funds to buy the 483mm units of $MNGO perps (at a price of $0.0382 per unit). The perpetrator’s actions made $MNGO’s spot market price, reaching as high as $0.91. $MNGO/USD price of $0.91 per u…
> The perpetrator’s actions made $MNGO’s spot market price, reaching as high as $0.91. If the "perpetrator" sold 483mm units on one account and bought 483mm units on another account, why did the market price rise so much?
Re: Hackers drain $100M off Solana-based DeFi platform Mango Markets
#45Re: Hackers drain $100M off Solana-based DeFi platform Mango Markets
#46Re: Hackers drain $100M off Solana-based DeFi platform Mango Markets
#47NB: This article is about the $115 million Mango Markets hack of a few days ago, not about the $127 million exploit of Binance's blockchain from last week or the $160 million Wintermute hack from last month or the $1.2 billion-with-a-'b' Acala hack from the month before, or...
Re: Hackers drain $100M off Solana-based DeFi platform Mango Markets
#48"Then, he/she used the funds to buy the 483mm units of $MNGO perps (at a price of $0.0382 per unit). The perpetrator’s actions made $MNGO’s spot market price, reaching as high as $0.91" Is the second sentence sentence missing some words? Or is there something specific about Mango that makes this make sense? If 483mm units were bought for $0.0382 per unit (is that the average price, a fixed price?), why did the spot p…
Second question: Mango Markets lets you trade perpetual futures with leverage, so you don't need collateral equal to the notional value of the contracts you buy.
Re: Hackers drain $100M off Solana-based DeFi platform Mango Markets
#49Crypto will be seen during the current tech bubble as a sign of market mania similar to the craziest notions of the .com bubble.
Re: Hackers drain $100M off Solana-based DeFi platform Mango Markets
#50This attack was interesting because it's an economic, not software hack. https://twitter.com/joshua_j_lim/status/1579987648546246658?... is the source overview. The software all worked as expected, and it's difficult to see exactly which step you'd go "no, the person shouldn't have done that". Arguably the fault is with the loan protocols that valued collateral at the instant spot price rather than some kind of time-…
The entire cryptocurrency hype machine is predicated upon quoting market capitalization based on instantaneous spot prices. Nobody thinks about liquidity until it's gone.