Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • ADOPTION
  • TRADING
  • HACKING
  • SLOT
Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • ADOPTION
  • TRADING
  • HACKING
  • SLOT
Crypto Flexs
Home»HACKING NEWS»Junami Hack Postmortem: What Happened?
HACKING NEWS

Junami Hack Postmortem: What Happened?

By Crypto FlexsNovember 26, 20232 Mins Read
Facebook Twitter Pinterest LinkedIn Tumblr Email
Junami Hack Postmortem: What Happened?
Share
Facebook Twitter LinkedIn Pinterest Email

There are already a lot of Zunami hack posthumous articles that are almost identical. Here is our opinion.

Exploit Causes

The exploit consisted of two hacks, both of which: Price caching vulnerability The first target was Zunami ETH (zETH) and the second target was Zunami Stable (UZD). The first attack was drained. Only 26 WETH, the second is a whopping 1178 WETH.

The root cause was price manipulation using . MIMCurveStakeDao The strategy is to then cache the inflated price for an entire block of UZD (suitable for flash lending) and then reverse the previous operation to profit from the inflated price.

price caching

UZD’s Liquidity Pool (LP) price caching was partially implemented in version 1.0. thanked By Ackee Blockchain. However, it is not used globally and functions as follows: balanceOf Instead of caching, we were making multiple costly calls (calculating LP prices in our strategy).

Caching has been expanded with the following features: totalSupply, balanceOf and allowance later UZD version 1.1. Caching has been adjusted in the following way:

source

This allowed inflated prices to be called in other contracts. balanceOf function.

Version 1.1 was released without an audit. It was later audited by HashEx for the release of v1.2 on October 29, 2023. audit reportNo attack vectors using cached functions were found.

MIMCurveStakeDao Strategy

This strategy was introduced in commit. 6df0ae5. Since the calculation is based on the price and balance of the strategy, an attacker can change the LP price calculation by donating SDT tokens to the strategy. This strategy was audited by HashEx before release (see this). audit report) However, no exploitability was found.

attack

The attack occurred on August 13 and can be viewed here. https://explorer.phalcon.xyz/tx/eth/0x0788ba222970c7c68a738b0e08fb197e669e61f9b226ceec4cab9b85abe8cceb

Or you can check: PoC (Good job DeFiHackLabs!)

We hope this postmortem will be helpful and contribute to making web3 a safer place free of hacking and exploits.

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

Related Posts

$ 7.5m kilo X hacking inside

June 15, 2025

How to claim vault12 promotional code for Android and iOS

June 13, 2025

The Russian encryption CEO has filed a $ 555 million laundry plan for US sanctions.

June 11, 2025
Add A Comment

Comments are closed.

Recent Posts

Bitcoin is ahead of the FOMC meeting. What is the following?

June 17, 2025

R0AR Introduces Unified DeFi Platform For Token, Liquidity, And NFT Staking

June 17, 2025

Avail Goes Full Stack To Capture $300bn Global Blockchain Infra Market

June 17, 2025

Polyhedra connects 83% ZKJ token collisions to liquidity attacks, CEX activities and market liquidation.

June 17, 2025

ZKJ Crypto Price Pumps 20%: Dead Cat Bounces?

June 17, 2025

Trading The World On Bybit

June 16, 2025

Universal Digital Inc. Announces Bitcoin Treasury Strategy Across North America And Asia

June 16, 2025

FansHash Launches Zero-Barrier Cloud Mining With Daily Payouts And Global Pool Access

June 16, 2025

The Number One Way For Ordinary People To Become Rich In 2025

June 16, 2025

Can Etherrium price return to $ 4,000? Analysts say that ETH should go beyond this support.

June 16, 2025

This week’s top sales NFT -Courtyard is leading sales volume.

June 16, 2025

Crypto Flexs is a Professional Cryptocurrency News Platform. Here we will provide you only interesting content, which you will like very much. We’re dedicated to providing you the best of Cryptocurrency. We hope you enjoy our Cryptocurrency News as much as we enjoy offering them to you.

Contact Us : Partner(@)Cryptoflexs.com

Top Insights

Bitcoin is ahead of the FOMC meeting. What is the following?

June 17, 2025

R0AR Introduces Unified DeFi Platform For Token, Liquidity, And NFT Staking

June 17, 2025

Avail Goes Full Stack To Capture $300bn Global Blockchain Infra Market

June 17, 2025
Most Popular

Elmnts, powered by Solana, launches tokenized oil and gas platform

October 24, 2024

US PayPal customers can use stablecoins for international payments.

April 4, 2024

Bank of China achieves landmark $14 million e-CNY CBDC gold settlement

December 22, 2023
  • Home
  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms and Conditions
© 2025 Crypto Flexs

Type above and press Enter to search. Press Esc to cancel.