Top 5 NFT smart contract vulnerabilities to watch out for

cryptoslatePublished on 2022-03-14Last updated on 2022-03-21

Abstract

The NFT sector has seen several problems since it emerged which made a lot of people concerned that NFTs are not as safe as previously thought. However, the problem does not lie with NFTs themselves.

The NFT sector has seen several problems since it emerged which made a lot of people concerned that NFTs are not as safe as previously thought. However, the problem does not lie with NFTs themselves.

NFTs are actually smart contracts, and these contracts are subject to vulnerabilities. In their essence, smart contracts are just code, and the more complex the code is, the more room there is for errors to show up. Of course, developers tend to comb their code for errors and vulnerabilities time and time again, but even after extensive search — a flaw or two can still remain and cause problems down the road, especially if bad actors manage to identify them.

This is why security audits should still be carried out, as the code of the smart contracts requires a greater amount of attention. Then, and only then can smart contracts — and to some extent, the NFTs — be adequately secured.

Let’s take a look at some of the more common but still quite dangerous flaws that tend to be present in smart contracts:

NFT token sale vulnerabilities

The first opportunity that bad actors have to use the flaws of smart contracts to disrupt an NFT project is during token sales. One of the most notable examples is the Adidas NFT token sale.

As the sale was underway, an attacker managed to bypass the limits on the maximum purchased tokens for a wallet. As a result, the hacker managed to score 330 NFTs, permanently disrupting Adidas’ otherwise successful debut NFT collection “Into the Metaverse.” All that the hacker had to do to achieve this is remove the limit that said that only two NFTs can be scored per Ethereum wallet.

Marketplace vulnerabilities

The next flaw does not necessarily involve the NFTs themselves, but the marketplaces where they can be found. One example of this is OpenSea, the largest NFT marketplace in the world. Not too long ago, OpenSea suffered an attack during which the offending party managed to buy coins at their old price.

This loophole allowed several people to buy valuable NFTs at prices significantly under the tokens’ market value. The most notable project that was affected by this was the Bored Ape Yacht Club, with one of its NFTs (#9991) purchased for 0.77 ETH, only for the attacker to resell it for 84.2 ETH.

Exposed private keys

The third problem that I would like to mention is not specific to NFTs. In fact, it has been a part of the crypto industry ever since there was a crypto industry. It revolves around the safe storage of private keys, which are used for accessing wallets and conducting payments.

Hackers have identified many methods that can be used against uninformed investors to steal their private keys and access their coins and tokens. One of the most commonly used methods is phishing. Once again, OpenSea comes to mind, as it recently suffered a phishing attack, where users thought that they were sending transactions to the network.

Instead, a hacker tricked them into signing the data using MetaMask, and with the help of their signature, the attacker managed to steal their funds.

Re-entrancy attacks

Another type of attack is known as re-entrancy attack, and this one concerns OpenZeppelin’s most popular NFT standard. Essentially, OpenZeppelin’s most popular implementation of the NFT standard has a callback function.

Essentially, it is a function that is intended to help developers integrate NFTs into projects, but the problem is that it can also be misused for conducting re-entrancy attacks, provided that the code developers were careless enough to forget to provide protection against them. One of the latest examples of this attack happened on February 3rd when a HypeBeast NFT contract reported an attack transaction.

The project had a limit on how many NFTs an account can mint, but the attackers used the callback function to invoke the mintNFT function again.

NFT scams and rugs

There have been plenty of examples of this, such as Cool Kittens, which promised investors an electronic token with cat art, a purpose-built token called PURR, and membership in a DAO. All rather standard promises that plenty of NFT projects have made and delivered on. Cool Kittens, however, did not. Only three weeks after announcing the NFT collection, the minting started, and the NFTs went up for sale. The project exploded, selling over 2,200 NFTs in mere hours, for a price of $70 apiece.

The developers collected $160,000 from a global audience of buyers in crypto, and then they simply disappeared with the money. This is only one example of something that is rather common in the crypto industry, so anyone participating in token sales of any kind should keep it in mind and exercise extreme caution.

Conclusion

The NFT sector provides plenty of opportunities for rather rewarding investments, but it can also be used against investors through a number of different vulnerabilities. This is not always the case, as sometimes, the flaw may lie with the marketplace that sells them, investors who don’t know how to protect themselves, or even with the NFT developers, who wish to scam the community and disappear with their money.

The only way to protect investors from this is for projects to conduct audits of their smart contracts, and for marketplaces to regularly check their systems for bugs and flaws. As for investors themselves, the only thing they can do is exercise caution and work on educating themselves on the threats that they might encounter, and what to do if they do run into any of these or other issues.

Trending Cryptos

Related Reads

Why Is the World Nervous About Japan Raising Interest Rates?

In June 2026, the Bank of Japan raised its policy rate to 1%, marking its first hike to this level since 1995. While this rate remains low compared to global peers like the US and Europe, the move signals a profound shift for a nation that has been a global source of ultra-cheap funding for decades. Japan's long-standing near-zero or negative interest rates had facilitated massive "yen carry trades," where international investors borrowed low-cost yen to invest in higher-yielding assets worldwide, such as US tech stocks and emerging market bonds. This made Japan a critical, often overlooked, source of global liquidity. Japan's ultra-loose policy stemmed from structural challenges post-1990s asset bubble: aging demographics, chronic low inflation/deflation, and high public debt. Recent shifts, including sustained wage growth (exceeding 5% in recent years) and inflation consistently above the 2% target, have created a "wage-price spiral" possibility, prompting the policy normalization. The global market's concern lies not in the absolute rate but in the potential unwinding of the yen carry trade. As Japanese borrowing costs rise, the economics of these leveraged global investments change, potentially triggering deleveraging and capital outflows from risk assets. Market anxiety focuses on the end of a thirty-year consensus that Japan would perpetually provide cheap funding. Ultimately, the global impact will depend on the interplay with US monetary policy. While Japan is tightening, the significant interest rate differential with the US remains. The key future dynamic is whether simultaneous Japanese hikes and eventual US rate cuts will narrow this gap, forcing a major recalibration of global capital flows and asset pricing built on an era of abundant, cheap yen liquidity.

marsbit9h ago

Why Is the World Nervous About Japan Raising Interest Rates?

marsbit9h ago

Trading

Spot
Futures

Hot Articles

Discussions

Welcome to the HTX Community. Here, you can stay informed about the latest platform developments and gain access to professional market insights. Users' opinions on the price of ETH (ETH) are presented below.

活动图片