Truebit Protocol suffered a security breach on January 8, resulting in the theft of 8,535 ETH, valued at approximately $2.64 million. Attackers exploited an integer overflow vulnerability in the protocol's Purchase contract, allowing them to mint $TRU tokens at nearly zero cost. The vulnerability stemmed from a lack of overflow protection in integer addition, leading to incorrect price calculations.
Security firm SlowMist identified the flaw and emphasized the importance of using the SafeMath library for contracts compiled with Solidity versions prior to 0.8.0. This library helps prevent arithmetic overflows and related logic errors, which were the root cause of the Truebit incident.
Truebit Protocol Hacked, $2.64M Stolen Due to Integer Overflow
Disclaimer: The content provided on Phemex News is for informational purposes only. We do not guarantee the quality, accuracy, or completeness of the information sourced from third-party articles. The content on this page does not constitute financial or investment advice. We strongly encourage you to conduct you own research and consult with a qualified financial advisor before making any investment decisions.
