Dev.to Security 🔐 Cybersecurity 👁 0 📖 3 min read

Can a Token Creator Freeze My Tokens? If Freeze Authority Is Set

Yes, a token creator can freeze your Solana token account after you buy when they control the mint’s freeze authority; if that field reads none, they cannot freeze your account. Before buying, use rugcheck to see the min

Yes, a token creator can freeze your Solana token account after you buy when they control the mint’s freeze authority; if that field reads none, they cannot freeze your account. Before buying, use rugcheck to see the mint’s freeze authority, because that field tells you whether someone can sign a freeze. Only the current freeze authority can sign the required FreezeAccount instruction.

FreezeAccount changes your token account to frozen. Transfers then fail until the freeze authority signs ThawAccount to restore it. Your tokens stay in the account, and your wallet can still show the balance. Selling through a swap requires a transfer, so you cannot sell from a frozen account. The restriction applies to that token account, not your entire wallet.

Say you buy a new token through a swap. The creator kept freeze authority and freezes your token account after the purchase. Your wallet shows the tokens, and the price chart keeps moving as other accounts trade, but your sell fails when it tries to move your balance. This is one way a honeypot traps buyers: purchases work, while selected buyers cannot exit. Changing swap screens cannot make the frozen account transfer.

A set freeze authority is an active power, not a prediction of how its holder will behave. The authority may be the creator’s address or another holder. While the role remains set, its holder can transfer it to another address, so read the current field value. When the mint’s freeze authority is none, that permission has been permanently removed and cannot be reassigned.

How To Check Before Buying

Read the token’s mint address from the swap, then inspect that exact mint on Solscan or in a rugcheck, a review of token warning signs. Tickers and logos can be copied; the mint address identifies the token you are buying. Find the freeze authority field. An address means someone still holds the role; none means it has been revoked.

Use these checks together:

  • Freeze authority: A set address can authorize FreezeAccount for accounts of that mint; none cannot.
  • Token program: Identify whether the mint uses Token-2022, which supports additional controls.
  • Extension list: Look for PermanentDelegate before treating the freeze field as your whole answer.

Token-2022’s PermanentDelegate extension gives its holder a separate power to transfer or burn tokens from any account for that mint without the account owner’s signature. Picture a mint with freeze authority set to none and PermanentDelegate enabled. Its revoked freeze role cannot be used to freeze your account, but the delegate can still move your tokens or burn your balance. A burn destroys the tokens rather than merely blocking a sale. Read the extension list, identify the delegate holder, and decide whether you accept that power. You cannot revoke a mint’s permanent delegate from your own token account.

Some regulated stablecoins retain freeze authority deliberately for compliance actions affecting particular accounts. The same on-chain power can also trap buyers. I would avoid an unfamiliar speculative token whose issuer can freeze holders, because your ability to sell could depend on the issuer’s choice. With a regulated stablecoin, accepting that control may be part of accepting its terms.

Related

How do I tell if my token account is frozen?

A frozen token account shows a frozen state in its account details on a Solana explorer such as Solscan. Open your token account for that mint, rather than looking only at the mint’s authority field. The balance can still appear in your wallet while transfers fail. A failed swap by itself has other possible causes; the account state answers the freeze question.

Can a frozen token account be unfrozen?

A frozen token account can be unfrozen when the mint’s current freeze authority signs ThawAccount for it. Transfers can resume after the thaw. Your wallet signature alone cannot thaw it. If the freeze authority is later set to none while your account is frozen, no authority remains to sign ThawAccount.

Before buying, remember:

  • A set freeze authority can stop your sale; none permanently removes that power.
  • A visible balance can belong to a frozen account.
  • For Token-2022 mints, inspect PermanentDelegate as well as freeze authority.
📰 Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.