🎉 The #CandyDrop Futures Challenge is live — join now to share a 6 BTC prize pool!
📢 Post your futures trading experience on Gate Square with the event hashtag — $25 × 20 rewards are waiting!
🎁 $500 in futures trial vouchers up for grabs — 20 standout posts will win!
📅 Event Period: August 1, 2025, 15:00 – August 15, 2025, 19:00 (UTC+8)
👉 Event Link: https://www.gate.com/candy-drop/detail/BTC-98
Dare to trade. Dare to win.
Frequent Security Incidents in NFT Contracts: Six Key Audit Points to Mitigate Risks
Analysis of NFT Contract Security Issues and Audit Key Points
In the first half of 2022, several major security incidents occurred in the NFT field, resulting in losses of approximately 64.9 million dollars. These incidents mainly involved contract exploits, private key leaks, and phishing attacks. It is worth noting that phishing incidents on the Discord platform occur almost daily, leading to significant losses for many individual users.
Typical Security Incident Analysis
TreasureDAO event
On March 3rd, the TreasureDAO trading platform was attacked, resulting in the theft of over 100 NFTs. The vulnerability originated from a logical error in the TreasureMarketplaceBuyer contract, which allowed attackers to purchase NFTs without payment. This issue was mainly caused by the logical confusion arising from the mixed use of ERC-1155 and ERC-721 tokens.
APE Coin airdrop event
On March 17, attackers exploited a flash loan to acquire over 60,000 APE Coin airdrops. The vulnerability existed in the airdrop contract, which only checked the user's instantaneous ownership of the NFT, a manipulation that could be achieved through a flash loan.
Revest Finance event
On March 27, Revest Finance was attacked, resulting in a loss of approximately $120,000. This is a typical ERC-1155 reentrancy attack, stemming from a logical flaw in the contract when minting new FNFTs.
NBA project attack
On April 21, the NBA project was attacked. The issue was with the signature verification mechanism of the whitelist validation, which had vulnerabilities for signature impersonation and reuse.
Akutar event
On April 23, a smart contract vulnerability in the Akutar project led to approximately $34 million in assets being locked. This was due to a logical flaw in the refund function of the contract, which did not take into account that users might bid on multiple NFTs.
XCarnival event
On June 24, XCarnival was attacked, resulting in a loss of approximately $3.8 million. The vulnerability lay in the staking and lending functions of the XNFT contract, which lacked necessary security checks.
Common Questions About NFT Contract Audits
Signature impersonation and reuse:
Logical loophole:
ERC721 & ERC1155 Reentrancy Attack:
The scope of authorization is too broad:
Price Manipulation:
The existence of these security issues highlights the importance of conducting a comprehensive professional audit of NFT contracts. Project teams should prioritize contract security and mitigate potential risks through professional security audits to protect user asset safety.