v4.0.0 — Meme Coin Security Module
Meme Coin Security Module
New /token-scan command and full meme coin rug pull detection for EVM and Solana tokens.
New Files (8)
| Component | What It Does |
|---|---|
skills/meme-coin-audit/SKILL.md |
New skill — rug pull detection, token authority checks, bonding curve exploits |
tools/token_scanner.py |
Automated red flag scanner — hidden mint, honeypot, fee traps, LP drain, fake renounce |
agents/token-auditor.md |
Fast token audit agent (8-class protocol) |
commands/token-scan.md |
/token-scan <contract> — instant rug pull analysis |
web3/10-meme-coin-bugs.md |
8 meme coin bug classes with real exploit examples |
web3/11-solana-token-audit.md |
Solana-specific: SPL authorities, Token-2022, pump.fun, Raydium, Jupiter, PDA patterns |
web3/12-dex-lp-attacks.md |
DEX/LP attacks: sandwich, pool sniping, CL position manipulation |
tests/test_token_scanner.py |
39 tests for the token scanner |
8 Bug Classes Covered
- Hidden Mint / Unlimited Supply — deployer mints post-launch, dumps on LP
- Honeypot / Transfer Restriction — buy works, sell blocked (blacklists, max tx, approve override)
- Fee Manipulation — sell fee set to 99% after initial buys
- Liquidity Pool Drain — LP removal, migration, sync manipulation
- Bonding Curve Manipulation — pump.fun graduation exploits, virtual reserve inflation
- Authority Retention (Solana) — retained mint/freeze/update authorities, Token-2022 extensions
- Fake Renounce / Hidden Ownership — ownership appears renounced but backdoor control retained
- Sandwich Amplification by Design — zero slippage auto-swaps, rebase on transfer
Solana Coverage
- SPL Token authority checklist (mint, freeze, update, close)
- Token-2022 extension risk matrix (transfer hooks, permanent delegate, transfer fees)
- pump.fun bonding curve analysis (graduation sniping, bundled buys, fee extraction)
- Raydium LP pool vulnerabilities (burn vs lock, skewed ratios)
- Jupiter routing exploits (fake pool injection, price oracle manipulation)
- PDA authority patterns (hidden control via upgradeable programs)
- Anchor program vulnerabilities (missing signer/owner checks, unchecked arithmetic)
Grep Arsenal Expansion
3 new grep blocks added to web3/03-grep-arsenal.md:
- Block 11 — Token Rug Pull Detection (EVM)
- Block 12 — Solana Token Authorities
- Block 13 — DEX / LP Manipulation
Quick Start
# Scan an EVM token contract
python3 tools/token_scanner.py contracts/Token.sol
# Scan a Solana program
python3 tools/token_scanner.py programs/token/ --chain solana --recursive
# Full directory scan with markdown report
python3 tools/token_scanner.py src/ --recursive --output findings/token-report.mdStats
- 3,832 lines added across 11 files
- 39 new tests, 250 total passing
- 9 skills, 14 commands, 8 agents

Powered by AwareXone.com — Your AI Agent Against Scams & Fraud