mlsanityData to 7 Oct 2026

AI-Based Vulnerability Analysis of NFT Smart Contracts

arXiv 2504.16113 ↗First posted 18 Apr 2025cs.CR cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

With the rapid growth of the NFT market, the security of smart contracts has become crucial. However, existing AI-based detection models for NFT contract vulnerabilities remain limited due to their complexity, while traditional manual methods are time-consuming and costly. This study proposes an AI-driven approach to detect vulnerabilities in NFT smart contracts. We collected 16,527 public smart contract codes, classifying them into five vulnerability categories: Risky Mutable Proxy, ERC-721 Reentrancy, Unlimited Minting, Missing Requirements, and Public Burn. Python-processed data was structured into training/test sets. Using the CART algorithm with Gini coefficient evaluation, we built initial decision trees for feature extraction. A random forest model was implemented to improve robustness through random data/feature sampling and multitree integration. GridSearch hyperparameter tuning further optimized the model, with 3D visualizations demonstrating parameter impacts on vulnerability detection. Results show the random forest model excels in detecting all five vulnerabilities. For example, it identifies Risky Mutable Proxy by analyzing authorization mechanisms and state modifications, while ERC-721 Reentrancy detection relies on external call locations and lock mechanisms. The ensemble approach effectively reduces single-tree overfitting, with stable performance improvements after parameter tuning. This method provides an efficient technical solution for automated NFT contract detection and lays groundwork for scaling AI applications.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 19 of its 59 references that are in the map. First posted on arXiv 18 Apr 2025.

Builds on

19 of 59 references.

References · 19

  1. 2018Securify: Practical Security Analysis of Smart Contractscited by 61
  2. 2019A Survey on Ethereum Systems Security: Vulnerabilities, Attacks and Defensescited by 25
  3. 2020How Effective are Smart Contract Analysis Tools? Evaluating Smart Contract Static Analysis Tools Using Bug Injectioncited by 20
  4. 2024Unveiling Wash Trading in Popular NFT Marketscited by 8
  5. 2024StateGuard: Detecting State Derailment Defects in Decentralized Exchange Smart Contractcited by 8
  6. 2025SCALM: Detecting Bad Practices in Smart Contracts Through LLMscited by 8
  7. 2019Security Analysis Methods on Ethereum Smart Contract Vulnerabilities: A Surveycited by 7
  8. 2024Improving Smart Contract Security with Contrastive Learning-based Vulnerability Detectioncited by 7
  9. 2024DeFiTail: DeFi Protocol Inspection through Cross-Contract Execution Analysiscited by 7
  10. 2020Characterizing Erasable Accounts in Ethereumcited by 5
  11. 2024GasTrace: Detecting Sandwich Attack Malicious Accounts in Ethereumcited by 5
  12. 2024Smart Contracts in the Real World: A Statistical Exploration of External Data Dependenciescited by 5
7 more
  1. 2024Detecting Malicious Accounts in Web3 through Transaction Graphcited by 5
  2. 2025SoK: Security Analysis of Blockchain-based Cryptocurrencycited by 5
  3. 2025Enhancing Smart Contract Vulnerability Detection in DApps Leveraging Fine-Tuned LLMcited by 5
  4. 2023An Overview of AI and Blockchain Integration for Privacy-Preservingcited by 3
  5. 2024SCLA: Automated Smart Contract Summarization via LLMs and Control Flow Promptcited by 3
  6. 2024Guardians of the Ledger: Protecting Decentralized Exchanges from State Derailment Defectscited by 3
  7. 2023Definition and Detection of Defects in NFT Smart Contractscited by 2

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.