StepHeroNFTs Hack

Reported loss $90K
BNB Chain
Reentrancy

What happened

StepHeroNFTs on BNB Smart Chain was drained through reentrancy in its referral-payment flow. A receiving contract repeatedly re-entered claimReferral during a payment callback.

Technical root cause

The referral-claim flow made an external payment before completing its state update and lacked effective reentrancy protection. The receiving contract could revisit the payment path while the previous entitlement remained usable.

How it happened

  1. The attacker invoked claimReferral through a contract able to receive payments.
  2. The payment transferred control to the receiving contract before referral accounting was finalized.
  3. The receiver recursively called claimReferral, collecting repeated payments against the same entitlement.

Protocol details

Classification NFT / Reentrancy
Protocol Type Exploit/Reentrancy
Protocol links @StepHeroNFTs

Understand the attack patterns

Build your security review skills

Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.