Cointime

Download App
iOS & Android

Recklessness Comes at a Cost? Zunami Protocol Attacked for Price Manipulation with a Loss of Over $2.1 Million

On August 14, 2023, Beosin EagleEye detected a price manipulation attack on the Zunami Protocol, a protocol on the Ethereum blockchain. The attack resulted in a loss of 1152 ETH($2.1 million).

It is understood that the Zunami Protocol is a platform that distributes stablecoins to users. It can be seen as a decentralized yield aggregator, providing more beneficial solutions for stablecoin holders.

There is an interesting twist to this incident. A security company had previously warned about vulnerabilities, but the project team did not take these warnings seriously, displaying a nonchalant attitude. As a consequence, by the time the incident occurred, it was already too late.

Beosin security team promptly analyzed the security incident and reported the following findings:

Attack-related Information:

● Attack Transactions:

Tx1: 0x2aec4fdb2a09ad4269a410f2c770737626fb62c54e0fa8ac25e8582d4b690cca

Tx2: 0x0788ba222970c7c68a738b0e08fb197e669e61f9b226ceec4cab9b85abe8cceb

● Attacker's Address:

0x5f4c21c9bb73c8b4a296cc256c0cde324db146df

● Attack Contract:

0xa21a2b59d80dc42d332f778cbb9ea127100e5d75

● Targeted Contract:

0xe47f1cd2a37c6fe69e3501ae45eca263c5a87b2b

Vulnerability Analysis:

The cause of this attack was the vulnerability in the contract where LP (Liquidity Provider) price calculation depended on the contract's own CRV balance and the exchange ratio of CRV in the wETH/CRV pool. The attacker manipulated the LP price by injecting CRV into the contract and manipulating the exchange ratio of the wETH/CRV pool.

Attack Process:

Taking transaction 0x2aec4... as an example:

Attack Preparation:

1. The hacker borrowed 6811 ETH using a balancer:Vault flash loan as attack funds.

2.  They exchanged 300 ETH borrowed through a flash loan for 84 zETH, preparing for the subsequent increase in zETH value

Attack Phase:

1. They exchanged 11 ETH for 35293 CRV and transferred it to the sEthFraxEthCurveConvex contract, enabling the attacker to manipulate the CRV balance in the sEthFraxEthCurveConvex contract for later manipulation.

2. They repeatedly exchanged 406 ETH for CRV in the wETH/CRV pool, causing the price of CRV to increase by approximately 10 times.

3. The value calculation of zETH (LP) depended on the price of CRV tokens and the valuation of CRV to ETH calculations in the sEthFraxEthCurveConvex contract.

4. The attacker manipulated the CRV price and the CRV balance in the vulnerable contract, causing the final _assetPriceCached to increase.

5. Due to the increased _assetPriceCached, the value of 84 zETH increased to 221 zETH.

6. They exchanged the CRV obtained in step 4 back to ETH to repay the flash loan.

7. They exchanged the increased 221 zETH (LP) for 389 ETH.

8. They repaid the 6811 ETH flash loan and other fees, resulting in a profit of 26 ETH.

Funds Tracing:

As of the time of writing, the Beosin security analysis team found that the stolen funds had all been transferred to Tornado cash.

Summary:

In response to this incident, the Beosin security team recommends:

1.  Similar projects should consider different token pool dependencies when calculating LP value.

2.  Before the launch of a project, it's advisable to engage a professional security auditing company for comprehensive security audits to mitigate security risks.

Beosin is a leading global blockchain security company co-founded by several professors from world-renowned universities and there are 40+ PhDs in the team, and set up offices in 10+ cities including Hong Kong, Singapore, Tokyo and Miami. With the mission of "Securing Blockchain Ecosystem", Beosin provides "All-in-one" blockchain security solution covering Smart Contract Audit, Risk Monitoring & Alert, KYT/AML, and Crypto Tracing. Beosin has already audited more than 3000 smart contracts including famous Web3 projects PancakeSwap, Uniswap, DAI, OKSwap and all of them are monitored by Beosin EagleEye. The KYT AML are serving 100+ institutions including Binance.

Contact

If you need any blockchain security services, welcome to contact us:

