Close Menu
AsiaTokenFundAsiaTokenFund
  • Home
  • Crypto News
    • Bitcoin
    • Altcoin
  • Web3
    • Blockchain
  • Trading
  • Regulations
    • Scams
  • Submit Article
  • Contact Us
  • Terms of Use
    • Privacy Policy
    • DMCA
What's Hot

Bitcoin, ETH, & XRP Price Prediction for Next Week (30th June 2025 – 05th July 2025)

June 29, 2025

 Is XRP About to Lead the Next Altcoin Season?

June 29, 2025

Is $5000 In Shiba Inu Enough For You To Retire By 2035?

June 29, 2025
Facebook X (Twitter) Instagram
Facebook X (Twitter) YouTube LinkedIn
AsiaTokenFundAsiaTokenFund
ATF Capital
  • Home
  • Crypto News
    • Bitcoin
    • Altcoin
  • Web3
    • Blockchain
  • Trading
  • Regulations
    • Scams
  • Submit Article
  • Contact Us
  • Terms of Use
    • Privacy Policy
    • DMCA
AsiaTokenFundAsiaTokenFund

SlowMist Breaks Down How a Tiny Code Flaw Led to Cetus’ $230M Collapse

0
By on May 26, 2025 Altcoin, Bitcoin, Regulations, Trading, Web3
Share
Facebook Twitter LinkedIn Pinterest Email

The post SlowMist Breaks Down How a Tiny Code Flaw Led to Cetus’ $230M Collapse appeared first on Coinpedia Fintech News

On May 22, something alarming happened in the SUI blockchain world. Prices on the Cetus decentralized exchange (DEX) suddenly dropped, and its liquidity pools were drained. The total estimated loss was over $230 million.

That’s when SlowMist, a well-known blockchain security team, stepped in and launched an analysis of what they uncovered was both shocking and technical.

What’s the Real Problem?

According to SlowMist’s deep dive analysis, the core of the issue was a vulnerability in Cetus’ smart contract code, specifically, a function called checked_shlw that failed to properly detect an overflow in another function named get_delta_a.

Now, what actually mean in simple terms?

This bug caused the system to calculate token amounts incorrectly. It didn’t realize when the numbers got too big, so it assumed the attacker was adding a huge amount of liquidity, when in reality, they only added 1 token.

That tiny flaw gave the attacker a massive opportunity.

How the Attacker Took Advantage

Here’s how the attacker carried out the exploit, step by step:

Flash Loan Trigger: The attacker borrowed over 10 million haSUI tokens using a flash loan. This move caused the token price in the pool to drop by 99.9%.

Trick Setup: They then created a very narrow liquidity position — a tiny window in the price range — which made the system believe a huge amount of liquidity was being added.

The Exploit: Using the overflow flaw, they claimed to add trillions worth of liquidity, but only submitted 1 token. The contract didn’t catch the mismatch.

Cashing Out: The attacker removed the fake liquidity in three stages and repaid the flash loan.

Huge Profit: They walked away with 10 million haSUI and 5.7 million SUI, with almost no real investment.

SlowMist Warning To Defi Developers 

This incident shows how a small coding mistake can lead to huge financial losses, especially in DeFi platforms where smart contracts run everything. 

According to SlowMist, if a critical function like checked_shlw doesn’t correctly detect errors like overflows, attackers can break the system logic entirely.

SlowMist warns all DeFi developers to double-check their math functions, especially in areas involving token calculations and liquidity formulas. One unchecked line of code was all it took to let someone walk away with millions.

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

Related Posts

Bitcoin, ETH, & XRP Price Prediction for Next Week (30th June 2025 – 05th July 2025)

June 29, 2025

 Is XRP About to Lead the Next Altcoin Season?

June 29, 2025

Is $5000 In Shiba Inu Enough For You To Retire By 2035?

June 29, 2025
Leave A Reply Cancel Reply

What's New Here!

Bitcoin, ETH, & XRP Price Prediction for Next Week (30th June 2025 – 05th July 2025)

June 29, 2025

 Is XRP About to Lead the Next Altcoin Season?

June 29, 2025

Is $5000 In Shiba Inu Enough For You To Retire By 2035?

June 29, 2025

XRP Price Prediction As Bulls Prepare For Final 2025 Breakout

June 29, 2025
AsiaTokenFund
Facebook X (Twitter) LinkedIn YouTube
  • Home
  • Crypto News
    • Bitcoin
    • Altcoin
  • Web3
    • Blockchain
  • Trading
  • Regulations
    • Scams
  • Submit Article
  • Contact Us
  • Terms of Use
    • Privacy Policy
    • DMCA
© 2025 asiatokenfund.com - All Rights Reserved!

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

Ad Blocker Enabled!
Ad Blocker Enabled!
Our website is made possible by displaying online advertisements to our visitors. Please support us by disabling your Ad Blocker.