AgentStack
SKILL verified MIT Self-run

Rug Check

skill-clawpump-agents-skills-rug-check · by Clawpump

Solana token safety diligence: mint/freeze authority, LP lock/burn, top-holder concentration, RugCheck score. Read-only — run before swapping into or launching alongside any token.

No reviews yet
0 installs
0 views
view→install

Install

$ agentstack add skill-clawpump-agents-skills-rug-check

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access Used
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Rug Check? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

rug-check — Solana Token Safety

Read-only safety diligence for any Solana token mint. Never signs anything. It pairs with the ClawPump MCP trade/launch tools (swap_execute, launch_token_gasless, …) as the pre-flight that decides whether a token is safe to touch.

Two independent sources, cross-checked:

  1. On-chain (authoritative): Solana JSON-RPC for mint/freeze authority and

real top-holder concentration — facts, not opinions.

  1. RugCheck (heuristic): a community risk score + flagged risks.

Helper: scripts/rugcheck.py. Endpoint reference: references/api-endpoints.md.

When to Use

  • Before any swap_execute into an unfamiliar token.
  • A user pastes a mint and asks "is this safe / is it a rug / can I ape this?"
  • Before launching or buying alongside an existing token.
  • Vetting a token a tracked wallet/whale just bought.

Quick Check (do this first)

python3 ~/.hermes/skills/crypto/rug-check/scripts/rugcheck.py check 

This prints a consolidated verdict: authority status, top-10 concentration, RugCheck score, and a CLEAN / CAUTION / RUGGABLE line with the reasons.

Key Concepts

  • Mint authority — if NOT revoked (non-null), the team can mint unlimited

new supply and dilute you. Revoked (null) is the safe state.

  • Freeze authority — if NOT revoked, the team can freeze your tokens so

you can't sell. Revoked (null) is safe.

  • LP locked vs burned — liquidity that's burned/locked can't be pulled

(the classic "rug"). Unlocked LP is a red flag.

  • Top-holder concentration — a few wallets holding most of the supply can

dump on everyone. >30% top-10 is elevated, >60% is dangerous. (Some large holders are locked LP / CEX / vesting — verify owners before concluding.)

  • RugCheck score — heuristic, not a guarantee. Use it as a signal, not a verdict.

Individual Commands

# RPC authority cross-check (mint can't be inflated / frozen?)
python3 scripts/rugcheck.py authority 

# Holder concentration from on-chain largest accounts
python3 scripts/rugcheck.py holders  --top 10

# RugCheck quick summary (+ risk flags) / full report
python3 scripts/rugcheck.py summary 
python3 scripts/rugcheck.py report  

Raw curl equivalents (no key needed) are in references/api-endpoints.md.

Presenting Results

Lead with the verdict line, then the evidence:

> ⚠️ CAUTION — mint authority is still ACTIVE (supply can be inflated) and > the top 10 wallets hold 41%. RugCheck score 1,800. > Mint/freeze: mint ACTIVE 🔴 / freeze revoked ✅. I'd size small or skip.

Always show percentages and the score band. Never auto-execute a trade off a "clean" result — confirm with the user (and follow the ClawPump confirmation rules) before any swap_execute / launch.

Rate Limits & Keys

  • RugCheck public endpoints are rate-limited (best-effort; brand-new tokens may

have no report yet — fall back to the on-chain authority/holder check).

  • Solana RPC: defaults to the public api.mainnet-beta.solana.com. For heavier

use, set SOLANA_RPC_URL or HELIUS_API_KEY (free at dev.helius.xyz) — the script picks them up automatically.

Pitfalls

  • A "clean" mint can still dump — LP unlocked, insider wallets, or social

manipulation aren't fully captured here. This is risk reduction, not a guarantee.

  • getTokenLargestAccounts returns token accounts; a big one may be locked

LP, a CEX, or a vesting contract — note that rather than calling it a whale.

  • RugCheck score is heuristic and can disagree with the on-chain facts — trust

the on-chain authority check over the score when they conflict.

  • This is not financial advice and never a reason to skip user confirmation.

Notes for Hermes

  • Use the terminal tool with python3/curl (not web_extract).
  • HELIUS_API_KEY / SOLANA_RPC_URL flow from ~/.hermes/.env automatically.
  • Read-only: this skill complements — never replaces — the ClawPump MCP

(mcp_clawpump_*) trade and launch tools.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.