Offiial Website Beosin EagleEye Twitter Telegram Linkedin

Comments

All Comments

Recommended for you

  • Russia's Central Bank Adds Bitcoin, Ethereum, and USDT to Publicly Tradable Cryptocurrency List

    On August 11, the Central Bank of Russia included Bitcoin, Ethereum, and Tether (USDT) in the list of cryptocurrencies that can be publicly traded on domestic exchanges.

  • BTC Breaks Above $64,000

    Market data shows BTC has broken through $64,000 and is currently reported at $64,000.33, with a 24-hour decline of 1.53%. Market volatility is high, so please exercise caution and manage risks accordingly.

  • BTC Falls Below $64,000

    Market data shows BTC has fallen below $64,000, currently at $63,999.77, with a 24-hour decline of 1.89%. Market volatility is significant; please exercise risk control.

  • Vitalik Updates Ethereum Roadmap: Privacy, Post-Quantum Scaling, and Native Rollups Become New Priorities

    On August 10, Vitalik Buterin stated that he had compared the 2023 Ethereum roadmap with the current Strawmap. The overall direction still overlaps considerably, but some priorities and technical paths have been clearly adjusted, including raising the priority of quantum safety, downweighting VDF and some EVM improvements, and replacing old designs with solutions such as a unified binary tree, PBT, and new state types. He noted that the most notable change in the current Strawmap is the emergence of several new topics not included in the 2023 roadmap, reflecting a shift in Ethereum's R&D focus. These new priorities include: stronger native privacy support, aggressive scaling in a post-quantum context, specification streamlining for formal verification, Blob and Gas futures, native Rollups, and a more open design space for the future shape of the EVM. Vitalik also emphasized that Ethereum's scaling approach is shifting from 'expanding all activities comprehensively' to 'designing more scalable dedicated mechanisms for specific high-load scenarios,' and he regards STARK proofs and AI-accelerated formal verification as important foundations for the protocol's future. Overall, this update shows that the Ethereum roadmap is evolving toward quantum safety, privacy-first, censorship resistance, high performance, and simpler protocol design.

  • ETH Falls Below $1900

    Market数据显示,ETH has fallen below $1900, currently reported at $1899.19, with a 24-hour decline of 1.28%. The market is highly volatile. Please exercise risk control.

  • Microsoft Plans to Release Next-Gen MAIA 300 AI Chip in September

    On August 10, according to reports, Microsoft plans to release its next-generation MAIA 300 AI chip in September.

  • BitMine Adds 7,391 ETH and Buys Back 3 Million Shares Last Week

    As of August 9, Eastern Time, BitMine's total cryptocurrency + cash holdings + "Moonshot" initiative amounted to $11.6 billion. BitMine held 5,805,238 ETH (up 7,391 ETH from last week), representing 4.8% of the total Ethereum supply (120.7 million ETH). It also held 209 BTC, $180 million in Beast Industries shares, $69 million in Eightco Holdings (NASDAQ: ORBS) shares, and $104 million in unsecured cash. BitMine repurchased 3 million common shares last week, bringing the total common shares repurchased since early July to over 19 million. As of August 9, 2026, BitMine's total staked ETH was 5,067,309 (worth approximately $9.8 billion at $1,928 per ETH).

  • Strategy Sells 1,691 BTC in Past Week

    Regulatory filings show that Strategy sold 1,691 BTC over the past week, increasing its dollar reserves by $650 million.

  • Unitree Technology: Final Online Issuance Winning Rate 0.0181%

    On August 10, Unitree Technology (688836.SH) announced that the company's initial public offering of shares and the online issuance subscription status and winning rate on the Sci-Tech Innovation Board were disclosed. The issuing price was RMB 150.80 per share, with a total of 40,446,434 shares issued. After the activation of the clawback mechanism, the final online issuance was 9,707,000 shares, accounting for approximately 30.00% of the total shares issued after deducting the final strategic placement, and the final online issuance winning rate was 0.01809759%.

  • BTC Breaks Through $65,000

    Market data shows that BTC has broken through $65,000, currently reporting at $65,001.99, with a 24-hour increase of 0.19%. The market is highly volatile; please exercise risk control.