TxT: Real-time Transaction Encapsulation for Ethereum Smart Contracts
Nikolay Ivanov, Qiben Yan, Anurag Kompalli

TL;DR
This paper introduces TxT, a real-time transaction encapsulation method for Ethereum smart contracts that improves security testing by locally executing transactions to verify outcomes and detect vulnerabilities more effectively.
Contribution
The paper presents a novel transaction encapsulation approach with a deterministic verification tool, TxT, to enhance security testing and vulnerability detection in Ethereum smart contracts.
Findings
96.5% of Ethereum transactions can be verified by TxT
TxT detects 83.8% of known vulnerabilities in SWC registry
Compared to existing methods, TxT significantly improves vulnerability coverage
Abstract
Ethereum is a permissionless blockchain ecosystem that supports execution of smart contracts, the key enablers of decentralized finance (DeFi) and non-fungible tokens (NFT). However, the expressiveness of Ethereum smart contracts is a double-edged sword: while it enables blockchain programmability, it also introduces security vulnerabilities, i.e., the exploitable discrepancies between expected and actual behaviors of the contract code. To address these discrepancies and increase the vulnerability coverage, we propose a new smart contract security testing approach called transaction encapsulation. The core idea lies in the local execution of transactions on a fully-synchronized yet isolated Ethereum node, which creates a preview of outcomes of transaction sequences on the current state of blockchain. This approach poses a critical technical challenge -- the well-known…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
