Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • ADOPTION
  • TRADING
  • HACKING
  • SLOT
  • TRADE
Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • ADOPTION
  • TRADING
  • HACKING
  • SLOT
  • TRADE
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

The mindset of Retail Investors

July 3, 2025

$ 90m NOBITEX HACK: Fault by layer

July 1, 2025

Safe smart account audit summary

June 27, 2025
Add A Comment

Comments are closed.

Recent Posts

As Nano Labs begins to accumulate $ 1 billion, BNB gets a big supporter.

July 5, 2025

The Complete Guide to Crypto Website Listing Directories

July 5, 2025

Crypto Directories Listing That Will Transform Your Project’s Reach

July 5, 2025

The Ultimate Guide to Hiring a Crypto Marketing Agency

July 5, 2025

Six high upside encryption coins of less than $ 20 are seen in 2025.

July 5, 2025

Valhalla Goes Today: FLOKI has been developed for 3 years and debuts the play MMORPG.

July 4, 2025

The Open Platform Is First Unicorn In Web3 Ecosystem In Telegram At $1bn Valuation

July 3, 2025

The mindset of Retail Investors

July 3, 2025

Cooking.City Bringing Back Value Redistribution To Solana Fair Launches

July 3, 2025

XRP rebounds are interested in APT miners cloud mining.

July 3, 2025

The market will select US regulatory stable coins more than CBDCS every day of CBDCS every day.

July 3, 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

As Nano Labs begins to accumulate $ 1 billion, BNB gets a big supporter.

July 5, 2025

The Complete Guide to Crypto Website Listing Directories

July 5, 2025

Crypto Directories Listing That Will Transform Your Project’s Reach

July 5, 2025
Most Popular

Binance to Convert Delisted Tokens to USDC by March 2025

August 13, 2024

Crypto Glossary: Key Terms & Definitions | Vault12 Help

September 13, 2024

Bitcoin ‘Late Longs’ Get Washed Out As BTC Price Drops to $65,000

July 31, 2024
  • 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.