NATLM: Detecting Defects in NFT Smart Contracts Leveraging LLM
Yuanzheng Niu, Xiaoqi Li, Wenkai Li · 2025
Read NATLM: Detecting Defects in NFT Smart Contracts Leveraging LLM by Yuanzheng Niu, Xiaoqi Li, Wenkai Li (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2508-01351.txt.
Description
Yuanzheng Niu, Xiaoqi Li, and Wenkai Li present NATLM, a 2025 framework that hunts defects in smart contracts for non fungible tokens, or NFTs. These contracts hold digital assets of real value, so hidden flaws can mean heavy losses when attackers strike. Their tool focuses on four common flaw types, including reentrancy and unlimited minting.
Using a large language model alone to read contracts gives too many false alarms. NATLM therefore first runs static analysis, which extracts the code's structure and flow as trees and graphs. Those features, plus vectors of known defect examples, guide the model, a Gemini Pro version, in its judgment. The pairing aims at accurate detection that developers can act on before contracts go live.
Catalog record
| CREATOR | Yuanzheng Niu, Xiaoqi Li, Wenkai Li |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 37 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2508-01351