PORNHUB Honeypot

Reported loss Not disclosed
BNB Chain
Honeypot

What happened

PORNHUB on BNB Smart Chain lets only one hard-coded address move tokens with transferFrom. The function opens with require(from == _owner, "You are not the owner!");, so any transferFrom whose from is a holder other than that address reverts. DEX sells normally pull tokens from the seller into the liquidity pair through transferFrom, so ordinary holders' sells revert, while plain transfer calls between wallets have no restriction.

_owner is a private constant-style address set at deployment (0x7E784333…25aCd0, the deployer) and the source contains no function that changes it. De.Fi's REKT database lists PORNHUB as an Exit Scam/Honeypot dated 2021-05-03 and describes it as a token whose owner could disable the transfer function, restricting users from selling.

How it happened

  1. The constructor mints the entire _totalSupply of 100000000000000000000 base units (decimals 9) to the deployer: balances[msg.sender] = _totalSupply;.
  2. The contract stores a fixed address: address private _owner = 0x7E784333FBF355fC57De77F9FBe97aA06225aCd0;, which matches the deployer address in the deployment record. No function in the source reassigns it.
  3. transferFrom begins with require(from == _owner, "You are not the owner!");. The check is on from, so it fails for every holder except that address.
  4. A sell through a DEX router calls transferFrom with the seller as from and the liquidity pair as the recipient, so it reverts for any holder other than _owner. Buys arrive from the pair by transfer, which has no check, so purchasing and wallet-to-wallet transfers work.
  5. Because the condition is hard-coded and there is no setter, the source offers holders no on-chain switch that lifts the restriction.

Protocol details

Classification Token
Protocol Type Exit Scam/Honeypot
Affected asset / contract PORNHUB

Build your security review skills

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