GasTrace: Detecting Sandwich Attack Malicious Accounts in Ethereum
Not on the map. Why?
Abstract (arXiv)
The openness and transparency of Ethereum transaction data make it easy to be exploited by any entities, executing malicious attacks. The sandwich attack manipulates the Automated Market Maker (AMM) mechanism, profiting from manipulating the market price through front or after-running transactions. To identify and prevent sandwich attacks, we propose a cascade classification framework GasTrace. GasTrace analyzes various transaction features to detect malicious accounts, notably through the analysis and modeling of Gas features. In the initial classification, we utilize the Support Vector Machine (SVM) with the Radial Basis Function (RBF) kernel to generate the predicted probabilities of accounts, further constructing a detailed transaction network. Subsequently, the behavior features are captured by the Graph Attention Network (GAT) technique in the second classification. Through cascade classification, GasTrace can analyze and classify the sandwich attacks. Our experimental results demonstrate that GasTrace achieves a remarkable detection and generation capability, performing an accuracy of 96.73% and an F1 score of 95.71% for identifying sandwich attack accounts.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 9 of its 17 references that are in the map. First posted on arXiv 30 May 2024.
Builds on
9 of 17 references.
References · 9
- 2020High-Frequency Trading on Decentralized On-Chain Exchangescited by 10
- 2021Frontrunner Jones and the Raiders of the Dark Forest: An Empirical Study of Frontrunning on the Ethereum Blockchaincited by 7
- 2022AuthROS: Secure Data Sharing Among Robot Operating Systems Based on Ethereumcited by 6
- 2020Characterizing Erasable Accounts in Ethereumcited by 5
- 2020CLUE: Towards Discovering Locked Cryptocurrencies in Ethereumcited by 5
- 2024Graph Bayesian Optimization for Multiplex Influence Maximizationcited by 4
- 2022Eliminating Sandwich Attacks with the Help of Game Theorycited by 3
- 2023An Overview of AI and Blockchain Integration for Privacy-Preservingcited by 3
- 2021Maximizing Extractable Value from Automated Market Makerscited by 1
Built on by
Citing papers per year: 2025: 5.
5 papers.
- 2025AI-Based Vulnerability Analysis of NFT Smart Contractscited by 1
- 2025A Comprehensive Study of Exploitable Patterns in Smart Contracts: From Vulnerability to Defensecited by 1
- 2025Information Security Based on LLM Approaches: A Reviewcited by 1
- 2025UEChecker: Detecting Unchecked External Call Vulnerabilities in DApps via Graph Analysiscited by 1
- 2025Facial Recognition Leveraging Generative Adversarial Networkscited by 0
- 2025UEChecker: Detecting Unchecked External Call Vulnerabilities in DApps via Graph Analysis2 Aug 2025
- 2025Information Security Based on LLM Approaches: A Review24 Jul 2025
- 2025Facial Recognition Leveraging Generative Adversarial Networks17 May 2025
- 2025A Comprehensive Study of Exploitable Patterns in Smart Contracts: From Vulnerability to Defense30 Apr 2025
- 2025AI-Based Vulnerability Analysis of NFT Smart Contracts18 Apr 2025