BugMagnifier: TON Transaction Simulator for Revealing Smart Contract Vulnerabilities
Authors:
- Yury YanovichYYYury Yanovich
- Victoria KovalevskayaVKVictoria Kovalevskaya
- Maksim EgorovMEMaksim Egorov
- Elizaveta SmirnovaESElizaveta Smirnova
- Matvey MishurisMMMatvey Mishuris
- Yash MadhwalYMYash Madhwal
- Kirill ZiborovKZKirill Ziborov
- Vladimir GorgadzeVGVladimir Gorgadze
- Subodh SharmaSSSubodh Sharma
Preprint
- 7 April 2026
- preprint
- Published by Elsevier in SSRN Electronic Journal
Abstract
The Open Network (TON) blockchain employs an asynchronous execution model that introduces unique security challenges for smart contracts. A primary concern is race conditions arising from unpredictable message processing order. While previous work established vulnerability patterns through static analysis of audit reports, dynamic detection of temporal dependencies through systematic testing remains an open problem. This study proposes a dynamic evaluation methodology based on controlled message orchestration to systematically expose vulnerabilities in asynchronous smart contracts. By synthesizing precise message queue manipulation with differential state analysis and probabilistic permutation testing, we establish a framework (namely, BugMagnifier) for identifying execution flaws that static methods miss. Experimental evaluation demonstrates BugMagnifier’s effectiveness through extensive parametric studies on purpose-built vulnerable contracts and five real-world vulnerability cases reproduced from recent security audits. Results reveal message ratio-dependent detection complexity that aligns with theoretical predictions. This quantitative model enables predictive vulnerability assessment while shifting discovery from manual expert analysis to automated evidence generation. By providing reproducible test scenarios for temporal vulnerabilities, BugMagnifier addresses a critical gap in the TON security tooling, offering practical support for safer smart contract development in asynchronous blockchain environments.Keywords
All Related Versions
This publication has 12 references indexed in Scilit:
- Automated Invariant Generation for Solidity Smart ContractsIEEE Transactions on Dependable and Secure Computing, 2025
- Differential Testing of Concurrent Classes2025
- SmartTrans: Advanced Similarity Analysis for Detecting Vulnerabilities in Ethereum Smart ContractsIEEE Transactions on Dependable and Secure Computing, 2025
- Maximal extractable value: Current understanding, categorization, and open research questionsElectronic Markets, 2024
- A fly in the ointment: an empirical study on the characteristics of Ethereum smart contract code weaknessesEmpirical Software Engineering, 2023
- Correct-by-Design Interacting Smart Contracts and a Systematic Approach for Verifying ERC20 and ERC721 Contracts With VeriSolidIEEE Transactions on Dependable and Secure Computing, 2022
- xFuzz: Machine Learning Guided Cross-Contract FuzzingIEEE Transactions on Dependable and Secure Computing, 2022
- Oracle-Supported Dynamic Exploit Generation for Smart ContractsIEEE Transactions on Dependable and Secure Computing, 2020
- Flash Boys 2.0: Frontrunning in Decentralized Exchanges, Miner Extractable Value, and Consensus Instability2020
- Defining Smart Contract Defects on EthereumIEEE Transactions on Software Engineering, 2020