bZx Hack Full Disclosure (With Detailed Profit Analysis)

Figure: Five Arbitrage Steps in bZx Hack

Five Exploitation Steps For Arbitrage

Figure 1: Flashloan Borrowing From dYdX
Figure 2: WBTC Hoarding From Compound
Figure 3: Margin Pumping With bZx (and Kyber + Uniswap)
Figure 4: WBTC Dumping With Uniswap

bZx Smart Contract Bug

Figure 5: marginTradeFromDeposit()
Figure 6: _borrowTokenAndUse()
Figure 7: _borrowTokenAndUse()
Figure 8: _borrowTokenAndUseFinal()
Figure 9: bZxContract::takeOrderFromiToken()
Figure 10: bZxOracle::shouldLiquidate()

About us




A Blockchain Security Company (

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Coins and Tokens What’s the Difference?

Diary of a Dollar 2: to Metamask, Curve, Trader Joe, and Defrost

Top 5 countries leading blockchain technology

Lunr Token Price And How To Earn It Freely Using Lunarcrush

earn lunr token free

How this Ethereum event will impact prices

ICOs, Tokens and why they have the potential to be the best things that happened to mankind!

NFT News

Adding EPLUS Coin to Your Wallet

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


A Blockchain Security Company (

More from Medium

Decentralized Exchange Intro

Polysynth Fortnightly Update #8

Liquidity farming: the working principles, risks and farming opportunities on Marnotaur

Defi on Near Protocol Overlook