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 FlexsApril 18, 20242 Mins Read
Facebook Twitter Pinterest LinkedIn Tumblr Email
Junami Hack Postmortem: What Happened?
Share
Facebook Twitter LinkedIn Pinterest Email

Note: Ackee audited previous versions of the protocol before the attacked MimCurveStakeDAO strategy was added.

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 depends 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

Growth Mindset podcast: Crypto Inheritance

May 21, 2025

Global Ripple Effects: How the shift in US policy and regulation is reshaping Digital Assets

May 20, 2025

Coinbase Violation: The attacker requires a ransom of $ 20 million

May 17, 2025
Add A Comment

Comments are closed.

Recent Posts

BTC, ETH, XRP, BNB, SOL, DOGE, ADA, Sui, Link, Avax

May 22, 2025

The Conflux (CFX) network introduces zero -piprizing for USDT and USDC transmission.

May 22, 2025

Exploring the success in encryption and foreign exchange markets

May 22, 2025

Crypto.com ensures MIFID license to expand services across Europe.

May 22, 2025

OKX introduces XBTC on SUI’s expansion Bitcoin Defi network.

May 22, 2025

Ether Leeum holders as ETH Price entered the ‘important area’ in $ 3K breakout.

May 22, 2025

Analysts predict large -scale bitcoin differentiation based on a gold chart, and see Altcoin Market follow the lawsuit.

May 22, 2025

Farmland loan search: Insight and future prospects

May 22, 2025

Encryption supply shock? Bitcoin and Ether Leeum leaves the exchange at a record speed.

May 22, 2025

Bitcoin enters the ‘acceleration stage’ similar to the BTC price profit after winning the Trump election.

May 22, 2025

Ether Leeum Foundation’s Vision | Ether Leeum Foundation Blog

May 22, 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

BTC, ETH, XRP, BNB, SOL, DOGE, ADA, Sui, Link, Avax

May 22, 2025

The Conflux (CFX) network introduces zero -piprizing for USDT and USDC transmission.

May 22, 2025

Exploring the success in encryption and foreign exchange markets

May 22, 2025
Most Popular

Unichain is the first Etherrium layer 2 for starting transaction processing using the rollup-Boost Tee Tool of Flashbot.

May 2, 2025

Cryptocurrency experts have warned that Solana’s popularity could lead to potential threats.

March 14, 2024

Everything You Need to Know About Solana Breaking the 1,000 TPS Barrier Again

July 14, 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.