ArXiv TLDR

NFTDELTA: Detecting Permission Control Vulnerabilities in NFT Contracts through Multi-View Learning

🐦 Tweet
2604.15118

Hailu Kuang, Xiaoqi Li, Wenkai Li, Zongwei Li

cs.CR

TLDR

NFTDELTA detects permission control vulnerabilities in NFT contracts using static analysis and multi-view learning, identifying 241 critical flaws.

Key contributions

  • Proposes NFTDELTA, a framework for detecting permission control vulnerabilities in NFT contracts.
  • Leverages multi-view learning by integrating sequence and graph features from Control Flow Graphs.
  • Identified 241 confirmed vulnerabilities across 795 NFT collections with 97.92% precision.
  • Categorizes vulnerabilities into Bypass Auth Reentrancy, Weak Auth Validation, and Loose Permission.

Why it matters

Permission control vulnerabilities in NFT contracts pose significant financial risks. NFTDELTA offers an effective, scalable solution to secure the NFT ecosystem by automatically identifying these critical flaws. Its high accuracy and ability to categorize specific vulnerability types make it a valuable tool for developers and auditors.

Original Abstract

Permission control vulnerabilities in Non-fungible token (NFT) contracts can result in significant financial losses, as attackers may exploit these weaknesses to gain unauthorized access or circumvent critical permission checks. In this paper, we propose NFTDELTA, a framework that leverages static analysis and multi-view learning to detect permission control vulnerabilities in NFT contracts. Specifically, we extract comprehensive function Control Flow Graph (CFG) information via two views: sequence features (representing execution paths) and graph features (capturing structural control flow). These two views are then integrated to create a unified code representation. We also define three specific categories of permission control vulnerabilities and employ a custom detector to identify defects through multi-view feature similarity analysis. Our evaluation of 795 popular NFT collections identified 241 confirmed permission control vulnerabilities, comprising 214 cases of Bypass Auth Reentrancy, 15 of Weak Auth Validation, and 12 of Loose Permission Management. Manual verification demonstrates the detector's high reliability, achieving an average precision of 97.92% and an F1-score of 81.09%. Furthermore, NFTDELTA demonstrates enhanced efficiency and scalability, proving its effectiveness in securing NFT ecosystems.

📬 Weekly AI Paper Digest

Get the top 10 AI/ML arXiv papers from the week — summarized, scored, and delivered to your inbox every Monday.