Web3 · Smart Contract Audit

XTON Security Audit

softstack completed a smart contract audit of XTON's Core in March 2024, reporting 5 findings (3 medium, 1 low and 1 informational). The full report is published in the softstack public audit archive.

Key facts

Client
XTON
Completed
Chains
TON, Ethereum
Languages
Solidity, FunC

About the project

XTON is a launchpad that connects blockchain projects with the Telegram user base. It spans the TON network and Ethereum Virtual Machine chains, drawing on liquidity from both ecosystems. The platform provides multichain token launch tooling together with community engagement features for new projects.

Scope

Source repositorygithub.com/tokenova-fi/xton-contracts

Components reviewed

1 module
  1. See the published report for the file list

Findings

0Critical
0High
3Medium
1Low
1Informational

0 of 5 findings resolved before the final report.

IDTitleSeverityStatus
6.2.1Partial Execution of Transactions

The smart contract handles operations including op::try_to_buy for direct token purchases and op::try_to_buy_bridge for bridge token purchases.

Mediumacknowledged
6.2.2Inability to Recover ETH in recoverAnyTokens Function

The recoverAnyTokens function is designed to allow the recovery of excess tokens from the contract. However, it does not account for the recovery of Ether (ETH), potentially leading to trapped ETH within the contract.

Mediumacknowledged
6.2.3Precision Loss in claimableTokens Function

The claimableTokens function calculates the amount of launch tokens a user can claim based on their deposited amount.

Mediumacknowledged
6.2.4Lack of Input Validation for _tg_address in depositFor Function

The depositFor function in the XTONSaleV1 smart contract is designed to allow users to deposit tokens for participating in a token sale.

Lowacknowledged
6.2.5Inconsistent Solidity Pragma Directives

The use of different Solidity pragma versions (^0.8.13, ^0.8.19, ^0.8.20) across various contracts and libraries introduces a risk of compatibility issues.

Informationalacknowledged

About this engagement

A smart contract audit reviews on-chain code for flaws an attacker could exploit. Engineers trace how assets move through the contracts, check who can call privileged functions, and test the arithmetic, external calls and upgrade paths. Each finding is rated by severity, and fixes are re-checked before the final report.

How softstack runs smart contract audits

Methodology

Review process

  1. Scoping and threat modelling

    The commit hash is frozen and the attack surface is mapped: asset flows, trust assumptions, privileged roles and the external systems the code depends on.

  2. Automated analysis

    Static analysers sweep the full codebase to surface known weakness patterns, unreachable states and deviations from established conventions.

  3. Manual code review

    Independent engineers read the code line by line, concentrating on business logic, access control, arithmetic and the handling of external calls.

  4. Adversarial testing

    Property-based fuzzing and invariant tests attack the assumptions the protocol relies on, targeting states that ordinary unit tests never reach.

  5. Reporting

    Every finding is documented with a severity rating, its impact, the steps to reproduce it and a concrete remediation the team can act on.

  6. Remediation verification

    Submitted fixes are re-reviewed against the original finding, and the final report records the resolved state of each one.

Standards and references

  • CWECommon Weakness Enumeration

FAQ

XTON was audited by softstack GmbH, a German Web3 security and software company based in Flensburg and certified to ISO/IEC 27001 by TÜV SÜD. softstack completed a smart contract audit for XTON in March 2024. The full report is linked on this page and published in the softstack public audit archive.

The review reported 5 findings: 3 medium, 1 low and 1 informational. 0 of 5 were resolved or mitigated before the final report.

The review covered the code in github.com/tokenova-fi/xton-contracts. The published report lists every file covered.

This report covers the code as reviewed in March 2024. Any code changed after that point is outside the reviewed scope.

Related audits

Browse all security audits

Disclaimer

This audit represents a point-in-time security assessment of the reviewed codebase and is intended for informational purposes only. While Softstack applies industry-standard security review methodologies, no audit can guarantee the absence of vulnerabilities, bugs, or other security risks. This report does not constitute financial, legal, regulatory, or investment advice, nor does it endorse the project, its business model, products, or services. Security is an ongoing process, and we strongly recommend conducting a new assessment following any material code changes or at least every 6 months to address newly emerging threats, vulnerabilities, and ecosystem developments.