audit-changes
Audit only the git diff vs main (or specified base). Optimized for PR review.
Diff the on-chain configuration of one contract deployed across multiple chains — owner, oracle, fees, timelock, pause state, proxy impl — and flag the chain that drifted.
> /plugin marketplace add omermaksutii/RugProof > /plugin install rugproof@rugproof
How it fires
How this command gets triggered: by you, by Claude, or both.
/audit-multi-chainContext preview
What this command does when you run it.
Diff the on-chain configuration of one contract deployed across multiple chains — owner, oracle, fees, timelock, pause state, proxy impl — and flag the chain that drifted.
description: Diff the on-chain configuration of one contract deployed across multiple chains — owner, oracle, fees, timelock, pause state, proxy impl — and flag the chain that drifted. argument-hint: "<address> <chain1,chain2,...>" allowed-tools: Read, Bash, Agent, mcp__block-explorer__*, mcp__anvil__*
Protocols deploy the same contract to Ethereum, Arbitrum, Base, Optimism… and one chain ends up with the wrong oracle, a forgotten EOA owner, or a paused-forever flag. Configuration drift across chains is a classic, high-severity bug class. This command forks each chain and diffs the live config side by side.
`$ARGUMENTS` is `<address> <chain1,chain2,...>`. Split the chain list on commas. Validate each chain has an RPC / explorer entry available.
For each chain, fetch verified source and read the live state:
mcp__block-explorer__get_source(chain=<chain>, address=<address>) mcp__anvil__fork(chain=<chain>, address=<address>)
Then read each governance-relevant parameter from the forked state (via `anvil` `eth_call`):
Build a parameter × chain matrix. For each parameter, compute the modal (most common) value across chains and flag any chain that deviates. An EOA owner where other chains use a multisig, or a stale oracle, is a drift finding. Dispatch a `defender` review on each flagged divergence to judge whether it is intentional or a misconfiguration.
Multi-chain config drift: 0xVault... across [ethereum, arbitrum, base] Parameter ethereum arbitrum base Drift ───────────────────────────────────────────────────────────────────────────────── owner 0xSafe…ab (multisig) 0xSafe…ab 0xEOA…f9 (EOA) ⚠ base oracle 0xChainlink…01 0xChainlink…01 0xChainlink…01 ✓ feeBps 30 30 50 ⚠ base timelock delay 172800 172800 0 ⚠ base paused false false true ⚠ base impl (proxy) 0xImplV2… 0xImplV2… 0xImplV1… ⚠ base (stale) Verdict: HIGH RISK — base is misconfigured on 5/6 parameters. • owner is an EOA, not the multisig used elsewhere → single-key rug surface • timelock delay 0 → admin changes are instant • impl is V1 while other chains run V2 → unpatched bug may be live on base
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.