OpenSea Hack

TOTAL LOST $1.0M
Medium Other

Summarize with AI

Affected Chain 2022 Incident surface
Recovered $75K 7.4% returned
All-Time Rank #831 By amount stolen
Protocol Type Dexs Target category

Incident Overview

A bug has been exploited to purchase NFTs from users of OpenSea, at well below market value.

Was identified at least five attackers who have exploited this loophole to purchase at least twelve NFTs for much less than their market value. These include Bored Ape Yacht Club, Mutant Ape Yacht Club, Cool Cats, and Cyberkongz NFTs.

The exploit:

- when you list an item for sale (or bid) you are signing data that validate that you are willing to sell your NFT at this price

- the signature is saved in OpenSea's DB off-chain and when someone wants to buy your NFT, they will send to their smart contract your previously signed data where the signature and sale information (such as expiration & price) are validated on-chain before making the transfer

- when you cancel a listing, you are required to perform a transaction. The reason is that someone might save your signed listing (which are public - i.e https://orders.rarible.com or even their API) and use it later, even if the listing got removed from the UI

- the transaction on-chain will save the fact that you canceled this sale on their smart contract and even if someone will try to use your signed data from before, the on-chain validation will reject the sale

- the bug stems from the fact that previously you could re-list an NFT without canceling it and all the previous listings are not canceled on-chain, this is why re-listing will not work

For example, at around 7 am on January 24, a Bored Ape Yacht Club NFT #9991 was purchased for 0.77 ETH ($1,800). This family of NFTs currently sells for at least $198,000. Twenty minutes later the hacker sold the NFT for 84.2 ETH ($196,000) – realizing a profit of $194,000.

One attacker, going by the pseudonym "jpegdegenlove" paid a total of $133,000 for seven NFTs – before quickly selling them on for $934,000 in ether. Five hours later this ether was sent through Tornado Cash, a "mixing" service that is used to prevent blockchain tracing of funds:

https://etherscan.io/address/0xb1a22cc4…630c48

Victims were partially compensated:

https://etherscan.io/tx/0xa4712e1f…d66bef

https://etherscan.io/tx/0x8c7327bf…95bf9c

Incident Report

Protocol / Project OpenSea
Date of Incident
Attack Technique Other
Classification NFT

Protocol Information

Protocol Type Dexs
Official Website opensea.io/
Protocol Twitter/X @opensea
Team Anonymous
Source Code Unverified

Market Context at Time of Hack

Token Categories
AI & Big Data Ethereum Ecosystem Base Ecosystem AI Agents x402 Ecosystem

What the Attacker Needed to Succeed

Understanding the prerequisites for this type of attack helps auditors identify protocols that are most at risk and helps developers build better defenses.

Technical Knowledge Deep understanding of other and Solidity and EVM internals
Capital Required Seed capital to cover gas and initial position setup
On-Chain Access Ability to interact with smart contracts and deploy a custom exploit contract
Protocol Analysis Identification of the exploitable vulnerability in OpenSea's contract logic - root cause: nft
Execution Speed Precise transaction ordering and timing to exploit the vulnerability within a single atomic block
Obfuscation Plan A strategy to launder and move stolen funds - typically through mixers, cross-chain bridges, or decentralized DEX swaps to resist tracing

What Auditors Should Check

Could this have been caught in audit? Likely — with a thorough Other audit checklist and test coverage

If you're auditing a protocol with similar architecture to OpenSea, these are the critical security checks that could have prevented this incident (January 2022).

  • Verify all logic paths related to Other are guarded by proper access controls and input validation
  • Review privileged functions (owner, admin, governance) for potential abuse vectors - centralization risks should be documented and bounded with timelocks or multi-sigs

Master these auditing techniques with hands-on labs and real exploit scenarios in the Smart Contract Hacking course.

Free Trial

Funds Recovery

7.4%

Recovered

$75K

Net Loss

943871

Sources & References

Learn to Prevent the Next OpenSea

The OpenSea hack is one of many attacks that skilled auditors are trained to detect before deployment. Master real exploit patterns and defense techniques with hands-on Web3 security training.

Recreate exploit patterns safely Free Trial