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
We współpracy z: https://coinpedia.org/news/slowmist-breaks-down-how-a-tiny-code-flaw-led-to-cetus-230m-collapse/