LESSON 8 OF 10·Advanced9 min

Rug & Honeypot Detection: The 90-Second Safety Check

The fastest way to grow a wallet is to stop feeding rugs. A concrete on-chain checklist for Solana tokens — mint/freeze authority, liquidity status, holder concentration, sellability, and dev history.

Everyone chases the next 100×. The traders who actually keep their gains obsess over the opposite skill: never holding the rug. Here is a concrete, on-chain checklist you can run in about 90 seconds — or automate into a pre-buy gate that never lets you fat-finger a honeypot.

1. Authority checks (10 seconds, non-negotiable)

Read the SPL mint account. Two fields decide whether the rules can be changed on you:

  • Mint authority must be null — otherwise the team can print unlimited new supply and dilute you to zero.
  • Freeze authority must be null — otherwise they can freeze your token account so you can never sell (a classic honeypot).
READ AUTHORITIES
import { getMint } from "@solana/spl-token";
const m = await getMint(conn, new PublicKey(mint));
const safe = m.mintAuthority === null && m.freezeAuthority === null;
Standard Pump.fun tokens ship with both authorities disabled and a fixed 1B supply — good. The danger zone is custom SPL / Token-2022 tokens where these are still live, or where Token-2022 transfer-fee or transfer-hook extensions can tax or block your sell.

2. Liquidity (post-migration)

  • Is there real liquidity in the pool, and is the LP burned or locked? Unlocked LP the dev can pull is the textbook rug.
  • Check pool reserves vs. market cap — thin liquidity under a big “market cap” means the cap is a curve artifact you can’t actually exit at.

3. Holder concentration

CheckRed flag
Top-10 holders %> 40–50% of non-pool supply concentrated
Dev wallet %Dev still holds a large, unlocked slice
Bundle %First-block cluster owns heavy supply (see forensics lesson)
Fresh-wallet ratioMost holders funded minutes before launch by one source

4. Sellability / honeypot simulation

The definitive test: can the token actually be sold? Simulate a sell (a quote + a simulateTransaction) and look for reverts, absurd transfer taxes, or hooks that block the transfer. If a buy succeeds but a simulated sell fails, it’s a honeypot — walk away regardless of how the chart looks.

5. Dev history (the tell most people skip)

Read the creator off the bonding curve (see the on-chain reading lesson), then look at that wallet’s past deployments. A wallet with ten prior tokens that all went to zero within hours is a serial rugger — the pattern is public and permanent.

The gate, in one place

#CheckPass condition
1Mint authoritynull
2Freeze authoritynull
3Token-2022 extensionsno transfer fee / hook / blacklist
4LPburned or time-locked
5Top-10 concentrationreasonable, dev slice locked
6Bundle %below your threshold
7Sell simulationsucceeds
8Dev historyno serial-rug pattern
Automate this as a function that returns a single boolean before any buy fires. The best traders don’t “check vibes” — they let a script veto the trade in milliseconds.

FAQ

Does passing every check mean it's safe?
It means it can't rug you in the obvious mechanical ways. It says nothing about whether the team will sell their bag or the narrative will die. Safety checks remove tail risk; they don't guarantee a trade.
Do Pump.fun tokens even need the authority check?
Standard ones pass it by default, but not everything with a chart is a standard mint. The check costs one RPC call — always run it; the exceptions are exactly where you get caught.
What's a transfer hook?
A Token-2022 extension that runs custom program logic on every transfer. Legitimate uses exist, but it can also be used to block or tax sells — which is why it belongs on the honeypot checklist.