PegasusCoin Honeypot
What happened
De.Fi's REKT database lists PegasusCoin (PEGASUS) on BNB Smart Chain as an exit scam / honeypot. In the verified source, the owner can mark any address as a PanCakeSwapReciever, and _transfer then reverts every transfer whose recipient is marked with "Error: Can not sell this token". Because the revert undoes the whole transfer, a holder's tokens stay in their wallet but cannot be sent to a marked address, such as a pair that has been flagged.
The owner can also hand ownership over or renounce it.
How it happened
- The owner calls
setPanCakeSwapReciever(address _recipient, bool _feeless), which isonlyOwnerand setsPanCakeSwapReciever[_recipient] = _feelessfor any non-zero address. The code allows this at any time. - Every
transferandtransferFromgoes through_transfer, which debits the sender with_balances[sender] = _balances[sender].sub(amount, ...)and then callscalculateFeesBeforeSend(sender, recipient, amount). calculateFeesBeforeSendrunsif(PanCakeSwapReciever[recipient]){ revert("Error: Can not sell this token"); }. The revert rolls back the debit in step 2, so the sender keeps their balance and the transfer fails.- Only the recipient is checked. A marked address cannot receive tokens from anyone, while transfers from it, such as a buy that pays out of a pair, are not blocked by this check.
- For all other recipients the function returns
(amount, 0): no fee is taken and the full amount arrives. ThetxFeeandfeeDistributorvalues are not used by the transfer path. - The supply is minted once, in the constructor:
_transferTO(msg.sender, 525e18). There is no public mint. The owner can end the powers in step 1 only by callingrenounceOwnership(); the on-chainowner()read on 2026-09-30 is still the deployer 0xcf78df67…834663. - What the code allows is separate from what happened: De.Fi's REKT database lists the token as a honeypot, but no transaction showing a
setPanCakeSwapRecievercall, or which address was marked, was opened.
Protocol details
Build your security review skills
Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.