bb-methodology
The "3rd eye" for pentesting — reminds agent to understand before assuming, validate before reporting.
Meme coin and token security audit — rug pull detection (honeypot, hidden mint, fee manipulation, LP lock bypass), Solana SPL token analysis (freeze authority, mint authority, metadata mutability), Token-2022 extension risks (transfer hooks, permanent delegate), DEX liquidity
Claude Code
$ npx -y skills add Gabson0x/bountyforge --skill meme-coin-audit --agent claude-code
Codex
$ npx skills add Gabson0x/bountyforge --skill meme-coin-audit -a codex -y
Cursor
$ npx skills add Gabson0x/bountyforge --skill meme-coin-audit -a cursor -y
Gemini CLI
$ npx skills add Gabson0x/bountyforge --skill meme-coin-audit -a gemini-cli -y
GitHub Copilot
$ npx skills add Gabson0x/bountyforge --skill meme-coin-audit -a github-copilot -y
OpenCode
$ npx skills add Gabson0x/bountyforge --skill meme-coin-audit -a opencode -y
Windsurf
$ npx skills add Gabson0x/bountyforge --skill meme-coin-audit -a windsurf -y
name: meme-coin-audit description: Meme coin and token security audit — rug pull detection (honeypot, hidden mint, fee manipulation, LP lock bypass), Solana SPL token analysis (freeze authority, mint authority, metadata mutability), Token-2022 extension risks (transfer hooks, permanent delegate), DEX liquidity pool attacks (sandwich amplification, LP drain, bonding curve exploits), pump.fun/Raydium/Jupiter integration risks, token_scanner.py automation, and real exploit examples from 2024-2025. Use for any token audit, rug pull assessment, meme coin security review, or pre-investment due diligence.
Fast-kill rug pull detection and deep token security analysis.
See also: [[Web3 Audit]], [[Smart Contract Audit]], [[Trust Map]], [[Methodology]]
---
Check these BEFORE reading a single line of code. If any are true, skip the audit — the token is likely a rug or not worth the time.
---
> **"Check ALL authorities and owner functions. The retained authority IS the rug vector."** > > Every rug pull requires a privileged operation: mint, blacklist, fee change, LP removal, or authority abuse. If you find the privilege, you found the bug.
---
> 35% of meme coin rugs. Deployer mints tokens post-launch, dumps on LP.
**Quick grep (EVM):**
grep -rn "function mint\|_mint(\|_balances\[.*\] +=" src/ --include="*.sol" | grep -v "test\|lib\|node_modules"
**Quick grep (Solana):**
grep -rn "MintTo\|mint_to\|mint_authority" src/ --include="*.rs" | grep -v "test\|target"
**Kill if:** MAX_SUPPLY enforced in every mint path, or mint function removed entirely.
> 25% of meme coin scams. Buy works, sell blocked.
**Quick grep:**
grep -rn "blacklist\|isBlacklisted\|_bots\|maxTxAmount\|approve.*override\|tradingEnabled" src/ --include="*.sol"
**Solana equivalent:**
grep -rn "freeze_authority\|transfer_hook\|TransferHook\|permanent_delegate" src/ --include="*.rs"
**Kill if:** No blacklist mapping, no transfer hooks, no freeze authority.
> 20% of rugs. Sell fee set to 99% after initial buys.
**Quick grep:**
grep -rn "setFee\|setSellFee\|_taxFee\|_sellFee" src/ --include="*.sol" grep -rn "function set.*Fee" -A5 src/ --include="*.sol" | grep -v "require\|MAX\|<="
**Kill if:** Fee setter has `require(fee <= MAX_FEE)` with MAX_FEE <= 10%.
> LP removal, migration, or manipulation to crash price.
**Quick grep:**
grep -rn "migrateLP\|emergencyWithdraw\|\.sync()\|setPair\|setRouter" src/ --include="*.sol"
**Kill if:** LP tokens burned to dead address, no migration function, no pair setter.
> Exploits in pump.fun-style bonding curves.
**Quick grep:**
grep -rn "virtualReserve\|setCurve\|graduate\|bonding_curve" src/ --include="*.sol" --include="*.rs"
**Kill if:** Curve parameters immutable, graduation permissionless.
> Retained mint/freeze/update authorities on Solana tokens.
**Quick grep:**
grep -rn "mint_authority\|freeze_authority\|update_authority\|close_authority" src/ --include="*.rs" grep -rn "set_authority.*None" src/ --include="*.rs" # Good sign: revocation
**Kill if:** All authorities = None, verified on-chain.
> Ownership appears renounced but backdoor control retained.
**Quick grep:**
grep -rn "renounceOwnership.*override\|_shadowAdmin\|_backupOwner\|selfdestruct" src/ --include="*.sol"
**Kill if:** renounceOwnership NOT overridden, no second admin role, no selfdestruct.
> Contract makes holders maximally sandwichable.
**Quick grep:**
grep -rn "swapExactTokensForETH" -A5 src/ --include="*.sol" | grep "0," grep -rn "swapThreshold\|_rebase\|mandatoryPool" src/ --include="*.sol"
**Kill if:** Auto-swap has proper slippage, no rebase mechanics.
---
Run the token scanner tool for fast red flag detection:
# EVM token python3 tools/token_scanner.py contracts/Token.sol # Solana program python3 tools/token_scanner.py programs/token/ --chain solana --recursive # Full directory scan with report python3 tools/token_scanner.py src/ --recursive --output findings/token-report.md
The scanner checks all 8 bug classes via regex patterns. It catches:
**Scanner does NOT check:**
---
All-round bug bounty skill for Claude Code — parallelized agents for smart contract audits (EVM, Move, Solana, TRON), web/API security, local tooling orchestration, and submission-ready reports for HackerOne, Bugcrowd, Intigriti & Immunefi.
The "3rd eye" for pentesting — reminds agent to understand before assuming, validate before reporting.
Complete bug bounty workflow — recon (subdomain enumeration, asset discovery, fingerprinting, HackerOne scope, source code…
Analyze EVM smart contracts for storage-safety vulnerabilities that can cause persistent state updates to be lost, overwritten,…
Generate Echidna/Medusa-compatible Solidity fuzz suites from Foundry or Hardhat projects. Trigger on "fizz", "generate fuzz…
Convert English-language properties in PROPERTIES.md (produced by the Fizz skill) into Solidity assertions inside the existing…
Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys)…
Clean and finalize authorized natural-language text intended for readers by auditing suspicious invisible Unicode and rewriting…