Uniswap/BZRX IDO Exploited: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{Imported Case Study|source=https://www.quadrigainitiative.com/casestudy/uniswapbzrxidoexploited.php}} | {{Imported Case Study 2|source=https://www.quadrigainitiative.com/casestudy/uniswapbzrxidoexploited.php}} | ||
{{Unattributed | {{Unattributed Sources}} | ||
[[File:Uniswap.jpg|thumb|Uniswap]]Uniswap is a decentralized trading platform, where users place orders using Ethereum on the blockchain. | [[File:Uniswap.jpg|thumb|Uniswap]]Uniswap is a decentralized trading platform, where users place orders using Ethereum on the blockchain. | ||
| Line 8: | Line 8: | ||
Other users missed purchasing at the low initial price, by being seconds late. | Other users missed purchasing at the low initial price, by being seconds late. | ||
This is a global/international case not involving a specific country. | This is a global/international case not involving a specific country.<ref name="cryptobriefing-825" /><ref name="cryptobriefing-2462" /><ref name="cryptobriefing-2463" /><ref name="rstormsftwitter-2464" /><ref name="cryptobriefing-2465" /><ref name="coinmarketcap-2466" /><ref name="bzxhqtwitter-2467" /><ref name="defirate-2468" /><ref name="uniswap-2469" /><ref name="angelominttwitter-2470" /><ref name="sassal0xtwitter-2471" /><ref name="zacharydashtwitter-2472" /><ref name="kaiynnetwitter-2473" /><ref name="decrypt-2474" /><ref name="coinmonksmedium-1086" /><ref name="defiprime-2475" /><ref name="hackernoon-2476" /><ref name="coinness-2477" /><ref name="thedefiant-2478" /> | ||
<ref name="cryptobriefing-825" /><ref name="cryptobriefing-2462" /><ref name="cryptobriefing-2463" /><ref name="rstormsftwitter-2464" /><ref name="cryptobriefing-2465" /><ref name="coinmarketcap-2466" /><ref name="bzxhqtwitter-2467" /><ref name="defirate-2468" /><ref name="uniswap-2469" /><ref name="angelominttwitter-2470" /><ref name="sassal0xtwitter-2471" /><ref name="zacharydashtwitter-2472" /><ref name="kaiynnetwitter-2473" /><ref name="decrypt-2474" /><ref name="coinmonksmedium-1086" /><ref name="defiprime-2475" /><ref name="hackernoon-2476" /><ref name="coinness-2477" /><ref name="thedefiant-2478" /> | |||
== About Uniswap == | == About Uniswap == | ||
| Line 85: | Line 84: | ||
!Description | !Description | ||
|- | |- | ||
|July 13th, 2020 | |July 13th, 2020 | ||
|Main Event | |Main Event | ||
|Expand this into a brief description of what happened and the impact. If multiple lines are necessary, add them here. | |Expand this into a brief description of what happened and the impact. If multiple lines are necessary, add them here. | ||
| Line 93: | Line 92: | ||
| | | | ||
|} | |} | ||
== Technical Details == | |||
This section includes specific detailed technical analysis of any security breaches which happened. What specific software vulnerabilities contributed to the problem and how were they exploited? | |||
== Total Amount Lost == | == Total Amount Lost == | ||
| Line 112: | Line 114: | ||
== Ongoing Developments == | == Ongoing Developments == | ||
What parts of this case are still remaining to be concluded? | What parts of this case are still remaining to be concluded? | ||
== General Prevention Policies == | |||
There was no actual loss in this situation. One trader made a significant gain based on the low price, however the situation thereafter was the same as if the token had been launched at the higher price. | |||
== Individual Prevention Policies == | |||
{{Prevention:Individuals:Placeholder}} | |||
{{Prevention:Individuals:End}} | |||
== Platform Prevention Policies == | |||
{{Prevention:Platforms:Placeholder}} | |||
{{Prevention:Platforms:End}} | |||
== Regulatory Prevention Policies == | |||
{{Prevention:Regulators:Placeholder}} | |||
{{Prevention:Regulators:End}} | |||
== References == | == References == | ||
<references><ref name="cryptobriefing-825">[https://cryptobriefing.com/50-million-lost-the-top-19-defi-cryptocurrency-hacks-2020/ Millions Lost: The Top 19 DeFi Cryptocurrency Hacks of 2020 | Crypto Briefing] (May | <references><ref name="cryptobriefing-825">[https://cryptobriefing.com/50-million-lost-the-top-19-defi-cryptocurrency-hacks-2020/ Millions Lost: The Top 19 DeFi Cryptocurrency Hacks of 2020 | Crypto Briefing] (May 22, 2021)</ref> | ||
<ref name="cryptobriefing-2462">[https://cryptobriefing.com/fundraising-breakthrough-defi-protocols-reinvent-token-offerings/ Fundraising Breakthrough: Hegic, Perpetual Protocol Reinvent Token Offerings | Crypto Briefing] (Jun | <ref name="cryptobriefing-2462">[https://cryptobriefing.com/fundraising-breakthrough-defi-protocols-reinvent-token-offerings/ Fundraising Breakthrough: Hegic, Perpetual Protocol Reinvent Token Offerings | Crypto Briefing] (Jun 27, 2021)</ref> | ||
<ref name="cryptobriefing-2463">[https://cryptobriefing.com/is-bzxs-new-defi-token-enough-win-back-wary-users/ Is bZx's New DeFi Token Enough to Win Back Wary Users? | Crypto Briefing] (Jun | <ref name="cryptobriefing-2463">[https://cryptobriefing.com/is-bzxs-new-defi-token-enough-win-back-wary-users/ Is bZx's New DeFi Token Enough to Win Back Wary Users? | Crypto Briefing] (Jun 27, 2021)</ref> | ||
<ref name="rstormsftwitter-2464">[https://twitter.com/rstormsf/status/1282734073081823232 @rstormsf Twitter] (Jun | <ref name="rstormsftwitter-2464">[https://twitter.com/rstormsf/status/1282734073081823232 @rstormsf Twitter] (Jun 27, 2021)</ref> | ||
<ref name="cryptobriefing-2465">[https://cryptobriefing.com/defi-reinvented-the-ico-it-flopped-assessing-the-ido/ DeFi Reinvented the ICO, It Flopped: Assessing the IDO | Crypto Briefing] (Jun | <ref name="cryptobriefing-2465">[https://cryptobriefing.com/defi-reinvented-the-ico-it-flopped-assessing-the-ido/ DeFi Reinvented the ICO, It Flopped: Assessing the IDO | Crypto Briefing] (Jun 27, 2021)</ref> | ||
<ref name="coinmarketcap-2466">[https://coinmarketcap.com/headlines/news/how-bzrx-uniswap-listing-made-one-trader-550k-in-30-mins/ How BZRX Uniswap Listing Made One Trader $550K In 30 Mins | Headlines | News | CoinMarketCap] (Aug | <ref name="coinmarketcap-2466">[https://coinmarketcap.com/headlines/news/how-bzrx-uniswap-listing-made-one-trader-550k-in-30-mins/ How BZRX Uniswap Listing Made One Trader $550K In 30 Mins | Headlines | News | CoinMarketCap] (Aug 11, 2021)</ref> | ||
<ref name="bzxhqtwitter-2467">[https://twitter.com/bZxHQ/status/1282683810769821699 @bZxHQ Twitter] (Aug | <ref name="bzxhqtwitter-2467">[https://twitter.com/bZxHQ/status/1282683810769821699 @bZxHQ Twitter] (Aug 11, 2021)</ref> | ||
<ref name="defirate-2468">[https://defirate.com/bzrx-initial-dex-offering/ BZRX Initial DEX Offering Recap - Uniswap Listing Review - DeFi Rate] (Aug | <ref name="defirate-2468">[https://defirate.com/bzrx-initial-dex-offering/ BZRX Initial DEX Offering Recap - Uniswap Listing Review - DeFi Rate] (Aug 11, 2021)</ref> | ||
<ref name="uniswap-2469">[https://info.uniswap.org/pair/0xB9b752F7f4a4680eEb327ffe728f46666763A796 Uniswap Info] (Aug | <ref name="uniswap-2469">[https://info.uniswap.org/pair/0xB9b752F7f4a4680eEb327ffe728f46666763A796 Uniswap Info] (Aug 11, 2021)</ref> | ||
<ref name="angelominttwitter-2470">[https://twitter.com/angelomint/status/1282772406231273478 @angelomint Twitter] (Aug | <ref name="angelominttwitter-2470">[https://twitter.com/angelomint/status/1282772406231273478 @angelomint Twitter] (Aug 11, 2021)</ref> | ||
<ref name="sassal0xtwitter-2471">[https://twitter.com/sassal0x/status/1282881402657095681 @sassal0x Twitter] (Aug | <ref name="sassal0xtwitter-2471">[https://twitter.com/sassal0x/status/1282881402657095681 @sassal0x Twitter] (Aug 11, 2021)</ref> | ||
<ref name="zacharydashtwitter-2472">[https://twitter.com/ZacharyDash/status/1282850115766693891 @ZacharyDash Twitter] (Aug | <ref name="zacharydashtwitter-2472">[https://twitter.com/ZacharyDash/status/1282850115766693891 @ZacharyDash Twitter] (Aug 11, 2021)</ref> | ||
<ref name="kaiynnetwitter-2473">[https://twitter.com/kaiynne/status/1282889577166811137 @kaiynne Twitter] (Aug | <ref name="kaiynnetwitter-2473">[https://twitter.com/kaiynne/status/1282889577166811137 @kaiynne Twitter] (Aug 11, 2021)</ref> | ||
<ref name="decrypt-2474">[https://decrypt.co/35579/in-an-ethereum-based-initial-dex-offering-open-doesnt-always-mean-fair In an Ethereum-based 'Initial DEX Offering,' open doesn’t always mean fair - Decrypt] (Aug | <ref name="decrypt-2474">[https://decrypt.co/35579/in-an-ethereum-based-initial-dex-offering-open-doesnt-always-mean-fair In an Ethereum-based 'Initial DEX Offering,' open doesn’t always mean fair - Decrypt] (Aug 11, 2021)</ref> | ||
<ref name="coinmonksmedium-1086">[https://medium.com/coinmonks/how-does-uniswap-work-75765c4640e0 How Does Uniswap Work] (Jun | <ref name="coinmonksmedium-1086">[https://medium.com/coinmonks/how-does-uniswap-work-75765c4640e0 How Does Uniswap Work] (Jun 5, 2021)</ref> | ||
<ref name="defiprime-2475">[https://defiprime.com/initial-defi-offering Initial DeFi Offering or Initial DeX Offering] (Aug | <ref name="defiprime-2475">[https://defiprime.com/initial-defi-offering Initial DeFi Offering or Initial DeX Offering] (Aug 11, 2021)</ref> | ||
<ref name="hackernoon-2476">[https://hackernoon.com/what-is-ido-the-new-alternative-to-ieo-and-ico-70l34zf What is IDO - the new alternative to IEO and ICO? | Hacker Noon] (Aug | <ref name="hackernoon-2476">[https://hackernoon.com/what-is-ido-the-new-alternative-to-ieo-and-ico-70l34zf What is IDO - the new alternative to IEO and ICO? | Hacker Noon] (Aug 11, 2021)</ref> | ||
<ref name="coinness-2477">[https://www.coinness.com/news/699428 Security Engineer: BZRX IDO Not Hack But Exposes Uniswap IDO Problems With Front Running | CoinNess] (Aug | <ref name="coinness-2477">[https://www.coinness.com/news/699428 Security Engineer: BZRX IDO Not Hack But Exposes Uniswap IDO Problems With Front Running | CoinNess] (Aug 11, 2021)</ref> | ||
<ref name="thedefiant-2478">[https://newsletter.thedefiant.io/p/instant-500k-profits-on-bzrx-raises No Title] (Aug | <ref name="thedefiant-2478">[https://newsletter.thedefiant.io/p/instant-500k-profits-on-bzrx-raises No Title] (Aug 11, 2021)</ref></references> | ||
Latest revision as of 10:12, 2 May 2023
Notice: This page is a freshly imported case study from the original repository. The original content was in a different format, and may not have relevant information for all sections. Please help restructure the content by moving information from the 'About' and 'General Prevention' sections to other sections, and add any missing information or sources you can find. If you are new here, please read General Tutorial on Wikis or Anatomy of a Case Study for help getting started.
Notice: This page contains sources which are not attributed to any text. The unattributed sources follow the initial description. Please assist by visiting each source, reviewing the content, and placing that reference next to any text it can be used to support. Feel free to add any information that you come across which isn't present already. Sources which don't contain any relevant information can be removed. Broken links can be replaced with versions from the Internet Archive. See General Tutorial on Wikis, Anatomy of a Case Study, and/or Citing Your Sources Guide for additional information. Thanks for your help!
Uniswap is a decentralized trading platform, where users place orders using Ethereum on the blockchain.
The BZRX token was launched at a low price which was quickly corrected by market trading bots, operating through smart contracts.
Other users missed purchasing at the low initial price, by being seconds late.
This is a global/international case not involving a specific country.[1][2][3][4][5][6][7][8][9][10][11][12][13][14][15][16][17][18][19]
About Uniswap
"Uniswap is an Ethereum exchange, built using smart contracts and liquidity pools, as opposed to the order book of a traditional centralized exchange (CEX), such as Binance. With any Ethereum wallet, users can simply connect to the Uniswap application and effortlessly exchange ERC20 tokens without first sending them to the exchange platform account."
"[T]he development of Uniswap was facilitated by Vitalik Buterin’s idea for a decentralized exchange (DEX), which would involve an automated market maker. Actually, the protocol developer himself, Hayden Adams, at first tried to just practice development on Solidity, and later this hobby brought him several grants and $100 000 from the Ethereum Foundation. Now the project went far beyond just entertainment and became one of the most important components of the entire DeFi industry."
"ICOs, or Initial Coin Offerings, exploded in popularity in 2017. In 2019, it was Initial Exchange Offerings (IEOs), where centralized cryptocurrency exchanges like Binance served as third-party springboards for new token offerings. Circa 2020, traditional ICOs and IEOs have all but died down, while a new kind of crypto-native offering type has arrived: Initial DeFi Offerings."
"DEX offerings are different from listings on centralized exchanges, such as Binance, as anyone is able to list their tokens on the open Uniswap platform. In theory, just as IDOs allow anyone to list tokens, they also allow anyone to buy them."
"During an IDO, users send money directly to the team, and an asset’s price grows as a function of buying activity." "IDOs on Uniswap are unlike ICOs where investors sent funds directly into teams’ wallets at predetermined price bands, as an automated pricing model means the token price can start climbing as soon as the sale starts. Also, the liquidity pool at the core of DEXs like Uniswap, means that traders can instantly cash out."
"Lending platform bZx listed its BZRX tokens, and like other Et[hereu]m projects, it did so via the fan-favorite decentralized exchange Uniswap, adding to a wave of so-called Initial DEX Offerings, or IDOs. The bZx team seeded the listing with $500k in capital and included a bridge for presale investors to claim liquid BZRX tokens."
"In February 2020, the bZx protocol was attacked via flash loan exploits, which resulted in losses just under $1 million. In early July, the bZx team announced a “plan to compensate traders for that downtime and restore liquidity to the [protocol’s] iETH pool.” This plan involved a vested BZRX fund that affected traders could apply for compensation through, as well as an iETH campaign that allowed liquidity providers to trade iETH for BZRX at a considerable discount. Users wanting to exit the iETH pool will be able to purchase discounted BZRX that will be locked in a vesting contract for 4 years."
"In late June, the bZx team unveiled the BZRX token model v3. As part of the rollout, the creators announced a token disbursement program that would allocate 20% of the total BZRX token supply to rewarding bZx users. Of that allocation, 17% will go to a fee-refunding system, which will refund half of users’ bZx trading fees in BZRX per an initial rate of .0002 ETH per token. The other 3% will go to a disbursement fund, which will pay out 0.25% of the BZRX token supply weekly over a period of 3 months. This bootstrapping fund will be distributed proportionally according to the amount of fees generated weekly by users."
"As for value capture, the tokenomics of BZRX will offer stakers multiple avenues to yield. To start, there’s the token’s fee-sharing system: staked BZRX entitles a holder to fees generated by bZx “in proportion to their contribution to the staked supply.” These fees get sweeped into one of two Balancer pools, through which BZRX stakers also receive associated Balancer LP tokens. In turn, these Balancer pools accrue fees to the benefit of those holding the fee pools’ shares. These pools also generate BAL rewards, so BZRX stakers can simultaneously liquidity mine through Balancer while serving as an LP for AMMs."
"Another key value capture prospect for BZRX is the bZx insurance fund, which is grown through trading fees, half of all origination fees, and interest payments. Since BZRX can be redeemed for a proportion of the insurance fund, this dynamic brings value to the tokens by backing them with “current assets as well as future cash flows.” Zooming out, the new BZRX model also paves the way to bZx providing swap liquidity for margin traders, wherein the protocol could serve as an LP for other AMMs."
"BZRX tokens unlock[ed] to the public on July 13th, 2020." "The initial decentralized exchange offering (IDO) of bZx protocol’s token BZRX on Uniswap highlighted the IDO model’s imperfections." "Less than a minute since the BZRX IDO started on Jul. 13, the price jumped 12x due to the front-running bot activity. Bots were placing buy orders in the same block that marked the start of the IDO."
"Less than 60 seconds after the Uniswap liquidity pool was seeded, BZRX price jumped 12x from it’s listing price of 0.0002 ETH to 0.0024 ETH. You’d think this was a sure win for early investors. However, when looking under the hood of what happened, the main “winners” were those running scripts to purchase BZRX in the same block it became available."
"The offering kicked off roughly 30 minutes after the suggested start time, with $500k in capital being seeded to a Uniswap pool by the core team using presale investors migrated tokens. As expected, the token price absolutely skyrocketed just seconds after listing, peaking at a 12x the listing price under 60 seconds of the pool being created. Underpinning eager DeFi day-traders were a few savvy individuals who ran scripts to be the first to purchase tokens in the first block that liquidity was added."
"Following the announcement that BZRX token, the native cryptocurrency of DeFi project bZx, will be listed for trading on UniSwap decentralized exchange, reports suggest that a trader made more than half a million dollar within 30 minutes of trading the token." "On Monday evening, Security engineer Roman Storm took it to Twitter to explain how he spotted someone who made $1 million in a half-hour by trading the BZRX during an Initial DEX Offering (IDO) on UniSwap."
"How someone made a million dollar in 30 min? (1) Wait for BZRX news for [U]niswap listing. (2) Write a smart contract that buys token on Uniswap. (3) Spam [the] eth[ereum] network [s]o others can't get in with failed t[ransaction]s." "After the liquidity transaction was processed in block 10451767, he became the first person to purchase the BZRX token with the help of his bot. This allowed him to open a long position at a very low price. On-chain data suggests he made a buy order of 650 ETH ($155,154) to get 1,966,111 BZRX, at the rate of 3024 BZRX/ETH."
"Besides front-running buyers, the bots spammed the network so that users couldn’t push their transactions through." "Once other buyers finally got in for the sale, the price was already high, and the bots’ owners took substantial profits. One early buyer made $500,000."
"The trader made a total of 2,780 ETH from the sales with a profit of 2,030 ETH ($509,431). He is left with a balance of 300,000 BZRX, which is currently worth around $48,290."
"While the incident wasn’t a hack, it raised concerns about the viability and fairness of IDO models." "While some, especially the less technically inclined investors, may argue that the trader might have hacked or exploited the system, what he did was to leverage a trading bot to buy low and sell high for profit. Using DeFi bots and spamming networks to prevent others from immediately buying tokens during IDOs has become a common occurrence."
"The BZRX IDO was not an exploit nor a hack. Uniswap IDO generically still has problems with front running, and that's all I'm trying to show. My intent was to teach the community about technical details of Defi bots on Ethereum."
This is a global/international case not involving a specific country.
The background of the exchange platform, service, or individuals involved, as it would have been seen or understood at the time of the events.
Include:
- Known history of when and how the service was started.
- What problems does the company or service claim to solve?
- What marketing materials were used by the firm or business?
- Audits performed, and excerpts that may have been included.
- Business registration documents shown (fake or legitimate).
- How were people recruited to participate?
- Public warnings and announcements prior to the event.
Don't Include:
- Any wording which directly states or implies that the business is/was illegitimate, or that a vulnerability existed.
- Anything that wasn't reasonably knowable at the time of the event.
There could be more than one section here. If the same platform is involved with multiple incidents, then it can be linked to a main article page.
The Reality
This sections is included if a case involved deception or information that was unknown at the time. Examples include:
- When the service was actually started (if different than the "official story").
- Who actually ran a service and their own personal history.
- How the service was structured behind the scenes. (For example, there was no "trading bot".)
- Details of what audits reported and how vulnerabilities were missed during auditing.
What Happened
The specific events of the loss and how it came about. What actually happened to cause the loss and some of the events leading up to it.
| Date | Event | Description |
|---|---|---|
| July 13th, 2020 | Main Event | Expand this into a brief description of what happened and the impact. If multiple lines are necessary, add them here. |
Technical Details
This section includes specific detailed technical analysis of any security breaches which happened. What specific software vulnerabilities contributed to the problem and how were they exploited?
Total Amount Lost
The total amount lost has been estimated at $550,000 USD.
How much was lost and how was it calculated? If there are conflicting reports, which are accurate and where does the discrepancy lie?
Immediate Reactions
How did the various parties involved (firm, platform, management, and/or affected individual(s)) deal with the events? Were services shut down? Were announcements made? Were groups formed?
Ultimate Outcome
What was the end result? Was any investigation done? Were any individuals prosecuted? Was there a lawsuit? Was any tracing done?
Total Amount Recovered
There do not appear to have been any funds recovered in this case.
What funds were recovered? What funds were reimbursed for those affected users?
Ongoing Developments
What parts of this case are still remaining to be concluded?
General Prevention Policies
There was no actual loss in this situation. One trader made a significant gain based on the low price, however the situation thereafter was the same as if the token had been launched at the higher price.
Individual Prevention Policies
No specific policies for individual prevention have yet been identified in this case.
For the full list of how to protect your funds as an individual, check our Prevention Policies for Individuals guide.
Platform Prevention Policies
Policies for platforms to take to prevent this situation have not yet been selected in this case.
For the full list of how to protect your funds as a financial service, check our Prevention Policies for Platforms guide.
Regulatory Prevention Policies
No specific regulatory policies have yet been identified in this case.
For the full list of regulatory policies that can prevent loss, check our Prevention Policies for Regulators guide.
References
- ↑ Millions Lost: The Top 19 DeFi Cryptocurrency Hacks of 2020 | Crypto Briefing (May 22, 2021)
- ↑ Fundraising Breakthrough: Hegic, Perpetual Protocol Reinvent Token Offerings | Crypto Briefing (Jun 27, 2021)
- ↑ Is bZx's New DeFi Token Enough to Win Back Wary Users? | Crypto Briefing (Jun 27, 2021)
- ↑ @rstormsf Twitter (Jun 27, 2021)
- ↑ DeFi Reinvented the ICO, It Flopped: Assessing the IDO | Crypto Briefing (Jun 27, 2021)
- ↑ How BZRX Uniswap Listing Made One Trader $550K In 30 Mins | Headlines | News | CoinMarketCap (Aug 11, 2021)
- ↑ @bZxHQ Twitter (Aug 11, 2021)
- ↑ BZRX Initial DEX Offering Recap - Uniswap Listing Review - DeFi Rate (Aug 11, 2021)
- ↑ Uniswap Info (Aug 11, 2021)
- ↑ @angelomint Twitter (Aug 11, 2021)
- ↑ @sassal0x Twitter (Aug 11, 2021)
- ↑ @ZacharyDash Twitter (Aug 11, 2021)
- ↑ @kaiynne Twitter (Aug 11, 2021)
- ↑ In an Ethereum-based 'Initial DEX Offering,' open doesn’t always mean fair - Decrypt (Aug 11, 2021)
- ↑ How Does Uniswap Work (Jun 5, 2021)
- ↑ Initial DeFi Offering or Initial DeX Offering (Aug 11, 2021)
- ↑ What is IDO - the new alternative to IEO and ICO? | Hacker Noon (Aug 11, 2021)
- ↑ Security Engineer: BZRX IDO Not Hack But Exposes Uniswap IDO Problems With Front Running | CoinNess (Aug 11, 2021)
- ↑ No Title (Aug 11, 2021)