delta.theta Honeypot
What happened
delta.theta (DELTA) is a BNB Smart Chain token whose transfer and transferFrom refuse any transfer whose recipient equals a stored address called newun. In transferFrom, the first call made while newun is empty stores that call's recipient as newun instead of checking it, so when the first such call is the initial add-liquidity transfer to a DEX pair, the pair becomes newun and every later transfer to it, including a holder's sell, reverts with "please wait". The owner can also overwrite newun through transfernewun.
De.Fi's REKT database lists the token as an Exit Scam/Honeypot on Binance and describes it as a contract whose owner could disable the transfer function, which restricted users in selling their tokens. No transaction hash, attacker address or loss figure is available for this record.
How it happened
What the code allows:
- The constructor sets the deployer as
ownerand credits it the whole supply:balances[owner] = _totalSupply;. transferFrombegins withif(from != address(0) && newun == address(0)) newun = to; else require(to != newun, "please wait");. Whilenewunis the zero address, the firsttransferFromcall stores its recipient innewunand skips therequire. Which address that is depends on who makes that first call; if it is the liquidity-adding transfer into a DEX pair, the pair address is stored.- After that,
transfer(require(to != newun, "please wait");) andtransferFromboth revert for any recipient equal tonewun. A holder selling through a pair stored asnewunsends tokens to that pair, so the sale reverts, while buys, which move tokens out of the pair, are not blocked by this check. transfernewun(address _newun) public onlyOwnerlets the owner replacenewunat any time. Setting it to the zero address re-arms the capture, because the nexttransferFromcall stores its recipient again; only pointing it at an address that is never a recipient lifts the block.transferOwnership/acceptOwnershipcan move that power to another address.- Separately,
clearCNDAO()lets the owner send the BNB balance held by the token contract itself to the owner.
De.Fi's REKT database lists the token as an Exit Scam/Honeypot and says the owner could disable transfers so users could not sell. A security write-up opened for this review describes the same newun mechanism in other BSC tokens (SafeRocket, SafeBinance), not in this contract. The source alone does not show which address newun holds on-chain or any failed sale, so no transaction is cited.
Protocol details
Evidence
- report De.Fi REKT database listing, proof link (Token Sniffer tweet; could not be opened) twitter.com
- address BscScan verified source: Delta (delta.theta) 0x3a139af3f19ad3f6c9c1308b0cfe1b4fc200e46b bscscan.com
- analysis Scam explained: BSC stealthy LP block (cryptot3ddybear blog) cryptot3ddybear.gitlab.io
- analysis Sourcify match for 0x3a139af3f19ad3f6c9c1308b0cfe1b4fc200e46b (Delta.sol) repo.sourcify.dev
Build your security review skills
Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.