Security Risks Uncovered in TON Blockchain’s Tact Language by CertiK Audit

A CertiK audit reveals significant security risks in the Tact programming language of the TON Blockchain, highlighting vulnerabilities that could expose developers and users to various risks.

A recent audit by Web3 security firm CertiK has raised significant concerns regarding the security of the Tact programming language used in the TON Blockchain. While Tact was designed to enhance user-friendliness and security for smart contracts, the audit reveals vulnerabilities that could expose developers and users to various risks.

Key Takeaways

  • CertiK's audit highlights vulnerabilities in Tact, the programming language for TON Blockchain.
  • Common coding mistakes can lead to transaction failures and security gaps.
  • Strict address format inconsistencies may result in lost tokens.
  • Challenges in managing concurrent operations could create exploitable vulnerabilities.
  • Data serialization issues may lead to unpredictable program behavior.
  • Improper gas management can drain funds or cause transaction failures.

Overview of Tact and Its Purpose

Tact is a programming language specifically designed for the TON Blockchain, aiming to simplify the development of smart contracts while enhancing security. However, the recent audit by CertiK indicates that despite its intentions, Tact may introduce new risks that developers need to be aware of.

Vulnerabilities Identified in Tact

The audit conducted by CertiK identified several key vulnerabilities in Tact:

  1. Strict Address Format: Tact's address format does not align with existing standards like TEP-74, which can lead to failed transactions or lost tokens, akin to sending a letter to the wrong address.
  2. Concurrent Operations Management: Although TON avoids common vulnerabilities like reentrancy found in Ethereum, the unpredictable order of transactions can create timing-related vulnerabilities, similar to man-in-the-middle attacks.
  3. Data Serialization Issues: Developers must explicitly organize data within smart contracts. Failure to do so can lead to misinterpretations and erratic program behavior, much like assembling furniture without complete instructions.
  4. Handling of Numbers: Errors in Tact’s number handling can lead to glitches if developers are not careful.
  5. Gas Management: Improper estimation and control of gas usage can result in failed transactions or even drain funds from contracts.

Broader Security Challenges in the Crypto Ecosystem

The vulnerabilities in Tact are part of a larger trend of security challenges facing the cryptocurrency ecosystem. In 2024 alone, nearly $1.5 billion has been lost to crypto-related incidents, despite a 15% decrease in stolen funds compared to the previous year. Notable incidents include:

  • DEXX Incident: A private key leak affected at least 900 users, with losses ranging from minor amounts to over $1 million for one user.
  • Delta Prime Exploit: This DeFi protocol suffered a $4.8 million loss in November, following a $6 million hack earlier in the year.

Conclusion

The CertiK audit serves as a crucial reminder for developers working with the TON Blockchain and Tact programming language. Awareness of these vulnerabilities is essential to mitigate risks and enhance the security of smart contracts. As the crypto landscape continues to evolve, ongoing vigilance and proactive measures will be necessary to safeguard digital assets and maintain user trust.

Sources

[ newsletter ]
Stay ahead of Web3 threats—subscribe to our newsletter for the latest in blockchain security insights and updates.

Thank you! Your submission has been received!

Oops! Something went wrong. Please try again.

[ More Posts ]

Solana Web3.js Library Backdoored in Supply Chain Attack
4.12.2024
[ Featured ]

Solana Web3.js Library Backdoored in Supply Chain Attack

A supply chain attack compromised the Solana Web3.js library, exposing private keys and draining wallets. Major wallets reported no impact.
Read article
Continuous Blockchain Audits: Ensuring Long-Term Security
4.12.2024
[ Featured ]

Continuous Blockchain Audits: Ensuring Long-Term Security

Explore continuous blockchain audit services for enhanced security, AI integration, and cost-effective solutions.
Read article
November Web3 Security Incident Review: Total Loss Approximately $86.24 Million
3.12.2024
[ Featured ]

November Web3 Security Incident Review: Total Loss Approximately $86.24 Million

In November 2024, the Web3 sector faced significant security challenges, resulting in a total loss of approximately $86.24 million due to various incidents. The SlowMist Security Team reported 21 hacking incidents, with major breaches affecting several platforms, highlighting the urgent need for enhanced security measures in the industry.
Read article