Why Is My Transaction Risky? Understanding Smart Contract Semantics and Interactions in the NFT Ecosystem
Yujing Chen, Xuanming Liu, Zhiyuan Wan, Zuobin Wang, David Lo, Difan Xie, Xiaohu Yang
Abstract
The NFT ecosystem represents an interconnected, decentralized environment that encompasses the creation, distribution, and trading of Non-Fungible Tokens (NFTs), where key actors, such as marketplaces, sellers, and buyers, utilize smart contracts to facilitate secure, transparent, and trustless transactions. Scam tokens are deliberately created to mislead users and facilitate financial exploitation, posing significant risks in the NFT ecosystem. Prior work has explored the NFT ecosystem from various perspectives, including security challenges, actor behaviors, and risks from scams and wash trading, leaving a gap in understanding the semantics and interactions of smart contracts during transactions, and how the risks associated with scam tokens manifest in relation to the semantics and interactions of contracts. To bridge this gap, we conducted a large-scale empirical study on smart contract semantics and interactions in the NFT ecosystem, using a curated dataset of nearly 100 million transactions across 20 million blocks on Ethereum. We observe a limited semantic diversity among smart contracts in the NFT ecosystem, dominated by proxy, token, and DeFi contracts. Marketplace and proxy registry contracts are the most frequently involved in smart contract interactions during transactions, engaging with a broad spectrum of contracts in the ecosystem. Token contracts exhibit bytecode-level diversity, whereas scam tokens exhibit bytecode convergence. Certain interaction patterns between smart contracts are common to both risky and non-risky transactions, while others are predominantly associated with risky transactions. Based on our findings, we provide recommendations to mitigate risks in the blockchain ecosystem, and outline future research directions.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext bec1c9d4-e17f-4b00-b767-2b4338a7710dBuilds on11
- The Art of The Scam: Demystifying Honeypots in Ethereum Smart ContractsChristof Ferreira Torres, Mathis Steichen, Radu StateUSENIX Security 2019 · 239 citations
- Understanding Security Issues in the NFT EcosystemDipanjan Das, Priyanka Bose, Nicola Ruaro, Christopher Kruegel et al.CCS 2022 · 173 citations
- Definition and Detection of Defects in NFT Smart ContractsShuo Yang, Jiachi Chen, Zibin ZhengISSTA 2023 · 35 citations
- TokenScout: Early Detection of Ethereum Scam Tokens via Temporal Graph LearningCong Wu, Jing Chen, Ziming Zhao, Kun He et al.CCS 2024 · 35 citations
- ZipZap: Efficient Training of Language Models for Large-Scale Fraud Detection on BlockchainSihao Hu, Tiansheng Huang, Ka-Ho Chow, Wenqi Wei et al.WWW 2024 · 33 citations
Related papers
- Unveiling the Paradox of NFT ProsperityJintao Huang, Pengcheng Xia, Jiefeng Li, Kai Ma et al.WWW 2024 · 19 citations
- Why Does My Transaction Fail? A First Look at Failed Transactions on the Solana BlockchainXiaoye Zheng, Zhiyuan Wan, David Lo, Difan Xie et al.ISSTA 2025 · 3 citations
- Bad Apples: Understanding the Centralized Security Risks in Decentralized EcosystemsKailun Yan, Jilian Zhang, Xiangyu Liu, Wenrui Diao et al.WWW 2023 · 12 citations
- DRAINCLoG: Detecting Rogue Accounts with Illegally-obtained NFTs using Classifiers Learned on GraphsHanna Kim, Jian Cui, Eugene Jang, Chanhee Lee et al.NDSS 2024
- Know Your Transactions: Real-time and Generic Transaction Semantic Representation on Blockchain & Web3 EcosystemZhiying Wu, Jieli Liu, Jiajing Wu, Zibin Zheng et al.WWW 2023 · 41 citations
