Cassiopeia Honeypot

Reported loss Not disclosed
BNB Chain
Honeypot

What happened

Cassiopeia (CASS) is a BEP-20 token on BNB Chain whose _approve function only records an allowance when the approving address is the hard-coded deployer 0xD24Ca0a7…86A54d; for every other holder it stores an allowance of 0. Buying works because the pool sends tokens with transfer, but a standard PancakeSwap sale needs the router to pull tokens with transferFrom, which then fails the allowance check and reverts. This block is written into the code rather than switched on later, so it applies from deployment and cannot be turned off, even by transferring ownership.

The owner can also mint unlimited tokens to itself. De.Fi's REKT database lists the token as an exit scam/honeypot.

How it happened

  1. The constructor credits the whole supply of 2,348,735,000 CASS (3 decimals) to the deployer.
  2. Buyers receive tokens from the PancakeSwap pair through transfer, which only checks balances.
  3. To sell, a holder calls approve for the router, but _approve runs if (owner == address(0xD24Ca0a721Ed037C8a38609362f064B5c886A54d)) { _allowances[owner][spender] = amount; ... } else { _allowances[owner][spender] = 0; emit Approval(owner, spender, 0); }, so the stored allowance stays zero. increaseAllowance goes through the same function.
  4. The router's transferFrom then runs _allowances[sender][_msgSender()].sub(amount, "BEP20: transfer amount exceeds allowance"), which reverts for any non-zero amount, so the sale fails.
  5. Only the hard-coded deployer address can approve the router and sell. Separately, mint(uint256 amount) lets the owner add any amount to its own balance.

Protocol details

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

Build your security review skills

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