n00dleswap Hack

TOTAL LOST $31K
Low Reentrancy

Summarize with AI

Affected Chain 2022 Incident surface
Recovered - No recovery reported
All-Time Rank #1821 By amount stolen
Protocol Type Exploit/Reentrancy Target category

Incident Overview

n00dleswap was exploited via a reentrancy attack. The attacker took 20 $ETH using a malicious smart contract.

n00dleswap is an NFT DEX on the Ethereum chain. The project's ERC777-based smart contract was hacked via a reentrancy attack. The hacker stole 31,096 $USD worth of $ETH.

All the stolen amount remains at the attacker's original address at the moment.

Attacker address:

https://etherscan.io/address/0x8ca72f46…870ff0

Malicious contract:

https://etherscan.io/address/0x9c5a2a64…789c56

Malicious transaction:

https://etherscan.io/tx/0x8037b3dc…893aea

Incident Report

Protocol / Project n00dleswap
Date of Incident
Attack Technique Reentrancy
Classification NFT,Exchange (DEX),Token
Primary Source View Post-Mortem

Protocol Information

Protocol Type Exploit/Reentrancy
Affected Token n00d
Official Website n00dleswap.wtf/
Protocol Twitter/X @n00dleSwap
Team Anonymous
Source Code Verified On-Chain

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 reentrancy 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 n00dleswap's contract logic - root cause: nft,exchange (dex),token
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? Yes — skilled auditors routinely flag Reentrancy vulnerabilities in code review

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

  • Verify all logic paths related to Reentrancy are guarded by proper access controls and input validation - see the Reentrancy attack class for patterns
  • Check that all state-changing functions follow the Checks-Effects-Interactions (CEI) pattern to prevent reentrancy and logic ordering bugs
  • 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

Related Attack Classes

The technique used in this hack maps to these vulnerability classes in our security curriculum:

See all Reentrancy examples →

Sources & References

Learn to Prevent the Next n00dleswap

The n00dleswap 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