audit-changes
Audit only the git diff vs main (or specified base). Optimized for PR review.
Fast owner-power / rugability scan — score how much unilateral control the deployer holds and return a 0-100 rug-risk verdict.
> /plugin marketplace add omermaksutii/RugProof > /plugin install rugproof@rugproof
How it fires
How this command gets triggered: by you, by Claude, or both.
/rug-checkContext preview
What this command does when you run it.
Fast owner-power / rugability scan — score how much unilateral control the deployer holds and return a 0-100 rug-risk verdict.
description: Fast owner-power / rugability scan — score how much unilateral control the deployer holds and return a 0-100 rug-risk verdict. argument-hint: "[file-or-address] [--chain <c>]" allowed-tools: Read, Grep, Glob, Bash, Agent, Skill, mcp__token-metadata__*
A quick, high-signal scan for the one question every holder actually cares about: how much power does the deployer have, and can they drain, mint, freeze, or trap funds at will? Returns a single rugability score and an itemized owner-powers checklist.
`$ARGUMENTS` may be a local source file/dir or a deployed address with `--chain`. For a deployed token, pull live safety metadata first:
mcp__token-metadata__check_safety(chain=<c>, address=<address>)
This returns honeypot flags, tax/fee hooks, holder concentration, and LP-lock status to fold into the score.
Dispatch the `economic-rug-specialist` agent over the source. It hunts for unilateral owner powers and reads the relevant skills ([[centralization-risk]], [[access-control]]).
Grep + reason over each power. Each present power adds weight to the score:
grep -nE 'onlyOwner|onlyRole|_owner|hasRole' src/**/*.sol
Sum weights, cap at 100. Map to a verdict:
Rug check: 0xToken… (base)
Rugability score: 78 / 100 → HIGH RUG RISK
Owner powers:
✗ drain pooled funds owner can call sweep(address,uint256) on any token (+25)
✗ unlimited mint mint(to,amt) is onlyOwner, no maxSupply (+20)
✗ upgradeable, no timelock UUPS admin is an EOA (0xEOA…), 0s delay (+20)
✓ pause no pause function
✗ fee change setTaxBps() uncapped — owner can set to 99% (+13)
✓ blacklist none
✓ hidden owner single visible owner, no shadow admin
Token metadata: LP not locked, top holder 41% supply, sell-tax hook present.
Verdict: HIGH RUG RISK — owner can mint, drain, and instantly upgrade. Do not LP.Rugproof your code before someone else does. 🌐 Live site: omermaksutii.github.io/RugProof 📦 Latest: v1.0.0 — 45 commands · 23 agents · 45 skills · 13 MCP servers · tested, offline-first, with rule packs, a benchmark, non-EVM coverage, and post-deploy
Repo: omermaksutii/RugProof
Audit only the git diff vs main (or specified base). Optimized for PR review.
Deep audit — same as /audit but spawns more parallel subagents, runs multi-pass review, and chases exploit chains across files.
Audit third-party dependencies — resolve installed versions, cross-reference known-vulnerable releases, and flag vendored code that has diverged from upstream.
Diff two Rugproof audit reports (before vs after) to track regressions — what's new, what's fixed, and whether the grade moved.
Pull past public audits (Code4rena, Sherlock, Spearbit, etc.) for a deployed contract or known protocol.
Audit a deployed contract on a live chain. Pulls verified source from the block explorer, optionally forks the chain for live-state simulation.