SafeSolarStar Honeypot
What happened
De.Fi's REKT database lists SafeSolarStar (SSS, BNB Chain, contract 0xd5626e28…6a88e6) as an exit scam/honeypot dated 2021-06-24, stating that the contract owner could disable the transfer function and so restrict users from selling. In the verified source the restriction sits in the internal _approve function: it stores a real allowance only when the token owner is one hard-coded address, and for every other address it stores 0 while emitting an Approval event with the value 0. A DEX sell needs the router to pull tokens with transferFrom, which subtracts from that allowance, so it reverts for any holder other than the hard-coded address.
Plain transfer calls are unaffected. The contract was deployed on 2021-06-13; no loss figure is listed.
How it happened
- The constructor mints the full supply to the deployer:
_balances[msg.sender] = _totalSupply;, with_totalSupply = 1000000000000000000000000. The deployer is 0xD7bFD7d5…876664. approve,increaseAllowanceandtransferFromall end in the internal_approve, which is rewritten around a different hard-coded address, 0xaD628C37…028ef0:if (owner == address(0xaD628C37aa60d11628E9dd5B4b7B7Ce5f8028ef0)) { _allowances[owner][spender] = amount; ... } else { _allowances[owner][spender] = 0; emit Approval(owner, spender, 0); }. That address is not the deployer, and the source does not show how it would receive tokens.- Any other holder who approves a DEX router ends up with an allowance of 0, although an
Approvalevent is still logged. - To sell, the router calls
transferFrom(holder, pool, amount), which runs_allowances[sender][_msgSender()].sub(amount, "BEP20: transfer amount exceeds allowance"). Subtracting a positive amount from 0 reverts the whole call, including the balance change made by_transfer. transfer(recipient, amount)calls_transferdirectly and needs no allowance, so tokens can still be sent out of a pool to buyers; the block applies to approval-based sells.- The hard-coded exception does not depend on ownership. A current
eth_callread (2026-09-30) returns the zero address forowner(), so the owner-onlymintand ownership functions are no longer callable; the read does not show when or by whom ownership was renounced, and renouncing would not lift the_approverestriction. - What happened, per the listing: De.Fi's REKT database lists the token as an exit scam/honeypot where the owner could disable transfers so users could not sell. No transaction was opened, so the affected holders and any amount lost are not established.
Protocol details
Evidence
- report @Token_Sniffer incident report twitter.com
- address BscScan verified source, SafeSolarStar (SSS) bscscan.com
- analysis PancakeSwap NoApproval scam, explained (CryptoT3ddyBear blog, 2021-04-08) cryptot3ddybear.gitlab.io
- analysis Sourcify match copy of 0xd5626e285793c2cb2a00a8f884abe167836a88e6 repo.sourcify.dev
- analysis De.Fi REKT database listing for SSS (Exit Scam/Honeypot, 2021-06-24, Binance) de.fi
Build your security review skills
Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.